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

            f.loginAccount = LoginAccount;
            f.ShowDialog();
        }
コード例 #2
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();
        }