示例#1
0
 private void toolStripLabel2_Click(object sender, EventArgs e)
 {
     if (scadaRealTime == null || scadaRealTime.IsDisposed)
     {
         scadaRealTime = new SCADARealTime();
         scadaRealTime.Show();
         scadaRealTime.MdiParent = this;
     }
 }
示例#2
0
 /// <summary>
 /// 实时数据模拟工具栏
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void 实时数据采集ToolStripMenuItem_Click(object sender, EventArgs e)
 {
     //确保每个内部窗体只会出现一次
     if (scadaRealTime == null || scadaRealTime.IsDisposed)
     {
         scadaRealTime = new SCADARealTime();
         scadaRealTime.Show();
         scadaRealTime.MdiParent = this;
     }
 }