static void Main() { ExceptionHandler EH = new ExceptionHandler(); AppDomain.CurrentDomain.UnhandledException += EH.ThreadExceptionHandle; Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); _LoginForm = new LoginForm(); Application.Run(_LoginForm); // spawn }
public static void On_Login(LoginForm form) { }