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

            _regionManager.AddToRegion(regionName.ToString(), view);
        }