当前位置: 首页>>代码示例>>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;未经允许,请勿转载。