public void initTTUSAPI()
 {
     m_TTUSAPI = new TTUSAPI.TTUSApi(TTUSAPI.TTUSApi.StartupMode.Normal);                                                       //Create an Instance of the TTUSAPI
     m_TTUSAPI.OnConnectivityStatusUpdate += new TTUSApi.ConnectivityStatusUpdateHandler(m_TTUSAPI_OnConnectivityStatusUpdate); //Callback for getting TTUS Server status
     m_TTUSAPI.OnLoginStatusUpdate        += new TTUSApi.LoginStatusHandler(m_TTUSAPI_OnLoginStatusUpdate);                     //Callback for login update
     m_TTUSAPI.OnInitializeComplete       += new TTUSApi.InitializeCompleteHandler(m_TTUSAPI_OnInitializeComplete);             //Callback for initialization complete
     m_TTUSAPI.OnUserUpdate += new TTUSApi.UserUpdateHandler(m_TTUSAPI_OnUserUpdate);                                           //Callback for user downloads
     this.btnConnect.Enabled = false;
     this.btnUpdate.Enabled  = false;
 }
 public void initTTUSAPI()
 {
     m_TTUSAPI = new TTUSAPI.TTUSApi(TTUSAPI.TTUSApi.StartupMode.Normal);  //Create an Instance of the TTUSAPI
     m_TTUSAPI.OnConnectivityStatusUpdate += new TTUSApi.ConnectivityStatusUpdateHandler(m_TTUSAPI_OnConnectivityStatusUpdate); //Callback for getting TTUS Server status
     m_TTUSAPI.OnLoginStatusUpdate += new TTUSApi.LoginStatusHandler(m_TTUSAPI_OnLoginStatusUpdate);  //Callback for login update
     m_TTUSAPI.OnInitializeComplete += new TTUSApi.InitializeCompleteHandler(m_TTUSAPI_OnInitializeComplete);  //Callback for initialization complete
     m_TTUSAPI.OnUserUpdate += new TTUSApi.UserUpdateHandler(m_TTUSAPI_OnUserUpdate);  //Callback for user downloads
     this.btnConnect.Enabled = false;
     this.btnUpdate.Enabled = false;
 }
 public void initTTUSAPI()
 {
     UpdateStatusBar("Initializing...");
     m_TTUSAPI = new TTUSAPI.TTUSApi(TTUSAPI.TTUSApi.StartupMode.Normal);  //Create an Instance of the TTUSAPI
     m_TTUSAPI.OnConnectivityStatusUpdate += new TTUSApi.ConnectivityStatusUpdateHandler(m_TTUSAPI_OnConnectivityStatusUpdate); //Callback for getting TTUS Server status
     m_TTUSAPI.OnLoginStatusUpdate += new TTUSApi.LoginStatusHandler(m_TTUSAPI_OnLoginStatusUpdate);  //Callback for login update
     m_TTUSAPI.OnInitializeComplete += new TTUSApi.InitializeCompleteHandler(m_TTUSAPI_OnInitializeComplete);  //Callback for api initialization
     m_TTUSAPI.OnAccountGroupUpdate += new TTUSApi.AccountGroupUpdateHandler(m_TTUSAPI_OnAccountGroupUpdate); //Callback for Account group updates
     this.btnConnect.Enabled = false;
     this.btnLockAccount.Enabled = false;
 }
 public void initTTUSAPI()
 {
     UpdateStatusBar("Initializing...");
     m_TTUSAPI = new TTUSAPI.TTUSApi(TTUSAPI.TTUSApi.StartupMode.Normal);                                                       //Create an Instance of the TTUSAPI
     m_TTUSAPI.OnConnectivityStatusUpdate += new TTUSApi.ConnectivityStatusUpdateHandler(m_TTUSAPI_OnConnectivityStatusUpdate); //Callback for getting TTUS Server status
     m_TTUSAPI.OnLoginStatusUpdate        += new TTUSApi.LoginStatusHandler(m_TTUSAPI_OnLoginStatusUpdate);                     //Callback for login update
     m_TTUSAPI.OnInitializeComplete       += new TTUSApi.InitializeCompleteHandler(m_TTUSAPI_OnInitializeComplete);             //Callback for api initialization
     m_TTUSAPI.OnAccountGroupUpdate       += new TTUSApi.AccountGroupUpdateHandler(m_TTUSAPI_OnAccountGroupUpdate);             //Callback for Account group updates
     this.btnConnect.Enabled     = false;
     this.btnLockAccount.Enabled = false;
 }
Example #5
0
        public void initTTUSAPI()
        {
            m_TTUSAPI = new TTUSAPI.TTUSApi(TTUSAPI.TTUSApi.StartupMode.Normal);  //Create an Instance of the TTUSAPI
            //Callbacks
            m_TTUSAPI.OnConnectivityStatusUpdate += new TTUSApi.ConnectivityStatusUpdateHandler(m_TTUSAPI_OnConnectivityStatusUpdate);
            m_TTUSAPI.OnLoginStatusUpdate        += new TTUSApi.LoginStatusHandler(m_TTUSAPI_OnLoginStatusUpdate);         //Login status update
            m_TTUSAPI.OnInitializeComplete       += new TTUSApi.InitializeCompleteHandler(m_TTUSAPI_OnInitializeComplete); //API Initialization
            m_TTUSAPI.OnAccountGroupUpdate       += new TTUSApi.AccountGroupUpdateHandler(m_TTUSAPI_OnAccountGroupUpdate); //Account group updates
            m_TTUSAPI.OnGatewayUpdate            += new TTUSApi.GatewayUpdateHandler(m_TTUSAPI_OnGatewayUpdate);           //Gateway information

            btnConnect.Enabled = false;
            btnUpdate.Enabled  = false;
        }
        public void initTTUSAPI()
        {
            m_TTUSAPI = new TTUSAPI.TTUSApi(TTUSAPI.TTUSApi.StartupMode.Normal);  //Create an Instance of the TTUSAPI
            //Callbacks
            m_TTUSAPI.OnConnectivityStatusUpdate += new TTUSApi.ConnectivityStatusUpdateHandler(m_TTUSAPI_OnConnectivityStatusUpdate);
            m_TTUSAPI.OnLoginStatusUpdate += new TTUSApi.LoginStatusHandler(m_TTUSAPI_OnLoginStatusUpdate);  //Login status update
            m_TTUSAPI.OnInitializeComplete += new TTUSApi.InitializeCompleteHandler(m_TTUSAPI_OnInitializeComplete); //API Initialization
            m_TTUSAPI.OnAccountGroupUpdate += new TTUSApi.AccountGroupUpdateHandler(m_TTUSAPI_OnAccountGroupUpdate); //Account group updates
            m_TTUSAPI.OnGatewayUpdate += new TTUSApi.GatewayUpdateHandler(m_TTUSAPI_OnGatewayUpdate); //Gateway information

            btnConnect.Enabled = false;
            btnUpdate.Enabled = false;
        }