コード例 #1
0
 void m_TTUSAPI_OnInitializeComplete(object sender, TTUSAPI.InitializeCompleteEventArgs e)
 {
     UpdateStatusBar("Initialization Complete.");
     piInit = 1;
     if (piProducts == 1)
     {
         btnUpdate.Enabled = true;
     }
 }
コード例 #2
0
        //Callback for TTUS API Initialization
        void m_TTUSAPI_OnInitializeComplete(object sender, TTUSAPI.InitializeCompleteEventArgs e)
        {
            UpdateStatusBar("Initialization Complete. Ready to update currencies");

            //Populate our currency drop down boxes
            cbCurrency1.Items.Clear();
            cbCurrency2.Items.Clear();
            foreach (string currency in m_lstCurrencies.Keys)
            {
                cbCurrency1.Items.Add(currency);
                cbCurrency2.Items.Add(currency);
            }

            this.btnUpdateRate.Enabled = true;
        }
 //Callback for TTUS API Initialization
 void m_TTUSAPI_OnInitializeComplete(object sender, TTUSAPI.InitializeCompleteEventArgs e)
 {
     //The API is initialized so now we can read the file and update the credit limits
     UpdateStatusBar("Initialization Complete.");
     btnUpdate.Enabled = true;
 }
コード例 #4
0
 void m_TTUSAPI_OnInitializeComplete(object sender, TTUSAPI.InitializeCompleteEventArgs e)
 {
     UpdateStatusBar("Initialization Complete.");
     btnUpdate.Enabled = true;
 }