Ejemplo n.º 1
0
        /// <summary>
        /// Initialize a new instance of the KryptonSplitterPanel class.
        /// </summary>
        /// <param name="container">Reference to owning container.</param>
        public KryptonSplitterPanel(KryptonSplitContainer container)
        {
            Debug.Assert(container != null);

            Owner = container;
        }
Ejemplo n.º 2
0
 /// <summary>
 /// Initialize a new instance of the KryptonSplitContainerBehavior class.
 /// </summary>
 /// <param name="relatedDesigner">Reference to the containing designer.</param>
 public KryptonSplitContainerBehavior(IDesigner relatedDesigner)
 {
     _splitContainer = relatedDesigner.Component as KryptonSplitContainer;
 }
Ejemplo n.º 3
0
 public KryptonSplitContainerProxy(KryptonSplitContainer splitContainer)
 {
     _splitContainer = splitContainer;
 }
Ejemplo n.º 4
0
 private void InitializeComponent()
 {
     this.components             = new System.ComponentModel.Container();
     this.kryptonSplitContainer1 = new KryptonSplitContainer();
     this.ktvExplorer            = new KryptonTreeView();
     this.ilExplorer             = new System.Windows.Forms.ImageList(this.components);
     this.colName         = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
     this.colType         = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
     this.colLastModified = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
     ((System.ComponentModel.ISupportInitialize)(this.kryptonSplitContainer1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.kryptonSplitContainer1.Panel1)).BeginInit();
     this.kryptonSplitContainer1.Panel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.kryptonSplitContainer1.Panel2)).BeginInit();
     this.kryptonSplitContainer1.Panel2.SuspendLayout();
     this.kryptonSplitContainer1.SuspendLayout();
     this.SuspendLayout();
     //
     // kryptonSplitContainer1
     //
     this.kryptonSplitContainer1.Cursor   = System.Windows.Forms.Cursors.Default;
     this.kryptonSplitContainer1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.kryptonSplitContainer1.Location = new System.Drawing.Point(0, 0);
     this.kryptonSplitContainer1.Name     = "kryptonSplitContainer1";
     //
     // kryptonSplitContainer1.Panel1
     //
     this.kryptonSplitContainer1.Panel1.Controls.Add(this.ktvExplorer);
     //
     // kryptonSplitContainer1.Panel2
     //
     this.kryptonSplitContainer1.Size             = new System.Drawing.Size(905, 504);
     this.kryptonSplitContainer1.SplitterDistance = 301;
     this.kryptonSplitContainer1.TabIndex         = 0;
     //
     // ktvExplorer
     //
     this.ktvExplorer.Dock            = System.Windows.Forms.DockStyle.Fill;
     this.ktvExplorer.Location        = new System.Drawing.Point(0, 0);
     this.ktvExplorer.Name            = "ktvExplorer";
     this.ktvExplorer.Size            = new System.Drawing.Size(301, 504);
     this.ktvExplorer.StateImageList  = this.ilExplorer;
     this.ktvExplorer.TabIndex        = 0;
     this.ktvExplorer.NodeMouseClick += new System.Windows.Forms.TreeNodeMouseClickEventHandler(this.ktvExplorer_NodeMouseClick);
     this.ktvExplorer.MouseClick     += new System.Windows.Forms.MouseEventHandler(this.ktvExplorer_MouseClick);
     //
     // ilExplorer
     //
     this.ilExplorer.ColorDepth       = System.Windows.Forms.ColorDepth.Depth8Bit;
     this.ilExplorer.ImageSize        = new System.Drawing.Size(16, 16);
     this.ilExplorer.TransparentColor = System.Drawing.Color.Transparent;
     //
     // colName
     //
     this.colName.Text  = "Name";
     this.colName.Width = 225;
     //
     // colType
     //
     this.colType.Text  = "Type";
     this.colType.Width = 181;
     //
     // colLastModified
     //
     this.colLastModified.Text  = "Last Modified";
     this.colLastModified.Width = 212;
     //
     // KryptonExplorer
     //
     this.BackColor = System.Drawing.Color.Transparent;
     this.Controls.Add(this.kryptonSplitContainer1);
     this.Font = new System.Drawing.Font("Segoe UI", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.Name = "KryptonExplorer";
     this.Size = new System.Drawing.Size(905, 504);
     ((System.ComponentModel.ISupportInitialize)(this.kryptonSplitContainer1.Panel1)).EndInit();
     this.kryptonSplitContainer1.Panel1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.kryptonSplitContainer1.Panel2)).EndInit();
     this.kryptonSplitContainer1.Panel2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.kryptonSplitContainer1)).EndInit();
     this.kryptonSplitContainer1.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Ejemplo n.º 5
