A Control to somewhat emulate the 'backstage view' as in MS Office 2010
'Tabs' are added as a control in a BackstageViewPage
Inheritance: System.Windows.Forms.UserControl, IContainerControl
Ejemplo n.º 1
0
 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; }
 }
Ejemplo n.º 2
0
 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; }
 }