예제 #1
0
 //****************************************//
 //             Menu Strip                 //
 //****************************************//
 private void hardwareConfigToolStripMenuItem_Click(object sender, EventArgs e)
 {
     FormConfig formConfig = new FormConfig();
     try
     {
         formConfig.ShowDialog();
     }
     catch (Exception ex)
     {
         MessageBox.Show("ERROR: " + ex.Message, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
         Log.error(ex.Message);
     }
     finally
     {
         formConfig.Dispose();
         HardwareInitialize();
     }
 }