private BackstageView.BackstageViewPage AddBackstageViewPage(UserControl userControl, string headerText, BackstageView.BackstageViewPage Parent = null) { try { return backstageView.AddPage(userControl, headerText, Parent); } catch (Exception ex) { log.Error(ex); return null; } }
private BackstageView.BackstageViewPage AddBackstageViewPage(UserControl userControl, string headerText, BackstageView.BackstageViewPage Parent = null) { try { log.Debug("adding page "+ headerText); var obj = backstageView.AddPage(userControl, headerText, Parent); log.Debug("done page " + headerText); return obj; } catch (Exception ex) { log.Error(ex); return null; } }