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

            f.loginAccount = LoginAccount;
            f.InsertFood  += f_InsertFood;
            f.DeleteFood  += f_DeleteFood;
            f.UpdateFood  += f_UpdateFood;
            f.ShowDialog();
        }
Exemplo n.º 2
0
        private void quảnLýToolStripMenuItem_Click(object sender, EventArgs e)
        {
            fAdmin f = new fAdmin(this.typeCourt);

            f.loginAccount = this.loginAccount;
            f.InsertFood  += f_InsertFood;
            f.DeleteFood  += f_DeleteFood;
            f.UpdateFood  += f_UpdateFood;
            f.ShowDialog();
        }