Ejemplo n.º 1
0
        private void ChonPhongBt_Click(object sender, EventArgs e)
        {
            NgayDen = ngayNhanPicker.Value.ToString("yyyy-MM-dd");
            NgayDi  = ngayTraPicker.Value.ToString("yyyy-MM-dd");
            this.Hide();
            ChonPhong formChonPhong = new ChonPhong();

            formChonPhong.FormClosed += FormChonPhong_FormClosed;
            formChonPhong.ShowDialog();
        }
Ejemplo n.º 2
0
        private void ChonPhongBt_Click(object sender, EventArgs e)
        {
            this.Hide();
            ChonPhong formChonPhong = new ChonPhong();
            formChonPhong.FormClosed += FormChonPhong_FormClosed;
            formChonPhong.ShowDialog();

            //phongDataGrid.DataSource = formChonPhong.maPhong;
            //phongDataGrid.Refresh();

        }