public void RemoveEventAction(EventAction ea) { event_actions.Remove (ea); Initial.ui.PopulateTreeView (); }
void EventReceived(string sender, string source, string name, int raw) { inputmanager.InputEvent -= EventReceived; ea = new EventAction (new InitialEvent (sender, source, name, raw)); lbl_e_name_val.Text = ea.initial_event.Name; lbl_e_device_val.Text = ea.initial_event.Source; lbl_e_module_val.Text = ea.initial_event.Sender; lbl_e_numeric_val.Text = "0x" + ea.initial_event.Raw.ToString ("x"); on_dlg_press_button_close (); }
public int AddEventAction(EventAction ea) { int ret = event_actions.Add (ea); Initial.ui.PopulateTreeView (); return ret; }