private void hastaHakkındaToolStripMenuItem_Click(object sender, EventArgs e) { foreach (Form frm in this.MdiChildren) { frm.Close(); } Bul = new HastaBul(); Bul.MdiParent = this; Bul.button2.Visible = false; Bul.button3.Visible = false; Bul.listView2.Columns[1].Width = 0; Bul.listView2.Columns[2].Width = 0; Bul.listView2.Columns[3].Width = 0; //Bul.listView2.Columns[4].Width = 0; Bul.listView2.Scrollable = false; Bul.Text = "< Kayıtlı Hasta (Hasta Hakkında) >"; Bul.Show(); }
private void randevuluHastalarToolStripMenuItem_Click_1(object sender, EventArgs e) { foreach (Form frm in this.MdiChildren) { frm.Close(); } Bul = new HastaBul(); Bul.MdiParent = this; Bul.button1.Visible = false; Bul.button2.Visible = false; Bul.listView3.Visible = true; /*Bul.listView2.Columns[6].Width = 0; * Bul.listView2.Columns[7].Width = 0; * Bul.listView2.Columns[8].Width = 0; * Bul.listView2.Columns[9].Width = 0; * Bul.listView2.Columns[10].Width = 0; * Bul.listView2.Columns[11].Width = 0;*/ Bul.listView2.ColumnWidthChanging += listView2_ColumnWidthChanging; Bul.listView2.Scrollable = false; Bul.Text = "< Randevulu Hasta >"; Bul.Show(); }
private void hastaRandevuBilgileriToolStripMenuItem_Click(object sender, EventArgs e) { foreach (Form frm in this.MdiChildren) { frm.Close(); } Bul = new HastaBul(); Bul.MdiParent = this; Bul.button2.Visible = false; Bul.button3.Visible = false; Bul.listView2.Columns[6].Width = 0; Bul.listView2.Columns[7].Width = 0; Bul.listView2.Columns[8].Width = 0; Bul.listView2.Columns[9].Width = 0; Bul.listView2.Columns[10].Width = 0; Bul.listView2.Columns[11].Width = 0; Bul.listView2.ColumnWidthChanging += listView2_ColumnWidthChanging; Bul.listView2.Scrollable = false; Bul.Text = "< Kayıtlı Hasta (Hasta Randevu Bilgileri) >"; Bul.Show(); }