Beispiel #1
0
        private void fill(object sender, DataGridViewCellMouseEventArgs e)
        {
            string a  = this.dataGridView1.Rows[e.RowIndex].Cells[0].Value.ToString();
            int    id = int.Parse(a);
            string b  = this.dataGridView1.Rows[e.RowIndex].Cells[3].Value.ToString();

            //  string c = this.dataGridView1.Rows[e.RowIndex].Cells[0].Value.ToString();


            /*  تقرير_بيانات_المريض t = new تقرير_بيانات_المريض(id,b);
             * t.Show();*/

            y.setValue(id, b);
            this.Close();
        }