Exemple #1
0
        protected void OpenTeamsTemplatesManager()
        {
            var tManager = new TemplatesManager <TeamTemplate, Player>(Core.TemplatesService.TeamTemplateProvider,
                                                                       Core.TemplatesService.GetTemplateEditor <TeamTemplate, Player>());

            tManager.TransientFor = mainWindow;
            tManager.Show();
        }
Exemple #2
0
        public void OpenTeamsTemplatesManager(ITeamTemplatesProvider teamProvider)
        {
            var tManager = new TemplatesManager <TeamTemplate, Player> (teamProvider,
                                                                        new TeamTemplateEditorWidget(teamProvider));

            tManager.TransientFor = mainWindow as Gtk.Window;
            tManager.Show();
        }
Exemple #3
0
        protected void OpenCategoriesTemplatesManager()
        {
            var tManager = new TemplatesManager <Categories, Category>(Core.TemplatesService.CategoriesTemplateProvider,
                                                                       Core.TemplatesService.GetTemplateEditor <Categories, Category>());

            tManager.TransientFor = mainWindow;
            tManager.Show();
        }
Exemple #4
0
        public void OpenCategoriesTemplatesManager(ITemplatesService ts)
        {
            var tManager = new TemplatesManager <Categories, Category> (ts.CategoriesTemplateProvider,
                                                                        new CategoriesTemplateEditorWidget(ts));

            tManager.TransientFor = mainWindow as Gtk.Window;
            tManager.Show();
        }