示例#1
0
 public VirtualInputRuntimeMenu(VirtualInputRuntimeDialog dialog)
 {
     Dialog = dialog;
     (EditMenu = new ToolStripMenuItem(Language.Language.Program_Edit_Button)).Click += EditMenu_Click;
     (AddMenu = new ToolStripMenuItem(Language.Language.Program_Add_Button)).Click   += AddMenu_Click;
     _menus = new ToolStripItem[] { AddMenu, EditMenu };
 }
示例#2
0
 public VirtualInputRuntime()
 {
     Dialog = new VirtualInputRuntimeDialog();
     Menu   = new VirtualInputRuntimeMenu((VirtualInputRuntimeDialog)Dialog);
 }