0
 private void InitializeComponent()
 {
     this.components                = new System.ComponentModel.Container();
     this.kryptonSplitContainer     = new ComponentFactory.Krypton.Toolkit.KryptonSplitContainer();
     this.kryptonSplitContainerSub1 = new ComponentFactory.Krypton.Toolkit.KryptonSplitContainer();
     this.engineScrollBarVertical   = new NeoAxis.Editor.EngineScrollBar();
     this.kryptonSplitContainerSub2 = new ComponentFactory.Krypton.Toolkit.KryptonSplitContainer();
     this.engineScrollBarHorizontal = new NeoAxis.Editor.EngineScrollBar();
     this.timer1 = new System.Windows.Forms.Timer(this.components);
     ((System.ComponentModel.ISupportInitialize)(this.kryptonSplitContainer)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.kryptonSplitContainer.Panel1)).BeginInit();
     this.kryptonSplitContainer.Panel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.kryptonSplitContainer.Panel2)).BeginInit();
     this.kryptonSplitContainer.Panel2.SuspendLayout();
     this.kryptonSplitContainer.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.kryptonSplitContainerSub1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.kryptonSplitContainerSub1.Panel1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.kryptonSplitContainerSub1.Panel2)).BeginInit();
     this.kryptonSplitContainerSub1.Panel2.SuspendLayout();
     this.kryptonSplitContainerSub1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.kryptonSplitContainerSub2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.kryptonSplitContainerSub2.Panel1)).BeginInit();
     this.kryptonSplitContainerSub2.Panel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.kryptonSplitContainerSub2.Panel2)).BeginInit();
     this.kryptonSplitContainerSub2.SuspendLayout();
     this.SuspendLayout();
     //
     // kryptonSplitContainer
     //
     this.kryptonSplitContainer.Cursor = System.Windows.Forms.Cursors.Default;
     //this.kryptonSplitContainer.Dock = System.Windows.Forms.DockStyle.Fill;
     this.kryptonSplitContainer.FixedPanel      = System.Windows.Forms.FixedPanel.Panel2;
     this.kryptonSplitContainer.IsSplitterFixed = true;
     this.kryptonSplitContainer.Location        = new System.Drawing.Point(0, 0);
     this.kryptonSplitContainer.Name            = "kryptonSplitContainer";
     this.kryptonSplitContainer.Orientation     = System.Windows.Forms.Orientation.Horizontal;
     //
     // kryptonSplitContainer.Panel1
     //
     this.kryptonSplitContainer.Panel1.Controls.Add(this.kryptonSplitContainerSub1);
     //
     // kryptonSplitContainer.Panel2
     //
     this.kryptonSplitContainer.Panel2.Controls.Add(this.kryptonSplitContainerSub2);
     this.kryptonSplitContainer.Panel2MinSize    = 16;
     this.kryptonSplitContainer.Size             = new System.Drawing.Size(569, 314);
     this.kryptonSplitContainer.SplitterDistance = 295;
     this.kryptonSplitContainer.SplitterPercent  = 0.93949044585987262D;
     this.kryptonSplitContainer.SplitterWidth    = 0;
     this.kryptonSplitContainer.TabIndex         = 3;
     //
     // kryptonSplitContainerSub1
     //
     this.kryptonSplitContainerSub1.Cursor          = System.Windows.Forms.Cursors.Default;
     this.kryptonSplitContainerSub1.Dock            = System.Windows.Forms.DockStyle.Fill;
     this.kryptonSplitContainerSub1.FixedPanel      = System.Windows.Forms.FixedPanel.Panel2;
     this.kryptonSplitContainerSub1.IsSplitterFixed = true;
     this.kryptonSplitContainerSub1.Location        = new System.Drawing.Point(0, 0);
     this.kryptonSplitContainerSub1.Name            = "kryptonSplitContainerSub1";
     //
     // kryptonSplitContainerSub1.Panel2
     //
     this.kryptonSplitContainerSub1.Panel2.Controls.Add(this.engineScrollBarVertical);
     this.kryptonSplitContainerSub1.Panel2MinSize    = 16;
     this.kryptonSplitContainerSub1.Size             = new System.Drawing.Size(569, 295);
     this.kryptonSplitContainerSub1.SplitterDistance = 549;
     this.kryptonSplitContainerSub1.SplitterPercent  = 0.96485061511423553D;
     this.kryptonSplitContainerSub1.SplitterWidth    = 1;
     this.kryptonSplitContainerSub1.TabIndex         = 0;
     //
     // engineScrollBarVertical
     //
     this.engineScrollBarVertical.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.engineScrollBarVertical.Location = new System.Drawing.Point(0, 0);
     this.engineScrollBarVertical.Name     = "engineScrollBarVertical";
     this.engineScrollBarVertical.Size     = new System.Drawing.Size(19, 295);
     this.engineScrollBarVertical.TabIndex = 0;
     //
     // kryptonSplitContainerSub2
     //
     this.kryptonSplitContainerSub2.Dock            = System.Windows.Forms.DockStyle.Fill;
     this.kryptonSplitContainerSub2.FixedPanel      = System.Windows.Forms.FixedPanel.Panel2;
     this.kryptonSplitContainerSub2.IsSplitterFixed = true;
     this.kryptonSplitContainerSub2.Location        = new System.Drawing.Point(0, 0);
     this.kryptonSplitContainerSub2.Name            = "kryptonSplitContainerSub2";
     //
     // kryptonSplitContainerSub2.Panel1
     //
     this.kryptonSplitContainerSub2.Panel1.Controls.Add(this.engineScrollBarHorizontal);
     this.kryptonSplitContainerSub2.Panel2MinSize    = 16;
     this.kryptonSplitContainerSub2.Size             = new System.Drawing.Size(569, 19);
     this.kryptonSplitContainerSub2.SplitterDistance = 549;
     this.kryptonSplitContainerSub2.SplitterPercent  = 0.96485061511423553D;
     this.kryptonSplitContainerSub2.SplitterWidth    = 1;
     this.kryptonSplitContainerSub2.TabIndex         = 0;
     //
     // engineScrollBarHorizontal
     //
     this.engineScrollBarHorizontal.Dock        = System.Windows.Forms.DockStyle.Fill;
     this.engineScrollBarHorizontal.Location    = new System.Drawing.Point(0, 0);
     this.engineScrollBarHorizontal.MinimumSize = new System.Drawing.Size(102, 0);
     this.engineScrollBarHorizontal.Name        = "engineScrollBarHorizontal";
     this.engineScrollBarHorizontal.Orientation = System.Windows.Forms.Orientation.Horizontal;
     this.engineScrollBarHorizontal.Size        = new System.Drawing.Size(549, 19);
     this.engineScrollBarHorizontal.TabIndex    = 1;
     //
     // timer1
     //
     this.timer1.Interval = 25;
     this.timer1.Tick    += new System.EventHandler(this.timer1_Tick);
     //
     // TextEditorControl
     //
     this.Controls.Add(this.kryptonSplitContainer);
     this.Name  = "TextEditorControl";
     this.Size  = new System.Drawing.Size(569, 314);
     this.Load += new System.EventHandler(this.TextEditorControl_Load);
     ((System.ComponentModel.ISupportInitialize)(this.kryptonSplitContainer.Panel1)).EndInit();
     this.kryptonSplitContainer.Panel1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.kryptonSplitContainer.Panel2)).EndInit();
     this.kryptonSplitContainer.Panel2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.kryptonSplitContainer)).EndInit();
     this.kryptonSplitContainer.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.kryptonSplitContainerSub1.Panel1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.kryptonSplitContainerSub1.Panel2)).EndInit();
     this.kryptonSplitContainerSub1.Panel2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.kryptonSplitContainerSub1)).EndInit();
     this.kryptonSplitContainerSub1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.kryptonSplitContainerSub2.Panel1)).EndInit();
     this.kryptonSplitContainerSub2.Panel1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.kryptonSplitContainerSub2.Panel2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.kryptonSplitContainerSub2)).EndInit();
     this.kryptonSplitContainerSub2.ResumeLayout(false);
     this.ResumeLayout(false);
 }