Пример #1
0
        private void picture_Click(object sender, EventArgs e)
        {
            this.ParentForm.Hide();
            QuanLiPhong phong = new QuanLiPhong();

            phong.MACHINHANH  = machinhanh;
            phong.TENPHONG    = tenphong;
            phong.MAPHONG     = maphong;
            phong.SDT         = sdt;
            phong.MAHD        = mahd;
            phong.MANV        = manv;
            phong.TENCHINHANH = tenchinhanh;
            phong.TENNV       = tennv;
            phong.ShowDialog();
            this.ParentForm.Close();
        }
Пример #2
0
        private void pbTroVe_Click(object sender, EventArgs e)
        {
            this.Hide();
            QuanLiPhong quanli = new QuanLiPhong();

            quanli.MANV        = manv;
            quanli.MAPHONG     = maphong;
            quanli.TENNV       = tennv;
            quanli.TENPHONG    = tenphong;
            quanli.MAHD        = mahd;
            quanli.SDT         = sdt;
            quanli.TENCHINHANH = tenchinhanh;
            quanli.MACHINHANH  = machinhanh;
            quanli.ShowDialog();
            this.Close();
        }