private void TableMenu_Click(object sender, EventArgs e)
        {
            frmTableInfo frmTableInfo = frmTableInfo.GetFrmTableInfo();

            frmTableInfo.ChangeFrmMainState += LoadtcHallInfo;
            frmTableInfo.Focus();
            frmTableInfo.Show();
        }
Exemple #2
0
        public static frmTableInfo GetFrmTableInfo()
        {
            if (frmTable == null)
            {
                lock (obj)
                {
                    if (frmTable == null)
                    {
                        frmTable = new frmTableInfo();
                    }
                }
            }

            return(frmTable);
        }
Exemple #3
0
 private void frmTableInfo_FormClosed(object sender, FormClosedEventArgs e)
 {
     frmTable = null;
 }