コード例 #1
0
        /// <summary>
        /// da co day du du lieu cuoc goi + du lieu cuoc hen.
        /// </summary>
        /// <param name="DieuHanhTaxi"></param>
        /// <param name="CuocGoiKhachHen"></param>
        public frmDienThoaiHenKhach(DieuHanhTaxi DieuHanhTaxi, CuocGoiKhachHen CuocGoiKhachHen)
        {
            InitializeComponent();

            mDieuHanhTaxi    = DieuHanhTaxi;
            mCuocGoiKhachHen = CuocGoiKhachHen;
        }
コード例 #2
0
 /// <summary>
 /// lay du lieu tra form gan vao cho doi tuong mDieuHanhTaxi
 /// </summary>
 private void GetData2Form()
 {
     if (mCuocGoiKhachHen == null)
     {
         mCuocGoiKhachHen = new CuocGoiKhachHen();
     }
     mCuocGoiKhachHen.ThoiDiemBatDau = DateTime.Parse(timeHen.Text + ":00 " + dateNgayHen.Text);
     mCuocGoiKhachHen.ID_DieuHanh    = mDieuHanhTaxi.ID_DieuHanh;
     mCuocGoiKhachHen.BaoTruocSoPhut = intPhut.Value;
     mCuocGoiKhachHen.GhiChu         = editGhiChu.Text;
 }
コード例 #3
0
 /// <summary>
 /// chi co du lieu cuoc goi
 /// </summary>
 /// <param name="DieuHanhTaxi"></param>
 public frmDienThoaiHenKhach(DieuHanhTaxi DieuHanhTaxi)
 {
     InitializeComponent();
     mDieuHanhTaxi    = DieuHanhTaxi;
     mCuocGoiKhachHen = CuocGoiKhachHen.GetKhachHen(mDieuHanhTaxi.ID_DieuHanh);
 }