private void HuyDoiVe_Load(object sender, EventArgs e)
 {
     //reset form
     txtTen.Clear();
     ntxtCMND.Clear();
     DynamicCBOXQueQuan.ResetText();
     ntxtSDT.Clear();
     TextBoxGiaTien.Clear();
 }
示例#2
0
        private void DatVe_Load(object sender, EventArgs e)
        {
            GetLoTrinhVe(); //-----><-------
            GetInfoVe();    //-----><-------

            //reset form
            txtTen.Clear();
            ntxtCMND.Clear();
            DynamicCBOXQueQuan.ResetText();
            ntxtSDT.Clear();
            TextBoxGiaTien.Clear();
        }
示例#3
0
        private void GuiHang_Load(object sender, EventArgs e)
        {
            GetLoTrinhVe(); //-----><-------
            GetInfoVe();    //-----><-------

            //reset form
            txtTenNguoiNhan.Clear();
            txtTenNguoiGui.Clear();
            ntxtCMNDNguoiGui.Clear();
            ntxtCMNDNguoiNhan.Clear();
            ntxtSDTNguoiGui.Clear();
            ntxtSDTNguoiNhan.Clear();
            txtTenHang.Clear();
            ntxtTrongLuong.Clear();
            txtKichThuoc.Clear();
            TextBoxGiaTien.Clear();
            //  lblTenBanVe.Text
            GetTenNhanVien();
            lblNgayThangNam.Text = "Nhân Viên Bán Vé    " + "Ngày " + DateTime.Now.Day.ToString() + " Tháng " + DateTime.Now.Month.ToString() + " Năm " + DateTime.Now.Year.ToString();
        }