當前位置: 首頁>>代碼示例>>C#>>正文


C# Forms.ToolStripDropDownClosedEventArgs類代碼示例

本文整理匯總了C#中System.Windows.Forms.ToolStripDropDownClosedEventArgs的典型用法代碼示例。如果您正苦於以下問題:C# ToolStripDropDownClosedEventArgs類的具體用法?C# ToolStripDropDownClosedEventArgs怎麽用?C# ToolStripDropDownClosedEventArgs使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。


ToolStripDropDownClosedEventArgs類屬於System.Windows.Forms命名空間,在下文中一共展示了ToolStripDropDownClosedEventArgs類的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的C#代碼示例。

示例1: menu_Closed

 private void menu_Closed(object sender, ToolStripDropDownClosedEventArgs e)
 {
     if (this.WindowState != FormWindowState.Minimized)
     {
         topmost.Enabled = true;
     }
 }
開發者ID:tailnode,項目名稱:chaos,代碼行數:7,代碼來源:ParentForm.cs

示例2: popup_Closed

 private void popup_Closed(object sender, ToolStripDropDownClosedEventArgs e)
 {
     if (!textBox.Visible)
     {
         borderLabel.Image = searchProviders.ProviderImage;
     }
     borderLabel.Text = searchProviders.ProviderName;
 }
開發者ID:GUrbiola,項目名稱:Ez_SQL,代碼行數:8,代碼來源:SearchControl.cs

示例3: mnuContext_Closed

 private void mnuContext_Closed(object sender, ToolStripDropDownClosedEventArgs e)
 {
     mnuContext.Items.ClearAndDispose(
         mnuContext.Items.IndexOf(mnuContextCallees) + 1,
         mnuContext.Items.IndexOf(mnuContextCallers) - 1);
     mnuContext.Items.ClearAndDispose(
         mnuContext.Items.IndexOf(mnuContextCallers) + 1,
         mnuContext.Items.Count);
 }
開發者ID:meloscheng,項目名稱:dos-debugger,代碼行數:9,代碼來源:ProcedureWindow.cs

示例4: contextMenuMain_Closed

        /// <summary>
        /// Context menu has just closed.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void contextMenuMain_Closed(object sender, ToolStripDropDownClosedEventArgs e)
        {
            // Get the various modes we are in, and change them as necessary for the length of
            // time the menu is opened.

            if (fWasInSlideshowModeWhenMenuOpened)
            {
                fWasInSlideshowModeWhenMenuOpened = false;
                ourSlideshow.Start();
            }
        }
開發者ID:joethegitter,項目名稱:ScotSoft,代碼行數:16,代碼來源:Input.cs

示例5: contextMenu_Closed

 void contextMenu_Closed(object sender, ToolStripDropDownClosedEventArgs e)
 {
     if (selectedToolStripMenuItem.Tag == null)
         gridContainer.ClearSelected();
 }
開發者ID:Healix,項目名稱:Gw2Launcher,代碼行數:5,代碼來源:formMain.cs

示例6: quickTextClosed

 private void quickTextClosed(object sender, ToolStripDropDownClosedEventArgs e)
 {
     textbox.ImeMode = ImeMode.NoControl;
 }
開發者ID:noodlefighter,項目名稱:LabelPlus,代碼行數:4,代碼來源:WorkspaceControlAdpter.cs

示例7: mnuApplication_Closed

 private void mnuApplication_Closed(object sender, ToolStripDropDownClosedEventArgs e)
 {
     ApplicationMenuHover = false;
     ApplicationMenuActive = false;
     lblApplicationMenu.ForeColor = Color.White;
     lblApplicationMenu.Invalidate();
 }
開發者ID:Crystark,項目名稱:EKUnleashed,代碼行數:7,代碼來源:frmMain.cs

示例8: dropDownButtons_DropDown_Closed

 private void dropDownButtons_DropDown_Closed(object sender, ToolStripDropDownClosedEventArgs e) {
     DropDownMenuBase.ExitMenuMode();
 }
