private void button1_Click(object sender, EventArgs e) { if (formOptions == null) { formOptions = new FormOptions(); } this.TopMost = false; if (formOptions.ShowDialog() == DialogResult.OK) { formOptions.SaveOptions(); this.ApplyOptions(); Global.script.UpdateBrowserSettings(); } else { this.TopMost = Global.isTopMost(); } }
private void button1_Click(object sender, EventArgs e) { if (formOptions == null) formOptions = new FormOptions(); this.TopMost = false; if (formOptions.ShowDialog() == DialogResult.OK) { formOptions.SaveOptions(); this.ApplyOptions(); Global.script.UpdateBrowserSettings(); } else { this.TopMost = Global.isTopMost(); } }