protected override void OnClicked(int controlId, GUIControl control, Action.ActionType actionType) { if (control == this.btnVolume) { this.SaveSettings(); } if (control == this.btnProgress) { this.SaveSettings(); } if (control == this.btnDiskIcon) { this.SaveSettings(); this.SetButtons(); } if (control == this.btnMediaStatus) { this.SaveSettings(); } if (control == this.btnDiskStatus) { this.SaveSettings(); } if (control == this.btnCustomFont) { this.SaveSettings(); this.SetButtons(); } if (control == this.btnLargeIcons) { this.SaveSettings(); this.SetButtons(); } if (control == this.btnCustomIcons) { this.SaveSettings(); } if (control == this.btnInvertIcons) { this.SaveSettings(); } if (control == this.btnFontEditor) { Form form = new iMONLCDg_FontEdit(); form.ShowDialog(); form.Dispose(); } if (control == this.btnIconEditor) { Form form2 = new iMONLCDg_IconEdit(); form2.ShowDialog(); form2.Dispose(); } base.OnClicked(controlId, control, actionType); }
private void mpEditIcon_Click(object sender, EventArgs e) { Form form = new iMONLCDg_IconEdit(); base.Visible = false; form.ShowDialog(); form.Dispose(); base.Visible = true; }