Beispiel #1
0
        private void BtnViewEmp_Click(object sender, EventArgs e)
        {
            ShowEmpData show = new ShowEmpData();

            this.Hide();
            show.ShowDialog();
            this.Show();
        }
Beispiel #2
0
        private void BtnShowEmp_Click(object sender, EventArgs e)
        {
            this.Hide();
            ShowEmpData showForm = new ShowEmpData();

            showForm.ShowDialog();
            this.Show();
        }