public FormMain() { InitializeComponent(); Application.ThreadException += new ThreadExceptionEventHandler(Application_ThreadException); AppDomain.CurrentDomain.UnhandledException += new UnhandledExceptionEventHandler(CurrentDomain_UnhandledException); tesla = new TeslaUtils(); }
public FormRevokeToken(string AccessToken) { if (AccessToken.Length < 1) { throw new ArgumentException("Access token revoke to authenticate", "AccessToken"); } InitializeComponent(); tesla = new TeslaUtils(); accessToken = AccessToken; }
public FormRevokeToken() { InitializeComponent(); tesla = new TeslaUtils(); }