private void dataGridView1_CellDoubleClick_1(object sender, DataGridViewCellEventArgs e) { try { Code1 = int.Parse(dataGridView1.Rows[e.RowIndex].Cells[0].Value.ToString()); Code2 = dataGridView1.Rows[e.RowIndex].Cells[1].Value.ToString(); // emp_code = int.Parse(s); // MessageBox.Show(emp_code.ToString()); تسجيل_بيانات__مريض ff = new تسجيل_بيانات__مريض(); ff.Focus(); this.DialogResult = DialogResult.OK; } catch (Exception ex) { MessageBox.Show(ex.Message + " يوجد خطا"); } }
private void button5_Click(object sender, EventArgs e) { تسجيل_بيانات__مريض f = new تسجيل_بيانات__مريض(); f.Show(); }
public birthdate(تسجيل_بيانات__مريض x) { InitializeComponent(); y = x; }
public grad_date(تسجيل_بيانات__مريض x) { InitializeComponent(); y = x; }
public فئة_المريض_1(تسجيل_بيانات__مريض x) { InitializeComponent(); y = x; }