Example #1
0
 private void اجهزةفحوصاتالقلبToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (اجهزة == null)
     {
         اجهزة             = new اجهزة_فحوصات_القلب();
         اجهزة.MdiParent   = this;
         اجهزة.FormClosed += new FormClosedEventHandler(اجهزة_FormClosed);
         اجهزة.Show();
     }
     else
     {
         اجهزة.Activate();
     }
 }
Example #2
0
        private void dataGridView1_DoubleClick(object sender, EventArgs e)
        {
            اجهزة_فحوصات_القلب frm = new اجهزة_فحوصات_القلب();

            frm.dataGridView1.Visible = false;



            frm.dataGridView1.Visible = false;


            this.textBox2.Text = this.dataGridView1.CurrentRow.Cells[1].Value.ToString();
            this.textBox3.Text = this.dataGridView1.CurrentRow.Cells[2].Value.ToString();
            this.textBox4.Text = this.dataGridView1.CurrentRow.Cells[3].Value.ToString();

            this.textBox9.Text = this.dataGridView1.CurrentRow.Cells[4].Value.ToString();
            this.textBox8.Text = this.dataGridView1.CurrentRow.Cells[5].Value.ToString();
        }
Example #3
0
 void اجهزة_FormClosed(object sender, FormClosedEventArgs e)
 {
     //throw new NotImplementedException();
     اجهزة = null;
 }