private void PopulateControl() { try { IsEdit = true; txtRegionID.Text = RegionID.ToString(); txtRegionName.Text = RegionName.ToString(); } catch (Exception ex) { throw ex; } }
public void ShowView(String viewName, RegionName regionName, Action<UserControl> initialization) { var view = this._viewFactory.GetView(viewName); initialization.Invoke(view); _regionManager.AddToRegion(regionName.ToString(), view); }
public void ShowView(String viewName, RegionName regionName) { var view = this._viewFactory.GetView(viewName); _regionManager.AddToRegion(regionName.ToString(), view); }