開發者ID:KnowNo,項目名稱:test-code-backup,代碼行數:3,代碼來源:QTButtonBar.cs

示例9: unavailableMenu_Closed

 private void unavailableMenu_Closed(object sender, ToolStripDropDownClosedEventArgs e)
 {
     timetableControl1.ClearActive();
 }
開發者ID:Jaren14,項目名稱:unitimetable,代碼行數:4,代碼來源:FormMain.cs

示例10: _trayIconContextMenuStrip_Closed

 private void _trayIconContextMenuStrip_Closed(object sender, ToolStripDropDownClosedEventArgs e)
 {
     // Restore the items back to the main menu when closing
     ToolStripItem[] items = new ToolStripItem[_trayIconContextMenuStrip.Items.Count];
     _trayIconContextMenuStrip.Items.CopyTo(items, 0);
     fileToolStripMenuItem.DropDownItems.AddRange(items);
     _trayIconContextMenuStrip.Items.Clear();
     _trayIconContextMenuStrip.Items.Add(new ToolStripSeparator());  // Dummy item so menu is shown the next time
     minimizeToTrayToolStripMenuItem.Checked = false;
     minimizeToTrayToolStripMenuItem.Font = new Font(minimizeToTrayToolStripMenuItem.Font, FontStyle.Regular);
 }
開發者ID:efvb,項目名稱:snaketail-net,代碼行數:11,代碼來源:MainForm.cs

示例11: dropDown_Closed

		/// ------------------------------------------------------------------------------------
		/// <summary>
		/// Handles the Closed event of the m_dropDown control.
		/// </summary>
		/// <param name="sender">The source of the event.</param>
		/// <param name="e">The <see cref="T:System.Windows.Forms.ToolStripDropDownClosedEventArgs"/>
		/// instance containing the event data.</param>
		/// ------------------------------------------------------------------------------------
		private void dropDown_Closed(object sender, ToolStripDropDownClosedEventArgs e)
		{
			// we have to set a variable so that we know that user clicked on drop down button
			// or in text box to close the drop down.
			m_fDropDownClickedClose = ClientRectangle.Contains(PointToClient(MousePosition));
			m_dropDown = null;
		}
開發者ID:bbriggs,項目名稱:FieldWorks,代碼行數:15,代碼來源:FwColorCombo.cs

示例12: dropDown_Closed

 private void dropDown_Closed(object sender, ToolStripDropDownClosedEventArgs e)
 {
     dropDownHideTime = DateTime.Now;
 }
開發者ID:ckolumbus,項目名稱:ptm,代碼行數:4,代碼來源:PopupComboBox.cs

示例13: m_commentToolTip_Closed

		/// ------------------------------------------------------------------------------------
		/// <summary>
		/// Handles the Closed event of the m_commentToolTip control.
		/// </summary>
		/// <param name="sender">The source of the event.</param>
		/// <param name="e">The <see cref="T:System.Windows.Forms.ToolStripDropDownClosedEventArgs"/>
		/// instance containing the event data.</param>
		/// ------------------------------------------------------------------------------------
		private void m_commentToolTip_Closed(object sender, ToolStripDropDownClosedEventArgs e)
		{
			m_toolTipCell = null;
		}
開發者ID:sillsdev,項目名稱:FieldWorks,代碼行數:12,代碼來源:EditorialChecksRenderingsControl.cs

示例14: OnClosed

 protected override void OnClosed(ToolStripDropDownClosedEventArgs e)
 {
     fOnceKeyDown = false;
     ResetImageKeys();
     base.OnClosed(e);
 }
開發者ID:Nicologies,項目名稱:QTTabBar,代碼行數:6,代碼來源:DropDownMenuBase.cs

示例15: contextMenu_Closed

		private void contextMenu_Closed(object sender, ToolStripDropDownClosedEventArgs e)
		{
			this.ParentGrid.Focus();
		}
開發者ID:ChrisLakeZA,項目名稱:duality,代碼行數:4,代碼來源:ComponentPropertyEditor.cs


注:本文中的System.Windows.Forms.ToolStripDropDownClosedEventArgs類示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。