• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

C# Forms.ToolStripDropDownClosedEventArgs类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了C#中System.Windows.Forms.ToolStripDropDownClosedEventArgs的典型用法代码示例。如果您正苦于以下问题:C# ToolStripDropDownClosedEventArgs类的具体用法?C# ToolStripDropDownClosedEventArgs怎么用?C# ToolStripDropDownClosedEventArgs使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。



ToolStripDropDownClosedEventArgs类属于System.Windows.Forms命名空间,在下文中一共展示了ToolStripDropDownClosedEventArgs类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的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


示例16: DropDown_Closed

 private void DropDown_Closed(object sender, ToolStripDropDownClosedEventArgs e) {
     OnDropDownClosed(EventArgs.Empty);
 }
开发者ID:JianwenSun,项目名称:cc,代码行数:3,代码来源:ToolStripDropDownItem.cs


示例17: m_DropDown_Closed

 void m_DropDown_Closed(object sender, ToolStripDropDownClosedEventArgs e)
 {
     //Set the focus back to us
     this.Focus();
     Invalidate();
 }
开发者ID:CharlesZHENG,项目名称:csexwb2,代码行数:6,代码来源:HtmlColorSelectorComboBox.cs


示例18: ux_contextmenustripDGVCell_Closed

 private void ux_contextmenustripDGVCell_Closed(object sender, ToolStripDropDownClosedEventArgs e)
 {
     RefreshMainDGVFormatting();
 }
开发者ID:egacheru,项目名称:G2,代码行数:4,代码来源:DataViewer.cs


示例19: conStrip_Closed

    private void conStrip_Closed(object sender, ToolStripDropDownClosedEventArgs e)
    {
      try
      {
        var items = gridSelected.SelectedRows.OfType<DataGridViewRow>().Select(r => (ItemReference)r.DataBoundItem).ToList();

        if (items.Any())
        {
          var selectedLevelItem = mniLevels.DropDownItems.OfType<ToolStripMenuItem>().Where(m => m.Checked).FirstOrDefault();
          if (selectedLevelItem != null)
          {
            var level = mniLevels.DropDownItems.IndexOf(selectedLevelItem);
            foreach (var item in items) item.Levels = level;
          }

          var sysProps = (mniHistory.Checked ? SystemPropertyGroup.History : 0)
            | (mniPermissions.Checked ? SystemPropertyGroup.Permission : 0)
            | (mniState.Checked ? SystemPropertyGroup.State : 0)
            | (mniVersion.Checked ? SystemPropertyGroup.Versioning : 0);

          foreach (var item in items) item.SystemProps = sysProps;
        }
      }
      catch (Exception ex)
      {
        Utils.HandleError(ex);
      }
    }
开发者ID:rneuber1,项目名称:InnovatorAdmin,代码行数:28,代码来源:ExportSelect.cs


示例20: m_taggingContextMenu_Closed

		void m_taggingContextMenu_Closed(object sender, ToolStripDropDownClosedEventArgs e)
		{
			m_ticksWhenContextMenuClosed = DateTime.Now.Ticks;
		}
开发者ID:sillsdev,项目名称:WorldPad,代码行数:4,代码来源:InterlinTaggingChild.cs



注:本文中的System.Windows.Forms.ToolStripDropDownClosedEventArgs类示例由纯净天空整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
C# Forms.ToolStripDropDownClosingEventArgs类代码示例发布时间:2022-05-26
下一篇:
C# Forms.ToolStripDropDownButton类代码示例发布时间:2022-05-26
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap