示例#1
0
        public Explorer()
        {
            explorerHeader = new ExplorerHeader(explorerBrowser);

            this.SuspendLayout();

            this.explorerHeader.ColorBottom        = this.ColorBottom;
            this.explorerHeader.ColorTop           = this.ColorTop;
            this.explorerHeader.DisallowNavigation = false;
            this.explorerHeader.Dock          = DockStyle.Fill;
            this.explorerHeader.InitDirectory = null;
            this.explorerHeader.Location      = new Point(0, 0);
            this.explorerHeader.TabIndex      = 1;
            this.explorerBrowser.TabStop      = true;

            this.explorerBrowser.Dock            = DockStyle.Fill;
            this.explorerBrowser.PropertyBagName = "Oliver Kohl D.Sc. Explorer";
            this.explorerBrowser.TabIndex        = 2;
            this.explorerBrowser.TabStop         = false;

            this.splitContainer1.Dock             = DockStyle.Fill;
            this.splitContainer1.FixedPanel       = FixedPanel.Panel1;
            this.splitContainer1.IsSplitterFixed  = true;
            this.splitContainer1.Location         = new Point(0, 0);
            this.splitContainer1.Orientation      = Orientation.Horizontal;
            this.splitContainer1.SplitterDistance = this.explorerHeader.Height;
            this.splitContainer1.SplitterWidth    = 1;
            this.splitContainer1.TabIndex         = 0;
            this.explorerBrowser.TabStop          = false;

            this.splitContainer1.Panel1.Controls.Add(this.explorerHeader);
            this.splitContainer1.Panel1.Size = new Size(this.explorerHeader.Width, this.explorerHeader.Height);
            this.splitContainer1.Panel2.Controls.Add(this.explorerBrowser);

            this.Controls.Add(splitContainer1);

            this.AutoScaleMode = AutoScaleMode.Font;
            this.Name          = "Explorer";
            this.AutoSize      = true;
            this.BackColor     = Color.Transparent;

            this.ResumeLayout(false);
        }
示例#2
0
        public Explorer()
        {
            explorerHeader = new ExplorerHeader(explorerBrowser);

            this.SuspendLayout();

            this.explorerHeader.ColorBottom = this.ColorBottom;
            this.explorerHeader.ColorTop = this.ColorTop;
            this.explorerHeader.DisallowNavigation = false;
            this.explorerHeader.Dock = DockStyle.Fill;
            this.explorerHeader.InitDirectory = null;
            this.explorerHeader.Location = new Point(0, 0);
            this.explorerHeader.TabIndex = 1;
            this.explorerBrowser.TabStop = true;

            this.explorerBrowser.Dock = DockStyle.Fill;
            this.explorerBrowser.PropertyBagName = "Oliver Kohl D.Sc. Explorer";
            this.explorerBrowser.TabIndex = 2;
            this.explorerBrowser.TabStop = false;

            this.splitContainer1.Dock = DockStyle.Fill;
            this.splitContainer1.FixedPanel = FixedPanel.Panel1;
            this.splitContainer1.IsSplitterFixed = true;
            this.splitContainer1.Location = new Point(0, 0);
            this.splitContainer1.Orientation = Orientation.Horizontal;
            this.splitContainer1.SplitterDistance = this.explorerHeader.Height;
            this.splitContainer1.SplitterWidth = 1;
            this.splitContainer1.TabIndex = 0;
            this.explorerBrowser.TabStop = false;

            this.splitContainer1.Panel1.Controls.Add(this.explorerHeader);
            this.splitContainer1.Panel1.Size = new Size(this.explorerHeader.Width, this.explorerHeader.Height);
            this.splitContainer1.Panel2.Controls.Add(this.explorerBrowser);

            this.Controls.Add(splitContainer1);

            this.AutoScaleMode = AutoScaleMode.Font;
            this.Name = "Explorer";
            this.AutoSize = true;
            this.BackColor = Color.Transparent;

            this.ResumeLayout(false);
        }