public classThongTinNguoiDung(SerializationInfo info, StreamingContext context) { User = (string)info.GetValue("User", typeof(string)); Pass = (string)info.GetValue("Pass", typeof(string)); Server = (string)info.GetValue("Server", typeof(string)); CaiDat = (classCaiDatNguoiDung)info.GetValue("CaiDat", typeof(classCaiDatNguoiDung)); }
public classThongTinNguoiDung(string _user, string _pass, string _server, classCaiDatNguoiDung _caidat) { User = _user; Pass = _pass; Server = _server; CaiDat = _caidat; }
public classCaiDatNguoiDung(classCaiDatNguoiDung tempCaiDat) { farmVoKhoiThap = tempCaiDat.farmVoKhoiThap; farmVoKhoiThap_SoLan = tempCaiDat.farmVoKhoiThap_SoLan; farmThamBao = tempCaiDat.farmThamBao; farmThamBao_SoLan = tempCaiDat.farmThamBao_SoLan; phaiNgocDucTrangBi = tempCaiDat.phaiNgocDucTrangBi; phaiNgocDucTrangBi_SoLan = tempCaiDat.phaiNgocDucTrangBi_SoLan; farmThapThiLuyen = tempCaiDat.farmThapThiLuyen; farmThapThiLuyen_SoLan = tempCaiDat.farmThapThiLuyen_SoLan; }