public static frmTraCuuThongTin CreateInstance()
 {
     if (_singleton == null)
     {
         _singleton = new frmTraCuuThongTin();
     }
     return(_singleton);
 }
Exemple #2
0
        private void buttonTraCuuTT_Click(object sender, EventArgs e)
        {
            frmTraCuuThongTin frm = frmTraCuuThongTin.CreateInstance();

            clearTextBox();
            clearTextBox();
            frm.ShowDialog();
            this.Show();
        }