/// <summary> /// 构造函数 /// </summary> /// <param name="form_inputHook"></param> public Controls_Eval(Form_inputHook form_inputHook) { this.win = form_inputHook; //软件下拉列表被选中时 win.comboBox_software_list.SelectionChangeCommitted += new EventHandler(ComboBox_software_list_SelectionChangeCommitted); win.textBox_input_hotKey1.KeyUp += new KeyEventHandler(Capture_Input_HotKey); win.textBox_input_hotKey2.KeyUp += new KeyEventHandler(Capture_Input_HotKey); //点击删除项的时候 win.v_lmh.contextMenuStrip.Items[0].Click += new EventHandler(Click_Delete_HotKey_item); //修改标题匹配规则 win.textBox_titleName_regular.TextChanged += new EventHandler(TextBox_titleName_regular_TextChanged); win.textBox_title_regular_valve.TextChanged += new EventHandler(TextBox_title_regular_valve_TextChanged); win.numericUpDown_title_group.ValueChanged += new EventHandler(NumericUpDown_title_group_ValueChanged); //修改标题类名规则 win.textBox_className_regular.TextChanged += new EventHandler(TextBox_className_regular_TextChanged); win.textBox_class_regular_valve.TextChanged += new EventHandler(TextBox_class_regular_valve_TextChanged); win.numericUpDown_class_group.ValueChanged += new EventHandler(NumericUpDown_class_group_ValueChanged); //鼠标辅助键 win.textBox_mouse_last1.KeyUp += new KeyEventHandler(Capture_Input_HotKey); win.textBox_mouse_last2.KeyUp += new KeyEventHandler(Capture_Input_HotKey); win.textBox_mouse_last1.TextChanged += new EventHandler(TextBox_mouse_last1_TextChanged); win.textBox_mouse_last2.TextChanged += new EventHandler(TextBox_mouse_last2_TextChanged); //鼠标辅助键 win.textBox_mouse_next1.KeyUp += new KeyEventHandler(Capture_Input_HotKey); win.textBox_mouse_next2.KeyUp += new KeyEventHandler(Capture_Input_HotKey); win.textBox_mouse_next1.TextChanged += new EventHandler(TextBox_mouse_next1_TextChanged); win.textBox_mouse_next2.TextChanged += new EventHandler(TextBox_mouse_next2_TextChanged); //重命名 win.textBox_software_name.TextChanged += new EventHandler(TextBox_software_name_TextChanged); }
public Init_Conrols(Form_inputHook form_inputHook) { this.win = form_inputHook; }
public Button_Function(Form_inputHook _this) { this.win = _this; }