Beispiel #1
0
 private void toolStripLabel1_Click(object sender, EventArgs e)
 {
     if (proRealData == null || proRealData.IsDisposed)
     {
         proRealData = new ProRealTimeData();
         proRealData.Show();
         proRealData.MdiParent = this;
     }
 }
Beispiel #2
0
 /// <summary>
 /// 实时数据模拟菜单项
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void 实时数据模拟ToolStripMenuItem_Click(object sender, EventArgs e)
 {
     //确保每个内部窗体只会出现一次
     if (proRealData == null || proRealData.IsDisposed)
     {
         proRealData = new ProRealTimeData();
         proRealData.Show();
         proRealData.MdiParent = this;
     }
 }