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."); } }
public ProxyMain() { this.session = null; main = new GUI.Form_Main(session); }