Exemple #1
0
        // = 0 -> cap nhat
        // = 1 -> them
        public QLPhong()
        {
            //Component
            InitializeComponent();
            txtIdPhong.Text = Global.Instance().idPhong();

            dataGrdV.AutoSizeRowsMode      = DataGridViewAutoSizeRowsMode.None;
            dataGrdV.AllowUserToResizeRows = false;
            txtIdPhong.ReadOnly            = true;

            phongBUS = new PhongBUS();
            DocDuLieu(phongBUS.LayDuDieu());

            state = 1;
        }
Exemple #2
0
 private void btnLoad_Click(object sender, EventArgs e)
 {
     DocDuLieu(phongBUS.LayDuDieu());
 }