| | |
| | | using PBS.Model; |
| | | using PBS.Vmo; |
| | | |
| | | namespace PBS.WinFrmUI |
| | | { |
| | |
| | | return isExist; |
| | | } |
| | | |
| | | public PlaceSchoolParasInfo GetData() |
| | | public PlaceSchoolParasInfoVmo GetData() |
| | | { |
| | | if (!Valid()) |
| | | { |
| | | return null; |
| | | } |
| | | var m = new PlaceSchoolParasInfo() |
| | | var m = new PlaceSchoolParasInfoVmo() |
| | | { |
| | | /*Address = txtAddress.Text, |
| | | Area = (long?)this.cbArea.EditValue, |
| | |
| | | return m; |
| | | } |
| | | |
| | | public void SetData(PlaceSchoolParasInfo model) |
| | | public void SetData(PlaceSchoolParasInfoVmo model) |
| | | { |
| | | if (model == null) return; |
| | | /* txtAddress.Text = model.Address; |