Example #1
0
        private void dataGridView1_RowHeaderMouseDoubleClick(object sender, DataGridViewCellMouseEventArgs e)
        {
            this.Hide();
            EmployeeСard EmpCard = new EmployeeСard();

            EmpCard.Show();
        }
Example #2
0
        private void buttonBack_Click(object sender, EventArgs e)
        {
            //Переход на форму личной карточки сотрудника
            this.Hide();
            EmployeeСard EmpC = new EmployeeСard(id);

            EmpC.Show();
        }
Example #3
0
        //Переход на форму Личной карточки сотрудника
        private void dataGridView1_RowHeaderMouseDoubleClick(object sender, DataGridViewCellMouseEventArgs e)
        {
            this.Hide();
            int          id      = int.Parse(this.dataGridView1.CurrentRow.Cells[0].Value.ToString());
            EmployeeСard EmpCard = new EmployeeСard(id);

            EmpCard.ShowDialog();
        }