예제 #1
0
 /// <summary>
 /// Handler of showing the main window if clicked # Build / Command Event
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void _menuMainCallback(object sender, EventArgs e)
 {
     try
     {
         if(UI.Util.focusForm(configFrm)) {
             return;
         }
         configFrm = new UI.WForms.EventsFrm(PackageBinder);
         configFrm.Show();
     }
     catch(Exception ex) {
         Log.Error("Failed UI: `{0}`", ex.Message);
     }
 }
 /// <summary>
 /// Handler of showing the main window if clicked # Build / Command Event
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void _menuMainCallback(object sender, EventArgs e)
 {
     if(UI.Util.focusForm(_configFrm)) {
         return;
     }
     _configFrm = new UI.WForms.EventsFrm(PackageBinder);
     _configFrm.Show();
 }