private void toolStripButton7_Click(object sender, EventArgs e) { frm_show_all myform = new frm_show_all(); myform.MdiParent = this; myform.Show(); }
private void frm_main_Shown(object sender, EventArgs e) { frm_show_all myform = new frm_show_all(); myform.MdiParent = this; myform.Show(); }
private void toolStripButton4_Click(object sender, EventArgs e) { frm_show_all myform = new frm_show_all(); //myform.Load(sender, e); // myform.Load += new EventHandler(frm_show_all); myform.dataGridView1.DataSource = DB.Show("GetAllBooks"); myform.dataGridView1.Columns[0].HeaderText = "رقم الأطروحة"; myform.dataGridView1.Columns[1].HeaderText = "عنوان الأطروحة"; myform.dataGridView1.Columns[2].HeaderText = "ملاحظـــــــــات"; myform.dataGridView1.DataSource = DB.Show("GetAllBooks"); myform.MdiParent = this; myform.Show(); }