Exemple #1
0
 private void MainMenuOption_Click(object sender, EventArgs e)
 {
     var dlg = new OptionDlg(_option);
     if (DialogResult.OK == dlg.ShowDialog()) {
         _option = dlg.Option;
         InitializeWebServer();
     }
 }
Exemple #2
0
        private void MainMenuOption_Click(object sender, EventArgs e)
        {
            var dlg = new OptionDlg(_option);

            if (DialogResult.OK == dlg.ShowDialog())
            {
                _option = dlg.Option;
                InitializeWebServer();
            }
        }