Exemplo n.º 1
0
 public void enableView()
 {
     if (this.InvokeRequired)
     {
         SetViewCallBack cb = new SetViewCallBack(enableView);
         this.Invoke(cb);
     }
     else
     {
         listView1.Enabled = button1.Visible = button1.Enabled = true;
         panel1.Visible    = false;
     }
 }
Exemplo n.º 2
0
 public void enableView()
 {
     if (this.InvokeRequired)
     {
         SetViewCallBack cb = new SetViewCallBack(enableView);
         this.Invoke(cb);
     }
     else
     {
         listView1.Enabled = button1.Visible = button1.Enabled = true;
         panel1.Visible = false;
     }
 }
Exemplo n.º 3
0
 public void disableView()
 {
     if (this.InvokeRequired)
     {
         SetViewCallBack cb = new SetViewCallBack(disableView);
         this.Invoke(cb);
     }
     else
     {
         majorFailCredits  = majorCreditsMultiScore = majorCreditsDouble = 0;
         majorCredits.Text = "0.0";
         majorGPA.Text     = "0.00";
         comboBox1.Items.Clear();
         listBox1.Items.Clear();
         listView1.Items.Clear();
         listView1.Enabled = button1.Visible = groupBox4.Enabled = groupBox3.Enabled = groupBox2.Enabled = groupBox1.Enabled = false;
         panel1.Visible    = true;
     }
 }
Exemplo n.º 4
0
 public void disableView()
 {
     if (this.InvokeRequired)
     {
         SetViewCallBack cb = new SetViewCallBack(disableView);
         this.Invoke(cb);
     }
     else
     {
         majorFailCredits = majorCreditsMultiScore = majorCreditsDouble = 0;
         majorCredits.Text = "0.0";
         majorGPA.Text = "0.00";
         comboBox1.Items.Clear();
         listBox1.Items.Clear();
         listView1.Items.Clear();
         listView1.Enabled = button1.Visible = groupBox4.Enabled = groupBox3.Enabled = groupBox2.Enabled = groupBox1.Enabled = false;
         panel1.Visible = true;
     }
 }