示例#1
0
        private void userToolStripMenuItem_Click(object sender, EventArgs e)
        {
            this.Hide();
            fFood f = new fFood();

            f.ShowDialog();
            this.Show();
        }
示例#2
0
 void PreLoadAllForms()
 {
     frmMain           = this;
     frmLogin          = new fLogin();
     frmAccount        = new fAccount();
     frmAccountInfo    = new fAccountInfo();
     frmChangePassword = new fChangePassword();
     frmFood           = new fFood();
     frmFoodCategory   = new fFoodCategory();
     frmRevenue        = new fRevenue();
     frmTableFood      = new fTableFood();
     frmTableManager   = new fTableManager();
     frmTutorial       = new fTutorial();
     frmSoftwareInfo   = new fSoftwareInfo();
 }