コード例 #1
0
 private void Properties_Click(object sender, EventArgs e)
 {
     try
     {
         ConfigurationForm frm = new ConfigurationForm();
         if (DialogResult.OK == frm.ShowDialog())
         {
             // Restart the updater to ensure any changes are applied.
             _dcu.Restart();
         }
     }
     catch (Exception ex)
     {
         HandleException(ex);
     }
 }
コード例 #2
0
ファイル: TrayIcon.cs プロジェクト: dfederspiel/DNScymbal
 private void Properties_Click(object sender, EventArgs e)
 {
     try
     {
         ConfigurationForm frm = new ConfigurationForm();
         if (DialogResult.OK == frm.ShowDialog())
         {
             // Restart the updater to ensure any changes are applied.
             _dcu.Restart();
         }
     }
     catch (Exception ex)
     {
         HandleException(ex);
     }
 }