Esempio n. 1
0
        private void LoadTheme(Theme theme)
        {
            ThemeCreator themeCreator = new ThemeCreator(theme);

            themeCreator.Show(tabControl_Main);
            themeCreator.ThemeChanged     += new EventHandler(ThemeChanged);
            themeCreator.ThemeNameChanged += new EventHandler(ThemeNameChanged);
            SelectedDocument = theme;
        }
Esempio n. 2
0
        private Theme CreateTheme()
        {
            ThemeCreator themeCreator = new ThemeCreator();

            themeCreator.Show(tabControl_Main);
            themeCreator.ThemeChanged     += new EventHandler(ThemeChanged);
            themeCreator.ThemeNameChanged += new EventHandler(ThemeNameChanged);
            SelectedDocument = themeCreator.GetTheme();
            return(themeCreator.GetTheme());
        }
Esempio n. 3
0
 public void SetThemeCreator(ThemeCreator creator)
 {
     themeCreator = creator;
 }