コード例 #1
0
 /// <summary>
 /// Mã phiếu thu được truyền từ FrmQuanLyPhieuThu
 /// </summary>
 /// <param name="maPhieuThu"></param>
 public UpdatePhieuThuDlg(ctrlPhieuThu _ctrl, string maPhieuThu)
 {
     InitializeComponent();
     ///Gán controller cho Dlg
     _ctrlPhieuThu = _ctrl;
     ///Load Dữ liệu của mã phieu thu
     LoadData(maPhieuThu);
     //_maPhieuThu = maPhieuThu;
 }
コード例 #2
0
 public AddPhieuThuDlg(ctrlPhieuThu _ctrl)
 {
     InitializeComponent();
     txtMaPhieu.Text = _ctrlPhieuThu.GetNewMaPhieuThu();
     _ctrlPhieuThu   = _ctrl;
 }