Exemplo n.º 1
0
 private void btnIn_Click(object sender, EventArgs e)
 {
     frmMain.num = 6;
     using (frmPrint prt = new frmPrint())
     {
         prt.ShowDialog();
     }
 }
Exemplo n.º 2
0
 private void btnIn_Click(object sender, EventArgs e)
 {
     using (frmPrint frm = new frmPrint())
     {
         Properties.Settings.Default.MaPN = bll_phieunhap.GetLastMaPhieuNhaps();
         Properties.Settings.Default.Save();
         frm.InPhieuNhap();
         frm.ShowDialog();
     }
 }
 private void btnIn_Click(object sender, EventArgs e)
 {
     using (frmPrint frm = new frmPrint())
     {
         Properties.Settings.Default.MaHD = bll_hd.GetLastHoaDons();
         Properties.Settings.Default.Save();
         frm.InHoaDon();
         frm.ShowDialog();
     }
 }