public void OpenTeamsTemplatesManager(ITeamTemplatesProvider teamProvider)
 {
     var tManager = new TemplatesManager<TeamTemplate, Player> (teamProvider,
                                                                new TeamTemplateEditorWidget(teamProvider));
     tManager.TransientFor = mainWindow as Gtk.Window;
     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();
 }