예제 #1
0
        private void InitializeThongTinChung()
        {
            PhieuCheckIn_WCFClient pci_wcf = new PhieuCheckIn_WCFClient();
            NhanVien_WCFClient     nv_wcf  = new NhanVien_WCFClient();

            txtIdPhieu.Text = (pci_wcf.GetPhieuCheckIns()[pci_wcf.GetPhieuCheckIns().Length - 1].Id_phieu_checkin + 1).ToString();
            txtHoTenNV.Text = (nv_wcf.GetHoTen_NhanVien(ID_NV));
        }
예제 #2
0
        private void frmMain_Load(object sender, EventArgs e)
        {
            Custom_Theme();
            NhanVien_WCFClient nv_wcf = new NhanVien_WCFClient();

            this.lbAccount.Text = "Xin Chào, " + nv_wcf.GetHoTen_NhanVien(Id_nhanvien);
            //this.btnCheckOut.Visible = false;

            open_frmDatPhong();
        }