public void InitDataView(string apartmentNo) { Apartment apartment = new Apartment(); apartment.GetApartmentInfo(apartmentNo); this.apartmentNo.Text = apartment.ApartmentNo; this.apartmentType.Text = apartment.ApartmentType; this.managerName.Text = apartment.ManagerName; this.apartmentTelephone.Text = apartment.ApartmentTelephone; this.apartmentMemo.Text = apartment.ApartmentMemo; }