示例#1
0
        private void adminToolStripMenuItem_Click(object sender, EventArgs e)
        {
            fAdmin f = new fAdmin();

            f.loginAccount = LoginAccount;
            f.InsertFood  += f_InsertFood;
            f.DeleteFood  += f_DeleteFood;
            f.UpdateFood  += f_UpdateFood;
            f.ShowDialog();
        }
示例#2
0
        private void adminToolStripMenuItem_Click(object sender, EventArgs e)
        {
            fAdmin f = new fAdmin();

            f.ShowDialog();
        }