Example #1
0
 public static GetGongdanReportForm CreateInstance()
 {
     if (getGongdanRptFrm == null || getGongdanRptFrm.IsDisposed)
     {
         getGongdanRptFrm = new GetGongdanReportForm();
     }
     return(getGongdanRptFrm);
 }
Example #2
0
        private void GetGongDanDocument_TSMI_Click(object sender, EventArgs e)
        {
            GetGongdanReportForm getGongdanRptFrm = GetGongdanReportForm.CreateInstance();

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