//انهاء_زيارة_مريض_خارجى for program private void انهاءزيارةمريضToolStripMenuItem_Click(object sender, EventArgs e) { انهاء_زيارة_مريض_خارجى f = new انهاء_زيارة_مريض_خارجى(); f.MdiParent = this; f.Show(); }
private void cell_doubleclick(object sender, DataGridViewCellEventArgs e) { try { Des = dataGridView1.Rows[e.RowIndex].Cells[1].Value.ToString(); انهاء_زيارة_مريض_خارجى ff = new انهاء_زيارة_مريض_خارجى(); ff.Focus(); this.DialogResult = DialogResult.OK; } catch (Exception ex) { MessageBox.Show(ex.Message + " dfff"); } }