Ejemplo n.º 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();
     }
 }
Ejemplo n.º 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();
     }
 }