Exemplo n.º 1
0
 private void 基本设置ToolStripMenuItem_Click(object sender, EventArgs e)
 {
     Setting set = new Setting();
     // SignAndSetInput set = new SignAndSetInput(Sign, InputMethod, flagVersion); //注册form2_MyEvent方法的MyEvent事件
     //set.MyEventSign += new MyDelegateSign(set_MyEventSign);
     set.EventKeys += new delegateHotKey(set_EventKeys);
     set.EventSend += new delegateSendStyle(set_eventSend);
     set.EventBool += new deleBool(set_eventBool);
     Win32API.UnregisterHotKey(base.Handle, 100);
     Win32API.UnregisterHotKey(base.Handle, 99);
     set.Show();
 }
Exemplo n.º 2
0
 private void toolStripMenuItem4_Click(object sender, EventArgs e)
 {
     Setting fd = new Setting();
     fd.Show();
 }