Пример #1
0
 private void enableView()
 {
     if (this.InvokeRequired)
     {
         SetViewDelegate cb = new SetViewDelegate(enableView);
         this.Invoke(cb);
     }
     else
     {
         panel1.Hide();
         button1.Visible = groupBox1.Enabled = listView1.Enabled = true;
     }
 }
Пример #2
0
 private void unBusyAnalysticView()
 {
     if (this.InvokeRequired)
     {
         SetViewDelegate cb = new SetViewDelegate(unBusyAnalysticView);
         this.Invoke(cb);
     }
     else
     {
         button1.Enabled     = listView1.Enabled = true;
         pictureBox2.Visible = false;
         scoreDistributionChartPanel1.ShowPanel();
     }
 }
Пример #3
0
 private void disableView()
 {
     if (this.InvokeRequired)
     {
         SetViewDelegate cb = new SetViewDelegate(disableView);
         this.Invoke(cb);
     }
     else
     {
         scoreDistributionChartPanel1.HidePanel();
         button1.Visible = listView1.Enabled = groupBox1.Enabled = false;
         panel1.Show();
         pictureBox1.Refresh();
     }
 }
Пример #4
0
 private void busyAnalysticView()
 {
     if (this.InvokeRequired)
     {
         SetViewDelegate cb = new SetViewDelegate(busyAnalysticView);
         this.Invoke(cb);
     }
     else
     {
         button1.Enabled = listView1.Enabled = false;
         pictureBox2.Visible = true;
         pictureBox2.Refresh();
         scoreDistributionChartPanel1.HidePanel();
     }
 }
Пример #5
0
 private void enableView()
 {
     if (this.InvokeRequired)
     {
         SetViewDelegate cb = new SetViewDelegate(enableView);
         this.Invoke(cb);
     }
     else
     {
         panel1.Hide();
         button1.Visible = groupBox1.Enabled = listView1.Enabled = true;
     }
 }
Пример #6
0
 private void disableView()
 {
     if (this.InvokeRequired)
     {
         SetViewDelegate cb = new SetViewDelegate(disableView);
         this.Invoke(cb);
     }
     else
     {
         scoreDistributionChartPanel1.HidePanel();
         button1.Visible = listView1.Enabled = groupBox1.Enabled = false;
         panel1.Show();
         pictureBox1.Refresh();
     }
 }