private void ReportOfPlan_Click(object sender, EventArgs e) { تقرير_الخطة_العلاجية_لمريض op = new تقرير_الخطة_العلاجية_لمريض(); //op.MdiParent = this; op.Show(); }
private void عرض_المرضى_Load(object sender, EventArgs e) { try { object x = new object(); x = con.ShowDataInGridView("physiotherapy_displayPatient_select"); dataGridView1.DataSource = (DataTable)x; } catch (Exception ex) { MessageBox.Show(ex.Message); } }
public عرض_المرضى(تقرير_الخطة_العلاجية_لمريض op) { InitializeComponent(); this.x = op; this.report = true; }