Beispiel #1
0
        /// <summary>Initializes a new instance of the <see cref="Main" /> class.</summary>
        public Main()
        {
            InitializeComponent();

            control = null;
            theme   = new Theme(Settings.DefaultValue.DefaultStyle);

            foreach (Type controlType in ControlManager.ControlsSupported())
            {
                cbControls.Items.Add(controlType.FullName);
            }

            cbControls.SelectedIndex    = 0;
            tabController.SelectedIndex = 0;

            LoadTheme(theme);

            tbName.Text   = "UnnamedTheme";
            tbAuthor.Text = "Unknown";

            saved = true;

            UpdateSelection();
        }