private void userToolStripMenuItem_Click(object sender, EventArgs e) { this.Hide(); fFood f = new fFood(); f.ShowDialog(); this.Show(); }
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(); }