Exemplo n.º 1
0
        public FormMain()
        {
            InitializeComponent();

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

            tesla = new TeslaUtils();
        }
Exemplo n.º 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;
        }
Exemplo n.º 3
0
 public FormRevokeToken()
 {
     InitializeComponent();
     tesla = new TeslaUtils();
 }