Ejemplo n.º 1
0
        public ExplorerSkinWindow(TopLevelWindow window, ExplorerSkin skin) : base(window, skin, true)
        {
            LockUpdate = true;
            SetExplorerWindow(window);
            TitleControl.Visible            = false;
            TitleBackgroundControl1.Visible = false;

            AddressBar = new LayeredBreadcrumbs(TopBorder1);
            TopBorder1.Controls.Remove(AddressBar);
            TopBorder1.Controls.Insert(0, AddressBar);

            SearchButton          = new LayeredTextbox(TopBorder1);
            SearchButton.SizeType = LayeredButton.SizingType.SizeToDefault;

            NavigateBackButton         = new LayeredImageButton(TopBorder1);
            NavigateBackButton.Enabled = false;

            NavigateForwardButton         = new LayeredImageButton(TopBorder1);
            NavigateForwardButton.Enabled = false;

            HistoryButton         = new LayeredImageButton(TopBorder1);
            HistoryButton.Enabled = false;

            RefreshButton   = new LayeredImageButton(TopBorder1);
            DownArrowButton = new LayeredImageButton(TopBorder1);

            HistoryList = new List <string>();

            ExplorerSkin = skin;
            LockUpdate   = false;

            _explorerSettingsUpdateHandler = new ExplorerSettingsUpdateHandler(this);
        }
Ejemplo n.º 2
0
        public ExplorerSkinWindow(TopLevelWindow window, ExplorerSkin skin)
            : base(window, skin, true)
        {
            LockUpdate = true;
            SetExplorerWindow(window);
            TitleControl.Visible = false;
            TitleBackgroundControl1.Visible = false;

            AddressBar = new LayeredBreadcrumbs(TopBorder1);
            TopBorder1.Controls.Remove(AddressBar);
            TopBorder1.Controls.Insert(0, AddressBar);

            SearchButton = new LayeredTextbox(TopBorder1);
            SearchButton.SizeType = LayeredButton.SizingType.SizeToDefault;

            NavigateBackButton = new LayeredImageButton(TopBorder1);
            NavigateBackButton.Enabled = false;

            NavigateForwardButton = new LayeredImageButton(TopBorder1);
            NavigateForwardButton.Enabled = false;

            HistoryButton = new LayeredImageButton(TopBorder1);
            HistoryButton.Enabled = false;

            RefreshButton = new LayeredImageButton(TopBorder1);
            DownArrowButton = new LayeredImageButton(TopBorder1);

            HistoryList = new List<string>();

            ExplorerSkin = skin;
            LockUpdate = false;

            _explorerSettingsUpdateHandler = new ExplorerSettingsUpdateHandler(this);
        }