Ejemplo n.º 1
0
        private void PreferenceForm_Load(object sender, EventArgs e)
        {
            StartWaitCursor(3);

            lblUserName.Text = m_driver.email;
            string          _execPath = Assembly.GetExecutingAssembly().Location;
            FileVersionInfo version   = FileVersionInfo.GetVersionInfo(_execPath);

            lblCopyRight.Text = version.LegalCopyright + " All Rights Reserved.";
            lblVersion.Text   = version.FileVersion;

            lblLocalStorageUsage.Text = "";
            lblDeviceName.Text        = "";
            uictrlGetStationStatus.PerformAction();

            btnDropboxAction.Enabled  = false;
            btnDropboxAction.Text     = "";
            label_dropboxAccount.Text = "";
            uictrlLoadDropbox.PerformAction();

            label_MonthlyLimitValue.Text = "";
            label_DaysLeftValue.Text     = "";
            label_UsedCountValue.Text    = "";
            barCloudUsage.Value          = 0;
            uictrlLoadStorageUsage.PerformAction(m_driver.session_token);

            LoadAutoStartCheckbox();
        }
Ejemplo n.º 2
0
 protected override void ActionCallback(object obj)
 {
     uictrlLoadDropbox.PerformAction();
 }
Ejemplo n.º 3
0
 protected override void ActionCallback(object obj)
 {
     procDropboxSetup = null;
     uictrlLoadDropbox.PerformAction();
 }