示例#1
0
 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();
     }
 }
示例#2
0
 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();
     }
 }