Exemple #1
0
 public static HistoryBeiAnDanDataForm CreateInstance()
 {
     if (HistoryBeiAnDanDataFrm == null || HistoryBeiAnDanDataFrm.IsDisposed)
     {
         HistoryBeiAnDanDataFrm = new HistoryBeiAnDanDataForm();
     }
     return(HistoryBeiAnDanDataFrm);
 }
Exemple #2
0
        private void BeiAnDanHistoryData_TSMI_Click(object sender, EventArgs e)
        {
            HistoryBeiAnDanDataForm HistoryBeiAnDanDataFrm = HistoryBeiAnDanDataForm.CreateInstance();

            HistoryBeiAnDanDataFrm.Activate();
            HistoryBeiAnDanDataFrm.WindowState = FormWindowState.Normal;
            HistoryBeiAnDanDataFrm.MdiParent   = this;
            HistoryBeiAnDanDataFrm.Show();
        }