private void gunaGradientButton1_Click(object sender, EventArgs e) { frmPhieuNhap phieuNhap = new frmPhieuNhap(); this.Hide(); phieuNhap.ShowDialog(); }
private void btnTaoMoi_Click(object sender, EventArgs e) { string querry = "Insert into PhieuNhap(NgayNhap,ThanhTien,MaNcc) values('" + DateTime.Now + "',0,null)"; DataTable data = KetNoi.Istance.ExcuteQuerry(querry); frmPhieuNhap phieuNhap = new frmPhieuNhap(); this.Hide(); phieuNhap.ShowDialog(); }