示例#1
0
 public void OpenForm()
 {
     if (session != null)
     {
         if (main == null)
         {
             main = new GUI.Form_Main(session);
         }
         main.Show();
     }
     else
     {
         throw new Exception("The session object is null.");
     }
 }
示例#2
0
 public ProxyMain()
 {
     this.session = null;
     main         = new GUI.Form_Main(session);
 }