Exemple #1
0
 ///  <summary>
 ///  Perform startup operations.
 ///  </summary>
 private void frmMain_Load(System.Object eventSender, System.EventArgs eventArgs)
 {
     try
     {
         frmMy = this;
         Startup();
     }
     catch (Exception ex)
     {
         throw;
     }
 }
Exemple #2
0
 /// <summary>
 ///  Displays the application's main form.
 /// </summary> 
 public static void Main()
 {
     frmMy = new frmMain();
     Application.Run(frmMy);
 }