private void button2_Click(object sender, EventArgs e) { LapPhieuKhamBenh_GUI pk = new LapPhieuKhamBenh_GUI(); pk.ShowDialog(); this.Hide(); }
// nhan nut lap phieu kham benh, goi form LapPhieuKham private void button4_Click(object sender, EventArgs e) { if (txb_HoTen.Text == "" || txb_HoTen == null) { MessageBox.Show("Vui lòng chọn mã bệnh nhân!", "Thông Báo", MessageBoxButtons.OK, MessageBoxIcon.Error); return; } LapPhieuKhamBenh_GUI x = new LapPhieuKhamBenh_GUI(int.Parse(txb_MaBN.Text.ToString())); this.Hide(); x.ShowDialog(); }
private void lậpPhiếuKhámBệnhToolStripMenuItem_Click(object sender, EventArgs e) { LapPhieuKhamBenh_GUI a = new LapPhieuKhamBenh_GUI(); a.ShowDialog(); }