private void btnGraph_Click(object sender, EventArgs e) { if (btnStart.Text == "Stop") { btnStart_Click(null, null); } DashBoardSelect dbSelect = new DashBoardSelect(tyleDevice); dbSelect.ShowDialog(); }
private void btnGraph_Click(object sender, EventArgs e) { timer1.Enabled = false; if (dev_dashboard35 != null) { dev_dashboard35.Close(); } getDeviceInfo.getActiveDevice(); DashBoardSelect realTimeSelect = new DashBoardSelect(1); realTimeSelect.FormClosed += new FormClosedEventHandler(close); this.Hide(); realTimeSelect.ShowDialog(); //this.Close(); }
public DashBoardGraph35(DashBoardSelect select) { InitializeComponent(); frmSelect = select; }