Esempio n. 1
0
 private void OnClickPreload(object sender, EventArgs e)
 {
     if (PreLoader.IsBusy)
     {
         return;
     }
     ProgressBar.Minimum = 1;
     ProgressBar.Maximum = listView1.Items.Count;
     ProgressBar.Step    = 1;
     ProgressBar.Value   = 1;
     ProgressBar.Visible = true;
     PreLoader.RunWorkerAsync(ProgressBar);
 }
Esempio n. 2
0
 private void OnClickPreload(object sender, EventArgs e)
 {
     if (PreLoader.IsBusy)
     {
         return;
     }
     ProgressBar.Minimum = 1;
     ProgressBar.Maximum = Gumps.GetCount();
     ProgressBar.Step    = 1;
     ProgressBar.Value   = 1;
     ProgressBar.Visible = true;
     PreLoader.RunWorkerAsync();
 }
Esempio n. 3
0
        public MainForm()
        {
            InitializeComponent();

            Reporter = new Reporter();
            //FISCA.Presentation.MotherForm.SetStatusBarMessage("初始化...");

            InitializeSubjectRows();
            InitializeBackgroundWorker();
            InitializeSemester();

            PreLoader.RunWorkerAsync();
        }