Пример #1
0
 private void ShowPowerInfo(object sender, EventArgs e)
 {
     //display the PowerInfo form
     if (PIForm == null)
         PIForm = new frmPowerInfo();
     PIForm.Show();
 }
Пример #2
0
 private void ShowPowerInfo(object sender, EventArgs e)
 {
     //display the PowerInfo form
     if (PIForm == null)
     {
         PIForm = new frmPowerInfo();
     }
     PIForm.Show();
 }