private void btnLuu_Click(object sender, EventArgs e) { SuaHoaDonDV(); Form_Dichvu f = new Form_Dichvu(); this.Close(); }
private void btnHoanThanh_Click(object sender, EventArgs e) { SuaHoaDonDV(); dgvDSDichVu.Columns.Remove("madichvu"); dgvDSDichVu.Columns.Remove("btn"); XuatPDF(); Form_Dichvu f = new Form_Dichvu(); f.HienThiDanhSachHoaDon(); }
public Form_QuanLy(taikhoan tk) { InitializeComponent(); this.tk = tk; Form_ChoThue ChoThue = new Form_ChoThue(); Form_Dichvu Dichvu = new Form_Dichvu(this.tk); Form_Hopdong Hopdong = new Form_Hopdong(); Form_Nhanvien Nhanvien = new Form_Nhanvien(); Form_Canho Canho = new Form_Canho(); Form_Thongtin Thongtin = new Form_Thongtin(); }
private void btn_Dichvu_Click(object sender, EventArgs e) { SetbtnColor(sender as Button); if (!CheckExistForm("Form_Dichvu")) { Form_Dichvu f = new Form_Dichvu(); f.MdiParent = this; f.StartPosition = FormStartPosition.Manual; f.Width = 1156; f.Height = 802; f.Show(); } else { ActiveChildForm("Form_Dichvu"); } }