1 private void 新建NToolStripMenuItem_Click(object sender, EventArgs e)
2         {
3             //响应“新建”菜单单击事件
4             MessageBox.Show(this, "您选择了新建菜单", "信息提示",
5                 MessageBoxButtons.OK, MessageBoxIcon.Information);
6         }

实例3 如何使用菜单控件

转载于:https://www.cnblogs.com/Beyron/archive/2013/03/02/2940452.html

相关文章:

  • 2021-04-12
  • 2021-07-10
  • 2022-12-23
  • 2022-12-23
  • 2022-02-09
  • 2021-12-08
  • 2022-12-23
  • 2021-07-01
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2018-03-09
  • 2022-01-06
  • 2021-12-29
  • 2021-06-01
  • 2022-12-23
相关资源
相似解决方案