/// <summary> /// This is called to create a default file /// </summary> public virtual void InitDefaults() { GlobalMap.Add(new ViewAction() { EventName = "Click", EventHandlerName = "EventHandler", EventArgsName = "EventArgs" }); var textBoxAction = new ViewActions(); textBoxAction.Add(new ViewAction() { EventName = "TextChanged", EventHandlerName = "EventHandler", EventArgsName = "EventArgs" }); ControlActionMap.Add(new ViewControlAction() { ControlType = "TextBox", ControlActions = textBoxAction }); var comboBoxAction = new ViewActions(); comboBoxAction.Add(new ViewAction() { EventName = "CheckedChanged", EventHandlerName = "EventHandler", EventArgsName = "EventArgs" }); ControlActionMap.Add(new ViewControlAction() { ControlType = "CheckBox", ControlActions = comboBoxAction }); }