SetPanel() public method

Sets the panel. When panel is null, welcome panel is shown. Depending on current panel and new panel stacking may happen
public SetPanel ( IPanel panel ) : bool
panel IPanel Panel.
return bool
示例#1
0
        public void OpenCategoriesTemplatesManager()
        {
            SportsTemplatesPanel panel = new SportsTemplatesPanel();

            Log.Information("Open sports templates manager");
            mainWindow.SetPanel(panel);
        }
示例#2
0
 public override bool LoadPanel(IPanel panel)
 {
     return(MainWindow.SetPanel(panel));
 }