protected void OpenTeamsTemplatesManager() { var tManager = new TemplatesManager <TeamTemplate, Player>(Core.TemplatesService.TeamTemplateProvider, Core.TemplatesService.GetTemplateEditor <TeamTemplate, Player>()); tManager.TransientFor = mainWindow; tManager.Show(); }
public void OpenTeamsTemplatesManager(ITeamTemplatesProvider teamProvider) { var tManager = new TemplatesManager <TeamTemplate, Player> (teamProvider, new TeamTemplateEditorWidget(teamProvider)); tManager.TransientFor = mainWindow as Gtk.Window; tManager.Show(); }
protected void OpenCategoriesTemplatesManager() { var tManager = new TemplatesManager <Categories, Category>(Core.TemplatesService.CategoriesTemplateProvider, Core.TemplatesService.GetTemplateEditor <Categories, Category>()); tManager.TransientFor = mainWindow; tManager.Show(); }
public void OpenCategoriesTemplatesManager(ITemplatesService ts) { var tManager = new TemplatesManager <Categories, Category> (ts.CategoriesTemplateProvider, new CategoriesTemplateEditorWidget(ts)); tManager.TransientFor = mainWindow as Gtk.Window; tManager.Show(); }