private void OnOptions(object sender, EventArgs e) { ReadOptions("pens.ini"); ReadOptions("config.ini"); FormOptions = new FormOptions(this); FormOptions.Show(); }
/* * private void OnPenSetting(object sender, EventArgs e) * { * System.Diagnostics.Process.Start("notepad.exe", "pens.ini"); * } */ private void OnOptions(object sender, EventArgs e) { if (FormOptions != null) { return; } if (FormDisplay != null || FormCollection != null) { return; } ReadOptions("pens.ini"); ReadOptions("config.ini"); ReadOptions("hotkeys.ini"); FormOptions = new FormOptions(this); FormOptions.Show(); }
private void OnOptions(object sender, EventArgs e) { if (FormOptions != null) { FormOptions.BringToFront(); FormOptions.Focus(); return; } if (FormDisplay != null || FormCollection != null) { MessageBox.Show(Local.MsgShouldExit, "glnk", MessageBoxButtons.OK, MessageBoxIcon.Information); return; } ReadOptions("pens.ini"); ReadOptions("config.ini"); ReadOptions("hotkeys.ini"); FormOptions = new FormOptions(this); FormOptions.Show(); }