Ejemplo 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;
        }
Ejemplo 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());
        }
Ejemplo n.º 3
0
 public void SetThemeCreator(ThemeCreator creator)
 {
     themeCreator = creator;
 }