示例#1
0
        private void btnUpdateEmployee_Click(object sender, EventArgs e)
        {
            this.Hide();
            AddEditMenuItemForm editMenu = new AddEditMenuItemForm("Edit");

            editMenu.ShowDialog();
            this.Close();
        }
示例#2
0
        private void btnAddEmployee_Click(object sender, EventArgs e)
        {
            this.Hide();
            AddEditMenuItemForm frmMenu = new AddEditMenuItemForm("Add");

            frmMenu.ShowDialog();
            this.Close();
        }