/*-----------------------------------------------------------------------------*/

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

            this.Hide();
            f.ShowDialog();
        }
Exemplo n.º 2
0
        private void adminToolStripMenuItem_Click(object sender, EventArgs e)
        {
            fAdmin f = new fAdmin();


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

            f.InsertFood += f_InsertFood;
            f.DeleteFood += f_DeleteFood;
            f.UpdateFood += f_UpdateFood;
            f.ShowDialog();
        }
 public fReportDoanhthu(fAdmin f)
 {
     InitializeComponent();
     this.f = f;
 }