コード例 #1
0
        public frmThemPhong()
        {
            InitializeComponent();
            
            nghiep_vu = new ServiceReference1.QLKSKhoiDongClient(); 
            
            AddStatus = false;

            Background.Background = DTO.DefaultConfig.localbg;
        }
コード例 #2
0
        public frmCapNhapPhong(string ma_phong, int loaiphongind)
        {
            InitializeComponent();

            nghiep_vu = new ServiceReference1.QLKSKhoiDongClient();

            this.loaiphongind = loaiphongind;

            RoomName.Text = old_ma_phong = ma_phong;

            UpdateState = false;

            Background.Background = DTO.DefaultConfig.localbg;
        }
コード例 #3
0
        public frmCapNhapPhong(string ma_phong, int loaiphongind)
        {
            InitializeComponent();

            nghiep_vu = new ServiceReference1.QLKSKhoiDongClient();

            this.loaiphongind = loaiphongind;
            
            RoomName.Text = old_ma_phong = ma_phong;

            UpdateState = false;

            Background.Background = DTO.DefaultConfig.localbg;
        }
コード例 #4
0
        public frmPhieuThue(string ma_phong, string loai_phong)
        {
            InitializeComponent();
            Background.Background = DTO.DefaultConfig.localbg;
            nghiep_vu = new ServiceReference1.QLKSKhoiDongClient();
            addState = false;

            RoomName.Content = ma_phong;
            RoomType.Content = loai_phong;

            DateTime curtime = DateTime.Today;
            TG_BD.Content = DateTime.Now.ToString("dd/MM/yyyy h:mm:ss tt");

            // Start timer to update form every second
            timer = new DispatcherTimer();
            timer.Interval = new TimeSpan(0, 0, 1);
            timer.Tick += new EventHandler(timer_Tick);
            timer.Start();
        }
コード例 #5
0
        public frmPhieuThue(string ma_phong, string loai_phong)
        {
            InitializeComponent();
            Background.Background = DTO.DefaultConfig.localbg;
            nghiep_vu             = new ServiceReference1.QLKSKhoiDongClient();
            addState = false;

            RoomName.Content = ma_phong;
            RoomType.Content = loai_phong;

            DateTime curtime = DateTime.Today;

            TG_BD.Content = DateTime.Now.ToString("dd/MM/yyyy h:mm:ss tt");

            // Start timer to update form every second
            timer          = new DispatcherTimer();
            timer.Interval = new TimeSpan(0, 0, 1);
            timer.Tick    += new EventHandler(timer_Tick);
            timer.Start();
        }
コード例 #6
0
 public DanhMucPhong()
 {
     InitializeComponent();
     nghiep_vu = new ServiceReference1.QLKSKhoiDongClient();
 }
コード例 #7
0
 public frmXoaLoai()
 {
     InitializeComponent();
     nghiep_vu = new ServiceReference1.QLKSKhoiDongClient();
 }
コード例 #8
0
 public MainWindow()
 {
     InitializeComponent();
     nghiep_vu = new ServiceReference1.QLKSKhoiDongClient();
     Background.Background = DTO.DefaultConfig.localbg;
 }
コード例 #9
0
 public MainWindow()
 {
     InitializeComponent();
     XLKD = new ServiceReference1.QLKSKhoiDongClient();
 }