private void enableView() { if (this.InvokeRequired) { SetViewDelegate cb = new SetViewDelegate(enableView); this.Invoke(cb); } else { panel1.Hide(); button1.Visible = groupBox1.Enabled = listView1.Enabled = true; } }
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(); } }
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(); } }
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(); } }
private void enableView() { if (this.InvokeRequired) { SetViewDelegate cb = new SetViewDelegate(enableView); this.Invoke(cb); } else { panel1.Hide(); button1.Visible = groupBox1.Enabled = listView1.Enabled = true; } }
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(); } }