public FormMain()
        {
            InitializeComponent();

            Application.ThreadException += new ThreadExceptionEventHandler(Application_ThreadException);
            AppDomain.CurrentDomain.UnhandledException += new UnhandledExceptionEventHandler(CurrentDomain_UnhandledException);

            tesla = new TeslaUtils();
        }
Exemple #2
0
        public FormRevokeToken(string AccessToken)
        {
            if (AccessToken.Length < 1)
            {
                throw new ArgumentException("Access token revoke to authenticate", "AccessToken");
            }

            InitializeComponent();
            tesla = new TeslaUtils();


            accessToken = AccessToken;
        }
Exemple #3
0
 public FormRevokeToken()
 {
     InitializeComponent();
     tesla = new TeslaUtils();
 }