Ejemplo n.º 1
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(DicomDumpForm));
     this.treeDump = new Aga.Controls.Tree.TreeViewAdv();
     this.ElementColumn = new Aga.Controls.Tree.TreeColumn();
     this.VrColumn = new Aga.Controls.Tree.TreeColumn();
     this.LengthColumn = new Aga.Controls.Tree.TreeColumn();
     this.ValueColumn = new Aga.Controls.Tree.TreeColumn();
     this.nvIcon = new Aga.Controls.Tree.NodeControls.NodeIcon();
     this.ncTag = new Aga.Controls.Tree.NodeControls.NodeTextBox();
     this.ncName = new Aga.Controls.Tree.NodeControls.NodeTextBox();
     this.nvVR = new Aga.Controls.Tree.NodeControls.NodeTextBox();
     this.nvLength = new Aga.Controls.Tree.NodeControls.NodeTextBox();
     this.nvValue = new Aga.Controls.Tree.NodeControls.NodeTextBox();
     this.toolStripContainer1 = new System.Windows.Forms.ToolStripContainer();
     this.toolStrip1 = new System.Windows.Forms.ToolStrip();
     this.tsbOpenFile = new System.Windows.Forms.ToolStripButton();
     this.tsbClose = new System.Windows.Forms.ToolStripButton();
     this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
     this.tsbDictionary = new System.Windows.Forms.ToolStripButton();
     this.tsbViewImage = new System.Windows.Forms.ToolStripButton();
     this.tsbAdvanced = new System.Windows.Forms.ToolStripDropDownButton();
     this.tsbExtractPixels = new System.Windows.Forms.ToolStripMenuItem();
     this.tsbSaveTS = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
     this.tsbPrev = new System.Windows.Forms.ToolStripButton();
     this.tsbNext = new System.Windows.Forms.ToolStripButton();
     this.lblCount = new System.Windows.Forms.ToolStripLabel();
     this.tsbPixelDataMD5 = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStripContainer1.ContentPanel.SuspendLayout();
     this.toolStripContainer1.TopToolStripPanel.SuspendLayout();
     this.toolStripContainer1.SuspendLayout();
     this.toolStrip1.SuspendLayout();
     this.SuspendLayout();
     //
     // treeDump
     //
     this.treeDump.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                 | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.treeDump.BackColor = System.Drawing.SystemColors.Window;
     this.treeDump.Columns.Add(this.ElementColumn);
     this.treeDump.Columns.Add(this.VrColumn);
     this.treeDump.Columns.Add(this.LengthColumn);
     this.treeDump.Columns.Add(this.ValueColumn);
     this.treeDump.Cursor = System.Windows.Forms.Cursors.Default;
     this.treeDump.DefaultToolTipProvider = null;
     this.treeDump.DragDropMarkColor = System.Drawing.Color.Black;
     this.treeDump.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.treeDump.FullRowSelect = true;
     this.treeDump.LineColor = System.Drawing.SystemColors.ControlDark;
     this.treeDump.Location = new System.Drawing.Point(12, 12);
     this.treeDump.Model = null;
     this.treeDump.Name = "treeDump";
     this.treeDump.NodeControls.Add(this.nvIcon);
     this.treeDump.NodeControls.Add(this.ncTag);
     this.treeDump.NodeControls.Add(this.ncName);
     this.treeDump.NodeControls.Add(this.nvVR);
     this.treeDump.NodeControls.Add(this.nvLength);
     this.treeDump.NodeControls.Add(this.nvValue);
     this.treeDump.RowHeight = 18;
     this.treeDump.SelectedNode = null;
     this.treeDump.Size = new System.Drawing.Size(711, 367);
     this.treeDump.TabIndex = 0;
     this.treeDump.UseColumns = true;
     this.treeDump.NodeMouseDoubleClick += new System.EventHandler<Aga.Controls.Tree.TreeNodeAdvMouseEventArgs>(this.treeDump_NodeMouseDoubleClick);
     this.treeDump.SizeChanged += new System.EventHandler(this.treeDump_SizeChanged);
     //
     // ElementColumn
     //
     this.ElementColumn.Header = "Element";
     this.ElementColumn.SortOrder = System.Windows.Forms.SortOrder.None;
     this.ElementColumn.TooltipText = null;
     this.ElementColumn.Width = 300;
     //
     // VrColumn
     //
     this.VrColumn.Header = "VR";
     this.VrColumn.SortOrder = System.Windows.Forms.SortOrder.None;
     this.VrColumn.TooltipText = null;
     //
     // LengthColumn
     //
     this.LengthColumn.Header = "Length";
     this.LengthColumn.SortOrder = System.Windows.Forms.SortOrder.None;
     this.LengthColumn.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
     this.LengthColumn.TooltipText = null;
     this.LengthColumn.Width = 80;
     //
     // ValueColumn
     //
     this.ValueColumn.Header = "Value";
     this.ValueColumn.SortOrder = System.Windows.Forms.SortOrder.None;
     this.ValueColumn.TooltipText = null;
     this.ValueColumn.Width = 250;
     //
     // nvIcon
     //
     this.nvIcon.DataPropertyName = "Icon";
     this.nvIcon.LeftMargin = 1;
     this.nvIcon.ParentColumn = this.ElementColumn;
     this.nvIcon.ScaleMode = Aga.Controls.Tree.ImageScaleMode.Clip;
     //
     // ncTag
     //
     this.ncTag.DataPropertyName = "ElementTag";
     this.ncTag.IncrementalSearchEnabled = true;
     this.ncTag.LeftMargin = 3;
     this.ncTag.ParentColumn = this.ElementColumn;
     //
     // ncName
     //
     this.ncName.DataPropertyName = "Name";
     this.ncName.IncrementalSearchEnabled = true;
     this.ncName.LeftMargin = 3;
     this.ncName.ParentColumn = this.ElementColumn;
     this.ncName.Trimming = System.Drawing.StringTrimming.EllipsisCharacter;
     //
     // nvVR
     //
     this.nvVR.DataPropertyName = "VR";
     this.nvVR.IncrementalSearchEnabled = true;
     this.nvVR.LeftMargin = 3;
     this.nvVR.ParentColumn = this.VrColumn;
     //
     // nvLength
     //
     this.nvLength.DataPropertyName = "Length";
     this.nvLength.IncrementalSearchEnabled = true;
     this.nvLength.LeftMargin = 3;
     this.nvLength.ParentColumn = this.LengthColumn;
     this.nvLength.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
     //
     // nvValue
     //
     this.nvValue.DataPropertyName = "Value";
     this.nvValue.IncrementalSearchEnabled = true;
     this.nvValue.LeftMargin = 3;
     this.nvValue.ParentColumn = this.ValueColumn;
     this.nvValue.Trimming = System.Drawing.StringTrimming.EllipsisCharacter;
     //
     // toolStripContainer1
     //
     //
     // toolStripContainer1.ContentPanel
     //
     this.toolStripContainer1.ContentPanel.Controls.Add(this.treeDump);
     this.toolStripContainer1.ContentPanel.Size = new System.Drawing.Size(735, 391);
     this.toolStripContainer1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.toolStripContainer1.Location = new System.Drawing.Point(0, 0);
     this.toolStripContainer1.Name = "toolStripContainer1";
     this.toolStripContainer1.Size = new System.Drawing.Size(735, 416);
     this.toolStripContainer1.TabIndex = 1;
     this.toolStripContainer1.Text = "toolStripContainer1";
     //
     // toolStripContainer1.TopToolStripPanel
     //
     this.toolStripContainer1.TopToolStripPanel.Controls.Add(this.toolStrip1);
     //
     // toolStrip1
     //
     this.toolStrip1.Dock = System.Windows.Forms.DockStyle.None;
     this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
     this.tsbOpenFile,
     this.tsbClose,
     this.toolStripSeparator1,
     this.tsbDictionary,
     this.tsbViewImage,
     this.tsbAdvanced,
     this.toolStripSeparator2,
     this.tsbPrev,
     this.tsbNext,
     this.lblCount});
     this.toolStrip1.Location = new System.Drawing.Point(3, 0);
     this.toolStrip1.Name = "toolStrip1";
     this.toolStrip1.Size = new System.Drawing.Size(571, 25);
     this.toolStrip1.TabIndex = 0;
     //
     // tsbOpenFile
     //
     this.tsbOpenFile.Image = ((System.Drawing.Image)(resources.GetObject("tsbOpenFile.Image")));
     this.tsbOpenFile.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.tsbOpenFile.Name = "tsbOpenFile";
     this.tsbOpenFile.Size = new System.Drawing.Size(77, 22);
     this.tsbOpenFile.Text = "&Open File";
     this.tsbOpenFile.Click += new System.EventHandler(this.tsbOpenFile_Click);
     //
     // tsbClose
     //
     this.tsbClose.Image = ((System.Drawing.Image)(resources.GetObject("tsbClose.Image")));
     this.tsbClose.ImageTransparentColor = System.Drawing.Color.Black;
     this.tsbClose.Name = "tsbClose";
     this.tsbClose.Size = new System.Drawing.Size(56, 22);
     this.tsbClose.Text = "Close";
     this.tsbClose.Click += new System.EventHandler(this.OnClickClose);
     //
     // toolStripSeparator1
     //
     this.toolStripSeparator1.Name = "toolStripSeparator1";
     this.toolStripSeparator1.Size = new System.Drawing.Size(6, 25);
     //
     // tsbDictionary
     //
     this.tsbDictionary.Image = ((System.Drawing.Image)(resources.GetObject("tsbDictionary.Image")));
     this.tsbDictionary.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.tsbDictionary.Name = "tsbDictionary";
     this.tsbDictionary.Size = new System.Drawing.Size(81, 22);
     this.tsbDictionary.Text = "Dictionary";
     this.tsbDictionary.Click += new System.EventHandler(this.tsbDictionary_Click);
     //
     // tsbViewImage
     //
     this.tsbViewImage.Enabled = false;
     this.tsbViewImage.Image = ((System.Drawing.Image)(resources.GetObject("tsbViewImage.Image")));
     this.tsbViewImage.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.tsbViewImage.Name = "tsbViewImage";
     this.tsbViewImage.Size = new System.Drawing.Size(88, 22);
     this.tsbViewImage.Text = "View Image";
     this.tsbViewImage.Click += new System.EventHandler(this.OnViewImage);
     //
     // tsbAdvanced
     //
     this.tsbAdvanced.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
     this.tsbExtractPixels,
     this.tsbPixelDataMD5,
     this.tsbSaveTS});
     this.tsbAdvanced.Image = ((System.Drawing.Image)(resources.GetObject("tsbAdvanced.Image")));
     this.tsbAdvanced.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.tsbAdvanced.Name = "tsbAdvanced";
     this.tsbAdvanced.Size = new System.Drawing.Size(89, 22);
     this.tsbAdvanced.Text = "Advanced";
     //
     // tsbExtractPixels
     //
     this.tsbExtractPixels.Enabled = false;
     this.tsbExtractPixels.Name = "tsbExtractPixels";
     this.tsbExtractPixels.Size = new System.Drawing.Size(198, 22);
     this.tsbExtractPixels.Text = "Extract Pixel Data";
     this.tsbExtractPixels.Click += new System.EventHandler(this.OnClickExtractPixels);
     //
     // tsbSaveTS
     //
     this.tsbSaveTS.Enabled = false;
     this.tsbSaveTS.Name = "tsbSaveTS";
     this.tsbSaveTS.Size = new System.Drawing.Size(198, 22);
     this.tsbSaveTS.Text = "Save /w Transfer Syntax";
     this.tsbSaveTS.Click += new System.EventHandler(this.OnClickSaveWithTransferSyntax);
     //
     // toolStripSeparator2
     //
     this.toolStripSeparator2.Name = "toolStripSeparator2";
     this.toolStripSeparator2.Size = new System.Drawing.Size(6, 25);
     //
     // tsbPrev
     //
     this.tsbPrev.Enabled = false;
     this.tsbPrev.Image = ((System.Drawing.Image)(resources.GetObject("tsbPrev.Image")));
     this.tsbPrev.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.tsbPrev.Name = "tsbPrev";
     this.tsbPrev.Size = new System.Drawing.Size(50, 22);
     this.tsbPrev.Text = "Prev";
     this.tsbPrev.Click += new System.EventHandler(this.OnClickPrev);
     //
     // tsbNext
     //
     this.tsbNext.Enabled = false;
     this.tsbNext.Image = ((System.Drawing.Image)(resources.GetObject("tsbNext.Image")));
     this.tsbNext.ImageTransparentColor = System.Drawing.Color.Magenta;
     this.tsbNext.Name = "tsbNext";
     this.tsbNext.Size = new System.Drawing.Size(51, 22);
     this.tsbNext.Text = "Next";
     this.tsbNext.TextImageRelation = System.Windows.Forms.TextImageRelation.TextBeforeImage;
     this.tsbNext.Click += new System.EventHandler(this.OnClickNext);
     //
     // lblCount
     //
     this.lblCount.Name = "lblCount";
     this.lblCount.Size = new System.Drawing.Size(24, 22);
     this.lblCount.Text = "0/0";
     //
     // tsbPixelDataMD5
     //
     this.tsbPixelDataMD5.Enabled = false;
     this.tsbPixelDataMD5.Name = "tsbPixelDataMD5";
     this.tsbPixelDataMD5.Size = new System.Drawing.Size(198, 22);
     this.tsbPixelDataMD5.Text = "Pixel Data MD5";
     this.tsbPixelDataMD5.Click += new System.EventHandler(this.OnClickPixelDataMD5);
     //
     // DicomDumpForm
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize = new System.Drawing.Size(735, 416);
     this.Controls.Add(this.toolStripContainer1);
     this.Name = "DicomDumpForm";
     this.Text = "DICOM Dump";
     this.Shown += new System.EventHandler(this.OnFormShown);
     this.Click += new System.EventHandler(this.OnClickSaveWithTransferSyntax);
     this.toolStripContainer1.ContentPanel.ResumeLayout(false);
     this.toolStripContainer1.TopToolStripPanel.ResumeLayout(false);
     this.toolStripContainer1.TopToolStripPanel.PerformLayout();
     this.toolStripContainer1.ResumeLayout(false);
     this.toolStripContainer1.PerformLayout();
     this.toolStrip1.ResumeLayout(false);
     this.toolStrip1.PerformLayout();
     this.ResumeLayout(false);
 }
        public ShaderFragmentArchiveControl(
            NodeEditorCore.ShaderFragmentArchiveModel archiveModel)
        {
            DoubleBuffered = false;

            Margin = new System.Windows.Forms.Padding(0);

            var fragmentTree    = new Aga.Controls.Tree.TreeViewAdv();
            var treeColumn1     = new Aga.Controls.Tree.TreeColumn();
            var treeColumn3     = new Aga.Controls.Tree.TreeColumn();
            var treeColumn4     = new Aga.Controls.Tree.TreeColumn();
            var treeColumn5     = new Aga.Controls.Tree.TreeColumn();
            var icon            = new Aga.Controls.Tree.NodeControls.NodeStateIcon();
            var visibleName     = new Aga.Controls.Tree.NodeControls.NodeTextBox();
            var returnType      = new Aga.Controls.Tree.NodeControls.NodeTextBox();
            var parameters      = new Aga.Controls.Tree.NodeControls.NodeTextBox();
            var exceptionString = new Aga.Controls.Tree.NodeControls.NodeTextBox();

            // treeColumn1
            treeColumn1.Header      = "Name";
            treeColumn1.SortOrder   = System.Windows.Forms.SortOrder.None;
            treeColumn1.TooltipText = null;
            treeColumn1.Width       = 300;
            // treeColumn3
            treeColumn3.Header      = "ReturnType";
            treeColumn3.SortOrder   = System.Windows.Forms.SortOrder.None;
            treeColumn3.TooltipText = null;
            treeColumn3.Width       = 75;
            // treeColumn4
            treeColumn4.Header      = "Parameters";
            treeColumn4.SortOrder   = System.Windows.Forms.SortOrder.None;
            treeColumn4.TooltipText = null;
            treeColumn4.Width       = 400;
            // treeColumn5
            treeColumn5.Header      = "Exception";
            treeColumn5.SortOrder   = System.Windows.Forms.SortOrder.None;
            treeColumn5.TooltipText = null;
            treeColumn5.Width       = 200;
            // _icon
            icon.DataPropertyName = "Icon";
            icon.LeftMargin       = 1;
            icon.ParentColumn     = treeColumn1;
            icon.ScaleMode        = Aga.Controls.Tree.ImageScaleMode.Clip;
            // _visibleName
            visibleName.DataPropertyName         = "Name";
            visibleName.IncrementalSearchEnabled = true;
            visibleName.LeftMargin   = 8;
            visibleName.ParentColumn = treeColumn1;
            visibleName.Trimming     = System.Drawing.StringTrimming.EllipsisCharacter;
            // visibleName.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            visibleName.UseCompatibleTextRendering = true;
            // _returnType
            returnType.DataPropertyName         = "ReturnType";
            returnType.IncrementalSearchEnabled = true;
            returnType.LeftMargin   = 3;
            returnType.ParentColumn = treeColumn3;
            returnType.UseCompatibleTextRendering = true;
            // _parameters
            parameters.DataPropertyName         = "Parameters";
            parameters.IncrementalSearchEnabled = true;
            parameters.LeftMargin   = 3;
            parameters.ParentColumn = treeColumn4;
            parameters.UseCompatibleTextRendering = true;
            // _exceptionString
            exceptionString.DataPropertyName         = "ExceptionString";
            exceptionString.IncrementalSearchEnabled = true;
            exceptionString.LeftMargin   = 3;
            exceptionString.ParentColumn = treeColumn5;
            exceptionString.UseCompatibleTextRendering = true;
            // fragment tree
            fragmentTree.BackColor   = System.Drawing.Color.Silver;
            fragmentTree.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            fragmentTree.ColumnFont  = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            fragmentTree.Columns.Add(treeColumn1);
            fragmentTree.Columns.Add(treeColumn3);
            fragmentTree.Columns.Add(treeColumn4);
            fragmentTree.Columns.Add(treeColumn5);
            fragmentTree.DefaultToolTipProvider = null;
            fragmentTree.Dock = System.Windows.Forms.DockStyle.Fill;
            fragmentTree.DragDropMarkColor = System.Drawing.Color.Black;
            fragmentTree.Font = System.Drawing.SystemFonts.MenuFont;
            // new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            fragmentTree.ForeColor     = System.Drawing.Color.Gray;
            fragmentTree.FullRowSelect = true;
            fragmentTree.GridLineStyle = ((Aga.Controls.Tree.GridLineStyle)((Aga.Controls.Tree.GridLineStyle.Horizontal | Aga.Controls.Tree.GridLineStyle.Vertical)));
            fragmentTree.LineColor     = System.Drawing.Color.White;
            fragmentTree.LoadOnDemand  = true;
            fragmentTree.Location      = new System.Drawing.Point(0, 0);
            fragmentTree.Model         = null;
            fragmentTree.Name          = "_fragmentTree";
            fragmentTree.NodeControls.Add(icon);
            fragmentTree.NodeControls.Add(visibleName);
            fragmentTree.NodeControls.Add(returnType);
            fragmentTree.NodeControls.Add(parameters);
            fragmentTree.NodeControls.Add(exceptionString);
            fragmentTree.RowHeight    = 32;
            fragmentTree.SelectedNode = null;
            fragmentTree.Size         = new System.Drawing.Size(288, 311);
            fragmentTree.TabIndex     = 3;
            fragmentTree.UseColumns   = true;
            // fragmentTree.MouseEnter += new System.EventHandler(this.OnFragmentsMouseEnter);
            // fragmentTree.MouseLeave += new System.EventHandler(this.OnFragmentsMouseLeave);

            fragmentTree.Padding = new System.Windows.Forms.Padding(0);
            fragmentTree.Dock    = System.Windows.Forms.DockStyle.Fill;

            fragmentTree.Model     = new Aga.Controls.Tree.SortedTreeModel(archiveModel);
            fragmentTree.ItemDrag += new ItemDragEventHandler(OnFragmentTreeItemDrag);

            Controls.Add(fragmentTree);
        }
Ejemplo n.º 3
0
        private void InitializeComponent()
        {
            this.treeViewAdv1 = new Aga.Controls.Tree.TreeViewAdv();
            this.treeColumn1  = new Aga.Controls.Tree.TreeColumn();
            this.treeColumn2  = new Aga.Controls.Tree.TreeColumn();
            this.treeColumn3  = new Aga.Controls.Tree.TreeColumn();
            this.treeColumn4  = new Aga.Controls.Tree.TreeColumn();
            this._name        = new Aga.Controls.Tree.NodeControls.NodeTextBox();
            this._type        = new Aga.Controls.Tree.NodeControls.NodeTextBox();
            this._value       = new Aga.Controls.Tree.NodeControls.NodeTextBox();
            this._size        = new Aga.Controls.Tree.NodeControls.NodeTextBox();
            this.SuspendLayout();
            //
            // treeViewAdv1
            //
            this.treeViewAdv1.AllowColumnReorder = true;
            this.treeViewAdv1.BackColor          = System.Drawing.SystemColors.Window;
            this.treeViewAdv1.Columns.Add(this.treeColumn1);
            this.treeViewAdv1.Columns.Add(this.treeColumn2);
            this.treeViewAdv1.Columns.Add(this.treeColumn3);
            this.treeViewAdv1.Columns.Add(this.treeColumn4);
            this.treeViewAdv1.Cursor = System.Windows.Forms.Cursors.Default;
            this.treeViewAdv1.DefaultToolTipProvider = null;
            this.treeViewAdv1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.treeViewAdv1.DragDropMarkColor = System.Drawing.Color.Black;
            this.treeViewAdv1.GridLineStyle     = ((Aga.Controls.Tree.GridLineStyle)((Aga.Controls.Tree.GridLineStyle.Horizontal | Aga.Controls.Tree.GridLineStyle.Vertical)));
            this.treeViewAdv1.LineColor         = System.Drawing.SystemColors.ControlDark;
            this.treeViewAdv1.Location          = new System.Drawing.Point(0, 0);
            this.treeViewAdv1.Model             = null;
            this.treeViewAdv1.Name = "treeViewAdv1";
            this.treeViewAdv1.NodeControls.Add(this._name);
            this.treeViewAdv1.NodeControls.Add(this._type);
            this.treeViewAdv1.NodeControls.Add(this._value);
            this.treeViewAdv1.NodeControls.Add(this._size);
            this.treeViewAdv1.SelectedNode = null;
            this.treeViewAdv1.Size         = new System.Drawing.Size(626, 406);
            this.treeViewAdv1.TabIndex     = 0;
            this.treeViewAdv1.Text         = "treeViewAdv1";
            this.treeViewAdv1.UseColumns   = true;
            //
            // treeColumn1
            //
            this.treeColumn1.Header    = "Name";
            this.treeColumn1.SortOrder = System.Windows.Forms.SortOrder.None;
            this.treeColumn1.Width     = 100;
            //
            // treeColumn2
            //
            this.treeColumn2.Header    = "Type";
            this.treeColumn2.SortOrder = System.Windows.Forms.SortOrder.None;
            this.treeColumn2.Width     = 100;
            //
            // treeColumn3
            //
            this.treeColumn3.Header         = "Value";
            this.treeColumn3.MinColumnWidth = 10;
            this.treeColumn3.SortOrder      = System.Windows.Forms.SortOrder.None;
            this.treeColumn3.Width          = 150;
            //
            // treeColumn4
            //
            this.treeColumn4.Header         = "Size[byte]";
            this.treeColumn4.MaxColumnWidth = 100;
            this.treeColumn4.MinColumnWidth = 100;
            this.treeColumn4.SortOrder      = System.Windows.Forms.SortOrder.None;
            this.treeColumn4.Width          = 100;

            this._name.DataPropertyName         = "Name";
            this._name.IncrementalSearchEnabled = true;
            this._name.LeftMargin   = 3;
            this._name.ParentColumn = this.treeColumn1;
            this._name.Trimming     = System.Drawing.StringTrimming.EllipsisCharacter;
            this._name.UseCompatibleTextRendering = true;

            this._type.DataPropertyName         = "Type";
            this._type.IncrementalSearchEnabled = true;
            this._type.LeftMargin   = 3;
            this._type.ParentColumn = this.treeColumn2;
            this._type.Trimming     = System.Drawing.StringTrimming.EllipsisCharacter;
            this._type.UseCompatibleTextRendering = true;

            this._value.DataPropertyName         = "Value";
            this._value.IncrementalSearchEnabled = true;
            this._value.LeftMargin   = 3;
            this._value.ParentColumn = this.treeColumn3;
            this._value.Trimming     = System.Drawing.StringTrimming.EllipsisCharacter;
            this._value.UseCompatibleTextRendering = true;

            this._size.DataPropertyName         = "Size";
            this._size.IncrementalSearchEnabled = true;
            this._size.LeftMargin   = 3;
            this._size.ParentColumn = this.treeColumn4;
            this._size.Trimming     = System.Drawing.StringTrimming.EllipsisCharacter;
            this._size.UseCompatibleTextRendering = true;

            //
            // ColumnHandling
            //
            this.Controls.Add(this.treeViewAdv1);
            this.Name = "ColumnHandling";
            this.Size = new System.Drawing.Size(626, 406);
            this.ResumeLayout(false);
        }
 /// <summary>
 /// Требуемый метод для поддержки конструктора — не изменяйте
 /// содержимое этого метода с помощью редактора кода.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     this.yadiskSpace_progressBar       = new System.Windows.Forms.ProgressBar();
     this.yadiskSpace_label             = new System.Windows.Forms.Label();
     this.yadiskPublicFolderKey_textBox = new System.Windows.Forms.TextBox();
     this.browseSyncFolder_button       = new System.Windows.Forms.Button();
     this.syncFolderPath_textBox        = new System.Windows.Forms.TextBox();
     this.tableLayoutPanel1             = new System.Windows.Forms.TableLayoutPanel();
     this.splitContainer2 = new System.Windows.Forms.SplitContainer();
     this.yadiskPublicFolder_treeViewAdv = new Aga.Controls.Tree.TreeViewAdv();
     this.name_treeColumn            = new Aga.Controls.Tree.TreeColumn();
     this.created_treeColumn         = new Aga.Controls.Tree.TreeColumn();
     this.modified_treeColumn        = new Aga.Controls.Tree.TreeColumn();
     this.size_treeColumn            = new Aga.Controls.Tree.TreeColumn();
     this.nodeCheckBox1              = new Aga.Controls.Tree.NodeControls.NodeCheckBox();
     this.nodeStateIcon1             = new Aga.Controls.Tree.NodeControls.NodeStateIcon();
     this.nodeTextBox1               = new Aga.Controls.Tree.NodeControls.NodeTextBox();
     this.nodeTextBox2               = new Aga.Controls.Tree.NodeControls.NodeTextBox();
     this.nodeTextBox3               = new Aga.Controls.Tree.NodeControls.NodeTextBox();
     this.nodeTextBox4               = new Aga.Controls.Tree.NodeControls.NodeTextBox();
     this.syncFolder_treeViewAdv     = new Aga.Controls.Tree.TreeViewAdv();
     this.name_syncTreeColumn        = new Aga.Controls.Tree.TreeColumn();
     this.created_syncTreeColumn     = new Aga.Controls.Tree.TreeColumn();
     this.modified_syncTreeColumn    = new Aga.Controls.Tree.TreeColumn();
     this.size_syncTreeColumn        = new Aga.Controls.Tree.TreeColumn();
     this.nodeTextBox5               = new Aga.Controls.Tree.NodeControls.NodeTextBox();
     this.nodeTextBox6               = new Aga.Controls.Tree.NodeControls.NodeTextBox();
     this.nodeTextBox7               = new Aga.Controls.Tree.NodeControls.NodeTextBox();
     this.nodeTextBox8               = new Aga.Controls.Tree.NodeControls.NodeTextBox();
     this.splitContainer1            = new System.Windows.Forms.SplitContainer();
     this.editPublicFolderKey_button = new System.Windows.Forms.Button();
     this.savePublicFolderKey_button = new System.Windows.Forms.Button();
     this.loadPublicFolderKey_button = new System.Windows.Forms.Button();
     this.panel1 = new System.Windows.Forms.Panel();
     this.label3 = new System.Windows.Forms.Label();
     this.label2 = new System.Windows.Forms.Label();
     this.beforeDate_dateTimePicker = new System.Windows.Forms.DateTimePicker();
     this.label1 = new System.Windows.Forms.Label();
     this.afterDate_dateTimePicker = new System.Windows.Forms.DateTimePicker();
     this.filter_textBox           = new System.Windows.Forms.TextBox();
     this.flatList_checkBox        = new System.Windows.Forms.CheckBox();
     this.panel2                              = new System.Windows.Forms.Panel();
     this.syncFolders_button                  = new System.Windows.Forms.Button();
     this.showSyncForm_button                 = new System.Windows.Forms.Button();
     this.LoadFromFile_button                 = new System.Windows.Forms.Button();
     this.SaveToFile_button                   = new System.Windows.Forms.Button();
     this.publicFolders_comboBox              = new System.Windows.Forms.ComboBox();
     this.nodeItem_contextMenuStrip           = new System.Windows.Forms.ContextMenuStrip(this.components);
     this.checkAllSubfoldersToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.checkFolderOnlyToolStripMenuItem    = new System.Windows.Forms.ToolStripMenuItem();
     this.addNewPublicFolder_button           = new System.Windows.Forms.Button();
     this.deletePublicFolder_button           = new System.Windows.Forms.Button();
     this.loginYandex_button                  = new System.Windows.Forms.Button();
     this.tableLayoutPanel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).BeginInit();
     this.splitContainer2.Panel1.SuspendLayout();
     this.splitContainer2.Panel2.SuspendLayout();
     this.splitContainer2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
     this.splitContainer1.Panel1.SuspendLayout();
     this.splitContainer1.Panel2.SuspendLayout();
     this.splitContainer1.SuspendLayout();
     this.panel1.SuspendLayout();
     this.panel2.SuspendLayout();
     this.nodeItem_contextMenuStrip.SuspendLayout();
     this.SuspendLayout();
     //
     // yadiskSpace_progressBar
     //
     this.yadiskSpace_progressBar.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.yadiskSpace_progressBar.Location = new System.Drawing.Point(739, 23);
     this.yadiskSpace_progressBar.Name     = "yadiskSpace_progressBar";
     this.yadiskSpace_progressBar.Size     = new System.Drawing.Size(369, 36);
     this.yadiskSpace_progressBar.Step     = 1;
     this.yadiskSpace_progressBar.TabIndex = 0;
     this.yadiskSpace_progressBar.Visible  = false;
     //
     // yadiskSpace_label
     //
     this.yadiskSpace_label.Anchor    = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.yadiskSpace_label.AutoSize  = true;
     this.yadiskSpace_label.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
     this.yadiskSpace_label.Font      = new System.Drawing.Font("Microsoft Sans Serif", 11F);
     this.yadiskSpace_label.Location  = new System.Drawing.Point(745, 31);
     this.yadiskSpace_label.Name      = "yadiskSpace_label";
     this.yadiskSpace_label.Size      = new System.Drawing.Size(49, 22);
     this.yadiskSpace_label.TabIndex  = 1;
     this.yadiskSpace_label.Text      = "Used: ";
     this.yadiskSpace_label.UseCompatibleTextRendering = true;
     this.yadiskSpace_label.Visible = false;
     //
     // yadiskPublicFolderKey_textBox
     //
     this.yadiskPublicFolderKey_textBox.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.yadiskPublicFolderKey_textBox.Location = new System.Drawing.Point(0, 0);
     this.yadiskPublicFolderKey_textBox.Name     = "yadiskPublicFolderKey_textBox";
     this.yadiskPublicFolderKey_textBox.ReadOnly = true;
     this.yadiskPublicFolderKey_textBox.Size     = new System.Drawing.Size(419, 20);
     this.yadiskPublicFolderKey_textBox.TabIndex = 3;
     this.yadiskPublicFolderKey_textBox.Text     = "https://yadi.sk/d/df_jk-ih3Z9TfM";
     //
     // browseSyncFolder_button
     //
     this.browseSyncFolder_button.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.browseSyncFolder_button.Location = new System.Drawing.Point(1, 0);
     this.browseSyncFolder_button.Name     = "browseSyncFolder_button";
     this.browseSyncFolder_button.Size     = new System.Drawing.Size(47, 21);
     this.browseSyncFolder_button.TabIndex = 4;
     this.browseSyncFolder_button.Text     = "...";
     this.browseSyncFolder_button.UseVisualStyleBackColor = true;
     this.browseSyncFolder_button.Click += new System.EventHandler(this.browseSyncFolder_button_Click);
     //
     // syncFolderPath_textBox
     //
     this.syncFolderPath_textBox.Dock         = System.Windows.Forms.DockStyle.Fill;
     this.syncFolderPath_textBox.Location     = new System.Drawing.Point(0, 0);
     this.syncFolderPath_textBox.Name         = "syncFolderPath_textBox";
     this.syncFolderPath_textBox.ReadOnly     = true;
     this.syncFolderPath_textBox.Size         = new System.Drawing.Size(517, 20);
     this.syncFolderPath_textBox.TabIndex     = 5;
     this.syncFolderPath_textBox.TextChanged += new System.EventHandler(this.syncFolderPath_textBox_TextChanged);
     //
     // tableLayoutPanel1
     //
     this.tableLayoutPanel1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                            | System.Windows.Forms.AnchorStyles.Left)
                                                                           | System.Windows.Forms.AnchorStyles.Right)));
     this.tableLayoutPanel1.ColumnCount = 2;
     this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F));
     this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F));
     this.tableLayoutPanel1.Controls.Add(this.splitContainer2, 1, 0);
     this.tableLayoutPanel1.Controls.Add(this.yadiskPublicFolder_treeViewAdv, 0, 1);
     this.tableLayoutPanel1.Controls.Add(this.syncFolder_treeViewAdv, 1, 1);
     this.tableLayoutPanel1.Controls.Add(this.splitContainer1, 0, 0);
     this.tableLayoutPanel1.Controls.Add(this.panel1, 0, 2);
     this.tableLayoutPanel1.Controls.Add(this.panel2, 1, 2);
     this.tableLayoutPanel1.GrowStyle = System.Windows.Forms.TableLayoutPanelGrowStyle.FixedSize;
     this.tableLayoutPanel1.Location  = new System.Drawing.Point(12, 114);
     this.tableLayoutPanel1.Name      = "tableLayoutPanel1";
     this.tableLayoutPanel1.RowCount  = 3;
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 60F));
     this.tableLayoutPanel1.Size     = new System.Drawing.Size(1153, 597);
     this.tableLayoutPanel1.TabIndex = 8;
     //
     // splitContainer2
     //
     this.splitContainer2.Dock       = System.Windows.Forms.DockStyle.Fill;
     this.splitContainer2.FixedPanel = System.Windows.Forms.FixedPanel.Panel2;
     this.splitContainer2.Location   = new System.Drawing.Point(579, 3);
     this.splitContainer2.Name       = "splitContainer2";
     //
     // splitContainer2.Panel1
     //
     this.splitContainer2.Panel1.Controls.Add(this.syncFolderPath_textBox);
     this.splitContainer2.Panel1.RightToLeft = System.Windows.Forms.RightToLeft.No;
     //
     // splitContainer2.Panel2
     //
     this.splitContainer2.Panel2.Controls.Add(this.browseSyncFolder_button);
     this.splitContainer2.Panel2.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.splitContainer2.RightToLeft        = System.Windows.Forms.RightToLeft.No;
     this.splitContainer2.Size             = new System.Drawing.Size(571, 21);
     this.splitContainer2.SplitterDistance = 517;
     this.splitContainer2.TabIndex         = 9;
     //
     // yadiskPublicFolder_treeViewAdv
     //
     this.yadiskPublicFolder_treeViewAdv.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                                         | System.Windows.Forms.AnchorStyles.Left)
                                                                                        | System.Windows.Forms.AnchorStyles.Right)));
     this.yadiskPublicFolder_treeViewAdv.BackColor          = System.Drawing.SystemColors.Window;
     this.yadiskPublicFolder_treeViewAdv.ColumnHeaderHeight = 17;
     this.yadiskPublicFolder_treeViewAdv.Columns.Add(this.name_treeColumn);
     this.yadiskPublicFolder_treeViewAdv.Columns.Add(this.created_treeColumn);
     this.yadiskPublicFolder_treeViewAdv.Columns.Add(this.modified_treeColumn);
     this.yadiskPublicFolder_treeViewAdv.Columns.Add(this.size_treeColumn);
     this.yadiskPublicFolder_treeViewAdv.DefaultToolTipProvider     = null;
     this.yadiskPublicFolder_treeViewAdv.DragDropMarkColor          = System.Drawing.Color.Black;
     this.yadiskPublicFolder_treeViewAdv.FullRowSelectActiveColor   = System.Drawing.Color.Empty;
     this.yadiskPublicFolder_treeViewAdv.FullRowSelectInactiveColor = System.Drawing.Color.Empty;
     this.yadiskPublicFolder_treeViewAdv.LineColor = System.Drawing.SystemColors.ControlDark;
     this.yadiskPublicFolder_treeViewAdv.Location  = new System.Drawing.Point(3, 30);
     this.yadiskPublicFolder_treeViewAdv.Model     = null;
     this.yadiskPublicFolder_treeViewAdv.Name      = "yadiskPublicFolder_treeViewAdv";
     this.yadiskPublicFolder_treeViewAdv.NodeControls.Add(this.nodeCheckBox1);
     this.yadiskPublicFolder_treeViewAdv.NodeControls.Add(this.nodeStateIcon1);
     this.yadiskPublicFolder_treeViewAdv.NodeControls.Add(this.nodeTextBox1);
     this.yadiskPublicFolder_treeViewAdv.NodeControls.Add(this.nodeTextBox2);
     this.yadiskPublicFolder_treeViewAdv.NodeControls.Add(this.nodeTextBox3);
     this.yadiskPublicFolder_treeViewAdv.NodeControls.Add(this.nodeTextBox4);
     this.yadiskPublicFolder_treeViewAdv.NodeFilter     = null;
     this.yadiskPublicFolder_treeViewAdv.SelectedNode   = null;
     this.yadiskPublicFolder_treeViewAdv.Size           = new System.Drawing.Size(570, 504);
     this.yadiskPublicFolder_treeViewAdv.TabIndex       = 7;
     this.yadiskPublicFolder_treeViewAdv.UseColumns     = true;
     this.yadiskPublicFolder_treeViewAdv.ColumnClicked += new System.EventHandler <Aga.Controls.Tree.TreeColumnEventArgs>(this.treeViewAdv_ColumnClicked);
     this.yadiskPublicFolder_treeViewAdv.Collapsed     += new System.EventHandler <Aga.Controls.Tree.TreeViewAdvEventArgs>(this.treeViewAdv_Expanded);
     this.yadiskPublicFolder_treeViewAdv.Expanded      += new System.EventHandler <Aga.Controls.Tree.TreeViewAdvEventArgs>(this.treeViewAdv_Expanded);
     //
     // name_treeColumn
     //
     this.name_treeColumn.Header      = "Name";
     this.name_treeColumn.Sortable    = true;
     this.name_treeColumn.SortOrder   = System.Windows.Forms.SortOrder.None;
     this.name_treeColumn.TooltipText = null;
     this.name_treeColumn.Width       = 20;
     //
     // created_treeColumn
     //
     this.created_treeColumn.Header      = "Created";
     this.created_treeColumn.Sortable    = true;
     this.created_treeColumn.SortOrder   = System.Windows.Forms.SortOrder.None;
     this.created_treeColumn.TooltipText = null;
     this.created_treeColumn.Width       = 65;
     //
     // modified_treeColumn
     //
     this.modified_treeColumn.Header      = "Modified";
     this.modified_treeColumn.Sortable    = true;
     this.modified_treeColumn.SortOrder   = System.Windows.Forms.SortOrder.None;
     this.modified_treeColumn.TooltipText = null;
     this.modified_treeColumn.Width       = 65;
     //
     // size_treeColumn
     //
     this.size_treeColumn.Header      = "Size";
     this.size_treeColumn.Sortable    = true;
     this.size_treeColumn.SortOrder   = System.Windows.Forms.SortOrder.None;
     this.size_treeColumn.TooltipText = null;
     //
     // nodeCheckBox1
     //
     this.nodeCheckBox1.DataPropertyName  = "CheckState";
     this.nodeCheckBox1.EditEnabled       = true;
     this.nodeCheckBox1.LeftMargin        = 3;
     this.nodeCheckBox1.ParentColumn      = this.name_treeColumn;
     this.nodeCheckBox1.ReverseCheckOrder = true;
     this.nodeCheckBox1.ThreeState        = true;
     //
     // nodeStateIcon1
     //
     this.nodeStateIcon1.DataPropertyName = "StateIcon";
     this.nodeStateIcon1.LeftMargin       = 2;
     this.nodeStateIcon1.ParentColumn     = this.name_treeColumn;
     this.nodeStateIcon1.ScaleMode        = Aga.Controls.Tree.ImageScaleMode.Clip;
     //
     // nodeTextBox1
     //
     this.nodeTextBox1.DataPropertyName         = "NodeControl1";
     this.nodeTextBox1.IncrementalSearchEnabled = true;
     this.nodeTextBox1.LeftMargin   = 3;
     this.nodeTextBox1.ParentColumn = this.name_treeColumn;
     //
     // nodeTextBox2
     //
     this.nodeTextBox2.DataPropertyName         = "NodeControl2";
     this.nodeTextBox2.IncrementalSearchEnabled = true;
     this.nodeTextBox2.LeftMargin   = 3;
     this.nodeTextBox2.ParentColumn = this.created_treeColumn;
     //
     // nodeTextBox3
     //
     this.nodeTextBox3.DataPropertyName         = "NodeControl3";
     this.nodeTextBox3.IncrementalSearchEnabled = true;
     this.nodeTextBox3.LeftMargin   = 3;
     this.nodeTextBox3.ParentColumn = this.modified_treeColumn;
     //
     // nodeTextBox4
     //
     this.nodeTextBox4.DataPropertyName         = "NodeControl4";
     this.nodeTextBox4.IncrementalSearchEnabled = true;
     this.nodeTextBox4.LeftMargin   = 3;
     this.nodeTextBox4.ParentColumn = this.size_treeColumn;
     //
     // syncFolder_treeViewAdv
     //
     this.syncFolder_treeViewAdv.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                                 | System.Windows.Forms.AnchorStyles.Left)
                                                                                | System.Windows.Forms.AnchorStyles.Right)));
     this.syncFolder_treeViewAdv.BackColor          = System.Drawing.SystemColors.Window;
     this.syncFolder_treeViewAdv.ColumnHeaderHeight = 17;
     this.syncFolder_treeViewAdv.Columns.Add(this.name_syncTreeColumn);
     this.syncFolder_treeViewAdv.Columns.Add(this.created_syncTreeColumn);
     this.syncFolder_treeViewAdv.Columns.Add(this.modified_syncTreeColumn);
     this.syncFolder_treeViewAdv.Columns.Add(this.size_syncTreeColumn);
     this.syncFolder_treeViewAdv.DefaultToolTipProvider     = null;
     this.syncFolder_treeViewAdv.DragDropMarkColor          = System.Drawing.Color.Black;
     this.syncFolder_treeViewAdv.FullRowSelectActiveColor   = System.Drawing.Color.Empty;
     this.syncFolder_treeViewAdv.FullRowSelectInactiveColor = System.Drawing.Color.Empty;
     this.syncFolder_treeViewAdv.LineColor = System.Drawing.SystemColors.ControlDark;
     this.syncFolder_treeViewAdv.Location  = new System.Drawing.Point(579, 30);
     this.syncFolder_treeViewAdv.Model     = null;
     this.syncFolder_treeViewAdv.Name      = "syncFolder_treeViewAdv";
     this.syncFolder_treeViewAdv.NodeControls.Add(this.nodeTextBox5);
     this.syncFolder_treeViewAdv.NodeControls.Add(this.nodeTextBox6);
     this.syncFolder_treeViewAdv.NodeControls.Add(this.nodeTextBox7);
     this.syncFolder_treeViewAdv.NodeControls.Add(this.nodeTextBox8);
     this.syncFolder_treeViewAdv.NodeFilter     = null;
     this.syncFolder_treeViewAdv.SelectedNode   = null;
     this.syncFolder_treeViewAdv.Size           = new System.Drawing.Size(571, 504);
     this.syncFolder_treeViewAdv.TabIndex       = 6;
     this.syncFolder_treeViewAdv.UseColumns     = true;
     this.syncFolder_treeViewAdv.ColumnClicked += new System.EventHandler <Aga.Controls.Tree.TreeColumnEventArgs>(this.treeViewAdv_ColumnClicked);
     this.syncFolder_treeViewAdv.Collapsed     += new System.EventHandler <Aga.Controls.Tree.TreeViewAdvEventArgs>(this.treeViewAdv_Expanded);
     this.syncFolder_treeViewAdv.Expanded      += new System.EventHandler <Aga.Controls.Tree.TreeViewAdvEventArgs>(this.treeViewAdv_Expanded);
     //
     // name_syncTreeColumn
     //
     this.name_syncTreeColumn.Header      = "Name";
     this.name_syncTreeColumn.Sortable    = true;
     this.name_syncTreeColumn.SortOrder   = System.Windows.Forms.SortOrder.None;
     this.name_syncTreeColumn.TooltipText = null;
     //
     // created_syncTreeColumn
     //
     this.created_syncTreeColumn.Header      = "Created";
     this.created_syncTreeColumn.SortOrder   = System.Windows.Forms.SortOrder.None;
     this.created_syncTreeColumn.TooltipText = null;
     this.created_syncTreeColumn.Width       = 65;
     //
     // modified_syncTreeColumn
     //
     this.modified_syncTreeColumn.Header      = "Modified";
     this.modified_syncTreeColumn.Sortable    = true;
     this.modified_syncTreeColumn.SortOrder   = System.Windows.Forms.SortOrder.None;
     this.modified_syncTreeColumn.TooltipText = null;
     this.modified_syncTreeColumn.Width       = 65;
     //
     // size_syncTreeColumn
     //
     this.size_syncTreeColumn.Header      = "Size";
     this.size_syncTreeColumn.Sortable    = true;
     this.size_syncTreeColumn.SortOrder   = System.Windows.Forms.SortOrder.None;
     this.size_syncTreeColumn.TooltipText = null;
     //
     // nodeTextBox5
     //
     this.nodeTextBox5.DataPropertyName         = "NodeControl1";
     this.nodeTextBox5.IncrementalSearchEnabled = true;
     this.nodeTextBox5.LeftMargin   = 3;
     this.nodeTextBox5.ParentColumn = this.name_syncTreeColumn;
     //
     // nodeTextBox6
     //
     this.nodeTextBox6.DataPropertyName         = "NodeControl2";
     this.nodeTextBox6.IncrementalSearchEnabled = true;
     this.nodeTextBox6.LeftMargin   = 3;
     this.nodeTextBox6.ParentColumn = this.created_syncTreeColumn;
     //
     // nodeTextBox7
     //
     this.nodeTextBox7.DataPropertyName         = "NodeControl3";
     this.nodeTextBox7.IncrementalSearchEnabled = true;
     this.nodeTextBox7.LeftMargin   = 3;
     this.nodeTextBox7.ParentColumn = this.modified_syncTreeColumn;
     //
     // nodeTextBox8
     //
     this.nodeTextBox8.DataPropertyName         = "NodeControl4";
     this.nodeTextBox8.IncrementalSearchEnabled = true;
     this.nodeTextBox8.LeftMargin   = 3;
     this.nodeTextBox8.ParentColumn = this.size_syncTreeColumn;
     //
     // splitContainer1
     //
     this.splitContainer1.FixedPanel      = System.Windows.Forms.FixedPanel.Panel2;
     this.splitContainer1.IsSplitterFixed = true;
     this.splitContainer1.Location        = new System.Drawing.Point(3, 3);
     this.splitContainer1.Name            = "splitContainer1";
     //
     // splitContainer1.Panel1
     //
     this.splitContainer1.Panel1.Controls.Add(this.yadiskPublicFolderKey_textBox);
     this.splitContainer1.Panel1.RightToLeft = System.Windows.Forms.RightToLeft.No;
     //
     // splitContainer1.Panel2
     //
     this.splitContainer1.Panel2.Controls.Add(this.editPublicFolderKey_button);
     this.splitContainer1.Panel2.Controls.Add(this.savePublicFolderKey_button);
     this.splitContainer1.Panel2.Controls.Add(this.loadPublicFolderKey_button);
     this.splitContainer1.Panel2.RightToLeft = System.Windows.Forms.RightToLeft.No;
     this.splitContainer1.RightToLeft        = System.Windows.Forms.RightToLeft.No;
     this.splitContainer1.Size             = new System.Drawing.Size(570, 21);
     this.splitContainer1.SplitterDistance = 419;
     this.splitContainer1.TabIndex         = 8;
     //
     // editPublicFolderKey_button
     //
     this.editPublicFolderKey_button.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                                     | System.Windows.Forms.AnchorStyles.Left)
                                                                                    | System.Windows.Forms.AnchorStyles.Right)));
     this.editPublicFolderKey_button.Location = new System.Drawing.Point(50, 0);
     this.editPublicFolderKey_button.Name     = "editPublicFolderKey_button";
     this.editPublicFolderKey_button.Size     = new System.Drawing.Size(46, 20);
     this.editPublicFolderKey_button.TabIndex = 25;
     this.editPublicFolderKey_button.Text     = "Edit";
     this.editPublicFolderKey_button.UseVisualStyleBackColor = true;
     this.editPublicFolderKey_button.Click += new System.EventHandler(this.editPublicFolderKey_button_Click);
     //
     // savePublicFolderKey_button
     //
     this.savePublicFolderKey_button.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                                     | System.Windows.Forms.AnchorStyles.Left)
                                                                                    | System.Windows.Forms.AnchorStyles.Right)));
     this.savePublicFolderKey_button.Enabled  = false;
     this.savePublicFolderKey_button.Location = new System.Drawing.Point(97, 0);
     this.savePublicFolderKey_button.Name     = "savePublicFolderKey_button";
     this.savePublicFolderKey_button.Size     = new System.Drawing.Size(50, 20);
     this.savePublicFolderKey_button.TabIndex = 17;
     this.savePublicFolderKey_button.Text     = "Save";
     this.savePublicFolderKey_button.UseVisualStyleBackColor = true;
     this.savePublicFolderKey_button.Click += new System.EventHandler(this.SavePublicFolderKey_button_Click);
     //
     // loadPublicFolderKey_button
     //
     this.loadPublicFolderKey_button.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                                     | System.Windows.Forms.AnchorStyles.Left)
                                                                                    | System.Windows.Forms.AnchorStyles.Right)));
     this.loadPublicFolderKey_button.Location = new System.Drawing.Point(3, 0);
     this.loadPublicFolderKey_button.Name     = "loadPublicFolderKey_button";
     this.loadPublicFolderKey_button.Size     = new System.Drawing.Size(46, 20);
     this.loadPublicFolderKey_button.TabIndex = 9;
     this.loadPublicFolderKey_button.Text     = "Load";
     this.loadPublicFolderKey_button.UseVisualStyleBackColor = true;
     this.loadPublicFolderKey_button.Click += new System.EventHandler(this.LoadPublicFolderKey_button_Click);
     //
     // panel1
     //
     this.panel1.Controls.Add(this.label3);
     this.panel1.Controls.Add(this.label2);
     this.panel1.Controls.Add(this.beforeDate_dateTimePicker);
     this.panel1.Controls.Add(this.label1);
     this.panel1.Controls.Add(this.afterDate_dateTimePicker);
     this.panel1.Controls.Add(this.filter_textBox);
     this.panel1.Controls.Add(this.flatList_checkBox);
     this.panel1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.panel1.Location = new System.Drawing.Point(3, 540);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(570, 54);
     this.panel1.TabIndex = 10;
     //
     // label3
     //
     this.label3.AutoSize = true;
     this.label3.Location = new System.Drawing.Point(199, 32);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(58, 13);
     this.label3.TabIndex = 27;
     this.label3.Text     = "and before";
     //
     // label2
     //
     this.label2.AutoSize = true;
     this.label2.Location = new System.Drawing.Point(-3, 32);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(122, 13);
     this.label2.TabIndex = 14;
     this.label2.Text     = "Show only modified after";
     //
     // beforeDate_dateTimePicker
     //
     this.beforeDate_dateTimePicker.Format        = System.Windows.Forms.DateTimePickerFormat.Short;
     this.beforeDate_dateTimePicker.Location      = new System.Drawing.Point(258, 30);
     this.beforeDate_dateTimePicker.MaxDate       = new System.DateTime(2018, 11, 26, 0, 0, 0, 0);
     this.beforeDate_dateTimePicker.MinDate       = new System.DateTime(2013, 11, 21, 0, 0, 0, 0);
     this.beforeDate_dateTimePicker.Name          = "beforeDate_dateTimePicker";
     this.beforeDate_dateTimePicker.Size          = new System.Drawing.Size(81, 20);
     this.beforeDate_dateTimePicker.TabIndex      = 26;
     this.beforeDate_dateTimePicker.Value         = new System.DateTime(2018, 11, 26, 0, 0, 0, 0);
     this.beforeDate_dateTimePicker.ValueChanged += new System.EventHandler(this.Filter_textBox_TextChanged);
     //
     // label1
     //
     this.label1.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.label1.AutoSize = true;
     this.label1.Location = new System.Drawing.Point(194, 7);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(80, 13);
     this.label1.TabIndex = 11;
     this.label1.Text     = "Selected: 0 MB";
     //
     // afterDate_dateTimePicker
     //
     this.afterDate_dateTimePicker.Format        = System.Windows.Forms.DateTimePickerFormat.Short;
     this.afterDate_dateTimePicker.Location      = new System.Drawing.Point(120, 29);
     this.afterDate_dateTimePicker.MaxDate       = new System.DateTime(2018, 11, 26, 0, 0, 0, 0);
     this.afterDate_dateTimePicker.MinDate       = new System.DateTime(2011, 9, 11, 0, 0, 0, 0);
     this.afterDate_dateTimePicker.Name          = "afterDate_dateTimePicker";
     this.afterDate_dateTimePicker.Size          = new System.Drawing.Size(80, 20);
     this.afterDate_dateTimePicker.TabIndex      = 25;
     this.afterDate_dateTimePicker.Value         = new System.DateTime(2012, 1, 1, 0, 0, 0, 0);
     this.afterDate_dateTimePicker.ValueChanged += new System.EventHandler(this.Filter_textBox_TextChanged);
     //
     // filter_textBox
     //
     this.filter_textBox.Anchor       = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.filter_textBox.Location     = new System.Drawing.Point(0, 4);
     this.filter_textBox.Name         = "filter_textBox";
     this.filter_textBox.Size         = new System.Drawing.Size(121, 20);
     this.filter_textBox.TabIndex     = 13;
     this.filter_textBox.TextChanged += new System.EventHandler(this.Filter_textBox_TextChanged);
     //
     // flatList_checkBox
     //
     this.flatList_checkBox.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.flatList_checkBox.AutoSize = true;
     this.flatList_checkBox.Location = new System.Drawing.Point(130, 6);
     this.flatList_checkBox.Name     = "flatList_checkBox";
     this.flatList_checkBox.Size     = new System.Drawing.Size(58, 17);
     this.flatList_checkBox.TabIndex = 12;
     this.flatList_checkBox.Text     = "Flat list";
     this.flatList_checkBox.UseVisualStyleBackColor = true;
     this.flatList_checkBox.CheckedChanged         += new System.EventHandler(this.FlatList_checkBox_CheckedChanged);
     //
     // panel2
     //
     this.panel2.Controls.Add(this.syncFolders_button);
     this.panel2.Controls.Add(this.showSyncForm_button);
     this.panel2.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.panel2.Location = new System.Drawing.Point(579, 540);
     this.panel2.Name     = "panel2";
     this.panel2.Size     = new System.Drawing.Size(571, 54);
     this.panel2.TabIndex = 11;
     //
     // syncFolders_button
     //
     this.syncFolders_button.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.syncFolders_button.Enabled  = false;
     this.syncFolders_button.Location = new System.Drawing.Point(3, 2);
     this.syncFolders_button.Name     = "syncFolders_button";
     this.syncFolders_button.Size     = new System.Drawing.Size(141, 22);
     this.syncFolders_button.TabIndex = 10;
     this.syncFolders_button.Text     = "Compare folders content";
     this.syncFolders_button.UseVisualStyleBackColor = true;
     this.syncFolders_button.Click += new System.EventHandler(this.syncFolders_button_Click);
     //
     // showSyncForm_button
     //
     this.showSyncForm_button.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.showSyncForm_button.Enabled  = false;
     this.showSyncForm_button.Location = new System.Drawing.Point(3, 27);
     this.showSyncForm_button.Name     = "showSyncForm_button";
     this.showSyncForm_button.Size     = new System.Drawing.Size(92, 22);
     this.showSyncForm_button.TabIndex = 24;
     this.showSyncForm_button.Text     = "Show sync form";
     this.showSyncForm_button.UseVisualStyleBackColor = true;
     this.showSyncForm_button.Click += new System.EventHandler(this.showSyncForm_button_Click);
     //
     // LoadFromFile_button
     //
     this.LoadFromFile_button.Location = new System.Drawing.Point(426, 86);
     this.LoadFromFile_button.Name     = "LoadFromFile_button";
     this.LoadFromFile_button.Size     = new System.Drawing.Size(82, 22);
     this.LoadFromFile_button.TabIndex = 14;
     this.LoadFromFile_button.Text     = "Open from file";
     this.LoadFromFile_button.UseVisualStyleBackColor = true;
     this.LoadFromFile_button.Click += new System.EventHandler(this.LoadFromFile_button_Click);
     //
     // SaveToFile_button
     //
     this.SaveToFile_button.Location = new System.Drawing.Point(510, 86);
     this.SaveToFile_button.Name     = "SaveToFile_button";
     this.SaveToFile_button.Size     = new System.Drawing.Size(77, 22);
     this.SaveToFile_button.TabIndex = 15;
     this.SaveToFile_button.Text     = "Save to file";
     this.SaveToFile_button.UseVisualStyleBackColor = true;
     this.SaveToFile_button.Click += new System.EventHandler(this.SaveToFile_button_Click);
     //
     // publicFolders_comboBox
     //
     this.publicFolders_comboBox.FormattingEnabled = true;
     this.publicFolders_comboBox.Location          = new System.Drawing.Point(135, 86);
     this.publicFolders_comboBox.Name                  = "publicFolders_comboBox";
     this.publicFolders_comboBox.Size                  = new System.Drawing.Size(285, 21);
     this.publicFolders_comboBox.TabIndex              = 16;
     this.publicFolders_comboBox.SelectedValueChanged += new System.EventHandler(this.PublicFolders_comboBox_SelectedIndexChanged);
     //
     // nodeItem_contextMenuStrip
     //
     this.nodeItem_contextMenuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.checkAllSubfoldersToolStripMenuItem,
         this.checkFolderOnlyToolStripMenuItem
     });
     this.nodeItem_contextMenuStrip.Name = "nodeItem_contextMenuStrip";
     this.nodeItem_contextMenuStrip.Size = new System.Drawing.Size(181, 48);
     //
     // checkAllSubfoldersToolStripMenuItem
     //
     this.checkAllSubfoldersToolStripMenuItem.Name = "checkAllSubfoldersToolStripMenuItem";
     this.checkAllSubfoldersToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
     this.checkAllSubfoldersToolStripMenuItem.Text = "Check all subfolders";
     //
     // checkFolderOnlyToolStripMenuItem
     //
     this.checkFolderOnlyToolStripMenuItem.Name = "checkFolderOnlyToolStripMenuItem";
     this.checkFolderOnlyToolStripMenuItem.Size = new System.Drawing.Size(180, 22);
     this.checkFolderOnlyToolStripMenuItem.Text = "Check folder only";
     //
     // addNewPublicFolder_button
     //
     this.addNewPublicFolder_button.Location = new System.Drawing.Point(13, 85);
     this.addNewPublicFolder_button.Name     = "addNewPublicFolder_button";
     this.addNewPublicFolder_button.Size     = new System.Drawing.Size(60, 22);
     this.addNewPublicFolder_button.TabIndex = 18;
     this.addNewPublicFolder_button.Text     = "Add new";
     this.addNewPublicFolder_button.UseVisualStyleBackColor = true;
     this.addNewPublicFolder_button.Click += new System.EventHandler(this.AddNewPublicFolder_button_Click);
     //
     // deletePublicFolder_button
     //
     this.deletePublicFolder_button.Location = new System.Drawing.Point(76, 85);
     this.deletePublicFolder_button.Name     = "deletePublicFolder_button";
     this.deletePublicFolder_button.Size     = new System.Drawing.Size(54, 22);
     this.deletePublicFolder_button.TabIndex = 19;
     this.deletePublicFolder_button.Text     = "Delete";
     this.deletePublicFolder_button.UseVisualStyleBackColor = true;
     this.deletePublicFolder_button.Click += new System.EventHandler(this.deletePublicFolder_button_Click);
     //
     // loginYandex_button
     //
     this.loginYandex_button.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.loginYandex_button.Location = new System.Drawing.Point(1114, 23);
     this.loginYandex_button.Name     = "loginYandex_button";
     this.loginYandex_button.Size     = new System.Drawing.Size(51, 36);
     this.loginYandex_button.TabIndex = 20;
     this.loginYandex_button.Text     = "Log in Yadisk";
     this.loginYandex_button.UseVisualStyleBackColor = true;
     this.loginYandex_button.Click += new System.EventHandler(this.loginYandex_button_Click);
     //
     // MainForm
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(1177, 741);
     this.Controls.Add(this.loginYandex_button);
     this.Controls.Add(this.deletePublicFolder_button);
     this.Controls.Add(this.addNewPublicFolder_button);
     this.Controls.Add(this.publicFolders_comboBox);
     this.Controls.Add(this.SaveToFile_button);
     this.Controls.Add(this.LoadFromFile_button);
     this.Controls.Add(this.tableLayoutPanel1);
     this.Controls.Add(this.yadiskSpace_label);
     this.Controls.Add(this.yadiskSpace_progressBar);
     this.MinimumSize  = new System.Drawing.Size(612, 500);
     this.Name         = "MainForm";
     this.Text         = "CloudFolderBrowser";
     this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.Form1_FormClosing);
     this.tableLayoutPanel1.ResumeLayout(false);
     this.splitContainer2.Panel1.ResumeLayout(false);
     this.splitContainer2.Panel1.PerformLayout();
     this.splitContainer2.Panel2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).EndInit();
     this.splitContainer2.ResumeLayout(false);
     this.splitContainer1.Panel1.ResumeLayout(false);
     this.splitContainer1.Panel1.PerformLayout();
     this.splitContainer1.Panel2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit();
     this.splitContainer1.ResumeLayout(false);
     this.panel1.ResumeLayout(false);
     this.panel1.PerformLayout();
     this.panel2.ResumeLayout(false);
     this.nodeItem_contextMenuStrip.ResumeLayout(false);
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Ejemplo n.º 5
0
 /// <summary> 
 /// Required method for Designer support - do not modify 
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(DataTableTreeExample));
     this.splitContainer1 = new System.Windows.Forms.SplitContainer();
     this.treeViewAdv1 = new Aga.Controls.Tree.TreeViewAdv();
     this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components);
     this.addNodeToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.nodeTextBox1 = new Aga.Controls.Tree.NodeControls.NodeTextBox();
     this.nodeStateIcon1 = new Aga.Controls.Tree.NodeControls.NodeStateIcon();
     this.panel1 = new System.Windows.Forms.Panel();
     this.dataGridView1 = new System.Windows.Forms.DataGridView();
     this.ID = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.ParentID = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.Label = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.Data = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.imageList1 = new System.Windows.Forms.ImageList(this.components);
     this.label1 = new System.Windows.Forms.Label();
     this.splitContainer1.Panel1.SuspendLayout();
     this.splitContainer1.Panel2.SuspendLayout();
     this.splitContainer1.SuspendLayout();
     this.contextMenuStrip1.SuspendLayout();
     this.panel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
     this.SuspendLayout();
     //
     // splitContainer1
     //
     this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.splitContainer1.Location = new System.Drawing.Point(0, 0);
     this.splitContainer1.Name = "splitContainer1";
     //
     // splitContainer1.Panel1
     //
     this.splitContainer1.Panel1.Controls.Add(this.treeViewAdv1);
     //
     // splitContainer1.Panel2
     //
     this.splitContainer1.Panel2.Controls.Add(this.panel1);
     this.splitContainer1.Panel2.Controls.Add(this.dataGridView1);
     this.splitContainer1.Size = new System.Drawing.Size(830, 528);
     this.splitContainer1.SplitterDistance = 298;
     this.splitContainer1.TabIndex = 0;
     //
     // treeViewAdv1
     //
     this.treeViewAdv1.BackColor = System.Drawing.SystemColors.Window;
     this.treeViewAdv1.ContextMenuStrip = this.contextMenuStrip1;
     this.treeViewAdv1.Cursor = System.Windows.Forms.Cursors.Default;
     this.treeViewAdv1.DefaultToolTipProvider = null;
     this.treeViewAdv1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.treeViewAdv1.DragDropMarkColor = System.Drawing.Color.Black;
     this.treeViewAdv1.LineColor = System.Drawing.SystemColors.ControlDark;
     this.treeViewAdv1.Location = new System.Drawing.Point(0, 0);
     this.treeViewAdv1.Model = null;
     this.treeViewAdv1.Name = "treeViewAdv1";
     this.treeViewAdv1.NodeControls.Add(this.nodeTextBox1);
     this.treeViewAdv1.NodeControls.Add(this.nodeStateIcon1);
     this.treeViewAdv1.SelectedNode = null;
     this.treeViewAdv1.Size = new System.Drawing.Size(298, 528);
     this.treeViewAdv1.TabIndex = 0;
     this.treeViewAdv1.Text = "treeViewAdv1";
     //
     // contextMenuStrip1
     //
     this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
     this.addNodeToolStripMenuItem});
     this.contextMenuStrip1.Name = "contextMenuStrip1";
     this.contextMenuStrip1.Size = new System.Drawing.Size(153, 48);
     //
     // addNodeToolStripMenuItem
     //
     this.addNodeToolStripMenuItem.Name = "addNodeToolStripMenuItem";
     this.addNodeToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
     this.addNodeToolStripMenuItem.Text = "Add Node";
     this.addNodeToolStripMenuItem.Click += new System.EventHandler(this.addNode_Click);
     //
     // nodeTextBox1
     //
     this.nodeTextBox1.IncrementalSearchEnabled = true;
     this.nodeTextBox1.LeftMargin = 3;
     this.nodeTextBox1.ParentColumn = null;
     //
     // nodeStateIcon1
     //
     this.nodeStateIcon1.LeftMargin = 1;
     this.nodeStateIcon1.ParentColumn = null;
     //
     // panel1
     //
     this.panel1.Controls.Add(this.label1);
     this.panel1.Dock = System.Windows.Forms.DockStyle.Bottom;
     this.panel1.Location = new System.Drawing.Point(0, 428);
     this.panel1.Name = "panel1";
     this.panel1.Size = new System.Drawing.Size(528, 100);
     this.panel1.TabIndex = 1;
     //
     // dataGridView1
     //
     this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
     this.dataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
     this.ID,
     this.ParentID,
     this.Label,
     this.Data});
     this.dataGridView1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.dataGridView1.Location = new System.Drawing.Point(0, 0);
     this.dataGridView1.Name = "dataGridView1";
     this.dataGridView1.Size = new System.Drawing.Size(528, 528);
     this.dataGridView1.TabIndex = 0;
     this.dataGridView1.RowsAdded += new System.Windows.Forms.DataGridViewRowsAddedEventHandler(this.dataGridView1_RowsAdded);
     //
     // ID
     //
     this.ID.HeaderText = "ID";
     this.ID.Name = "ID";
     //
     // ParentID
     //
     this.ParentID.HeaderText = "ParentID";
     this.ParentID.Name = "ParentID";
     //
     // Label
     //
     this.Label.HeaderText = "Label";
     this.Label.Name = "Label";
     //
     // Data
     //
     this.Data.HeaderText = "Data";
     this.Data.Name = "Data";
     //
     // imageList1
     //
     this.imageList1.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream")));
     this.imageList1.TransparentColor = System.Drawing.Color.Transparent;
     this.imageList1.Images.SetKeyName(0, "");
     this.imageList1.Images.SetKeyName(1, "");
     this.imageList1.Images.SetKeyName(2, "");
     this.imageList1.Images.SetKeyName(3, "");
     //
     // label1
     //
     this.label1.AutoSize = true;
     this.label1.Location = new System.Drawing.Point(59, 34);
     this.label1.Name = "label1";
     this.label1.Size = new System.Drawing.Size(174, 13);
     this.label1.TabIndex = 0;
     this.label1.Text = "right click on a folder to add a node";
     //
     // DataTableTreeExample
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.Controls.Add(this.splitContainer1);
     this.Name = "DataTableTreeExample";
     this.Size = new System.Drawing.Size(830, 528);
     this.splitContainer1.Panel1.ResumeLayout(false);
     this.splitContainer1.Panel2.ResumeLayout(false);
     this.splitContainer1.ResumeLayout(false);
     this.contextMenuStrip1.ResumeLayout(false);
     this.panel1.ResumeLayout(false);
     this.panel1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();
     this.ResumeLayout(false);
 }
Ejemplo n.º 6
0
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(TrackingWindow));
            this.contextMenu        = new System.Windows.Forms.ContextMenu();
            this.autoHideItem       = new System.Windows.Forms.MenuItem();
            this.floatingItem       = new System.Windows.Forms.MenuItem();
            this.hideItem           = new System.Windows.Forms.MenuItem();
            this.variablesDataView  = new Aga.Controls.Tree.TreeViewAdv();
            this.variableAddressCol = new Aga.Controls.Tree.TreeColumn();
            this.numBytesCol        = new Aga.Controls.Tree.TreeColumn();
            this.valueTypeCol       = new Aga.Controls.Tree.TreeColumn();
            this.variableValueCol   = new Aga.Controls.Tree.TreeColumn();
            this._nameBox           = new Aga.Controls.Tree.NodeControls.NodeTextBox();
            this._addressBox        = new Aga.Controls.Tree.NodeControls.NodeTextBox();
            this._numBytesBox       = new Aga.Controls.Tree.NodeControls.NodeTextBox();
            this._valueTypeBox      = new Aga.Controls.Tree.NodeControls.NodeComboBox();
            this._valueBox          = new Aga.Controls.Tree.NodeControls.NodeTextBox();
            this.SuspendLayout();
            //
            // autoHideItem
            //
            this.autoHideItem.Index = -1;
            this.autoHideItem.Text  = "Autohide";
            //
            // floatingItem
            //
            this.floatingItem.Index = -1;
            this.floatingItem.Text  = "Floating";
            //
            // hideItem
            //
            this.hideItem.Index = -1;
            this.hideItem.Text  = "Hide";
            //
            // variablesDataView
            //

            this.variablesDataView.AllowColumnReorder = true;
            this.variablesDataView.Columns.Add(this.variableAddressCol);
            this.variablesDataView.Columns.Add(this.numBytesCol);
            this.variablesDataView.Columns.Add(this.valueTypeCol);
            this.variablesDataView.Columns.Add(this.variableValueCol);
            this.variablesDataView.Dock          = System.Windows.Forms.DockStyle.Fill;
            this.variablesDataView.GridLineStyle = ((Aga.Controls.Tree.GridLineStyle)((Aga.Controls.Tree.GridLineStyle.Horizontal | Aga.Controls.Tree.GridLineStyle.Vertical)));
            this.variablesDataView.Model         = null;
            this.variablesDataView.Name          = "variablesDataView";
            this.variablesDataView.NodeControls.Add(this._nameBox);
            this.variablesDataView.NodeControls.Add(this._addressBox);
            this.variablesDataView.NodeControls.Add(this._numBytesBox);
            this.variablesDataView.NodeControls.Add(this._valueTypeBox);
            this.variablesDataView.NodeControls.Add(this._valueBox);
            this.variablesDataView.LineColor         = System.Drawing.SystemColors.ControlDark;
            this.variablesDataView.Location          = new System.Drawing.Point(0, 0);
            this.variablesDataView.SelectedNode      = null;
            this.variablesDataView.SelectionMode     = Aga.Controls.Tree.TreeSelectionMode.Single;
            this.variablesDataView.Size              = new System.Drawing.Size(1107, 266);
            this.variablesDataView.TabIndex          = 0;
            this.variablesDataView.UseColumns        = true;
            this.variablesDataView.MouseDoubleClick += variablesDataView_MouseDoubleClick;
            this.variablesDataView.KeyDown          += variablesDataView_KeyDown;

            //
            // variableAddressCol
            //
            this.variableAddressCol.Header    = "Variable name";
            this.variableAddressCol.Width     = 300;
            this.variableAddressCol.SortOrder = SortOrder.None;
            //
            // numBytesCol
            //
            this.numBytesCol.Header    = "Bytes";
            this.numBytesCol.Width     = 80;
            this.numBytesCol.SortOrder = SortOrder.None;
            //
            // valueTypeCol
            //
            this.valueTypeCol.Header    = "Type";
            this.valueTypeCol.Width     = 150;
            this.valueTypeCol.SortOrder = SortOrder.None;
            //
            // variableValueCol
            //
            this.variableValueCol.Header    = "Value";
            this.variableValueCol.SortOrder = SortOrder.None;
            this.variableValueCol.Width     = 400;
            //
            // _addressBox
            //
            this._addressBox.DataPropertyName           = "Address";
            this._addressBox.EditEnabled                = true;
            this._addressBox.Trimming                   = System.Drawing.StringTrimming.EllipsisCharacter;
            this._addressBox.UseCompatibleTextRendering = true;
            this._addressBox.ParentColumn               = this.variableAddressCol;
            this._addressBox.ChangesApplied            += AddressBoxOnChangesApplied;
            this._addressBox.IsEditEnabledValueNeeded  += CheckIsEditEnabledValueNeeded;
            //
            // _numBytesBox
            //
            this._numBytesBox.DataPropertyName           = "NumBytesString";
            this._numBytesBox.EditEnabled                = true;
            this._numBytesBox.Trimming                   = System.Drawing.StringTrimming.EllipsisCharacter;
            this._numBytesBox.UseCompatibleTextRendering = true;
            this._numBytesBox.ParentColumn               = this.numBytesCol;
            this._numBytesBox.ChangesApplied            += NumBytesBox_OnChangesApplied;
            this._numBytesBox.IsEditEnabledValueNeeded  += CheckIsEditEnabledValueNeeded;

            //
            // _valueTypeBox
            //
            this._valueTypeBox.DataPropertyName          = "ValueType";
            this._valueTypeBox.EditEnabled               = true;
            this._valueTypeBox.ChangesApplied           += ValueTypeBox_OnChangesApplied;
            this._valueTypeBox.ParentColumn              = this.valueTypeCol;
            this._valueTypeBox.IsEditEnabledValueNeeded += CheckIsEditEnabledValueNeeded;

            //
            // _valueBox
            //
            this._valueBox.DataPropertyName = "Value";
            this._valueBox.EditEnabled      = false;
            this._valueBox.ParentColumn     = this.variableValueCol;

            //
            // TrackingWindow
            //
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize          = new System.Drawing.Size(1107, 266);
            this.Controls.Add(this.variablesDataView);
            this.Icon               = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
            this.Name               = "TrackingWindow";
            this.ShowHint           = WeifenLuo.WinFormsUI.Docking.DockState.DockBottom;
            this.TabPageContextMenu = this.contextMenu;
            this.TabText            = "Watches";
            this.Text               = "Watches";
            this.ResumeLayout(false);
        }
Ejemplo n.º 7
0
        public ShaderFragmentArchiveControl(
            NodeEditorCore.ShaderFragmentArchiveModel archiveModel)
        {
            DoubleBuffered = false;

            Margin = new System.Windows.Forms.Padding(0);

            var fragmentTree = new Aga.Controls.Tree.TreeViewAdv();
            var treeColumn1 = new Aga.Controls.Tree.TreeColumn();
            var treeColumn3 = new Aga.Controls.Tree.TreeColumn();
            var treeColumn4 = new Aga.Controls.Tree.TreeColumn();
            var treeColumn5 = new Aga.Controls.Tree.TreeColumn();
            var icon = new Aga.Controls.Tree.NodeControls.NodeStateIcon();
            var visibleName = new Aga.Controls.Tree.NodeControls.NodeTextBox();
            var returnType = new Aga.Controls.Tree.NodeControls.NodeTextBox();
            var parameters = new Aga.Controls.Tree.NodeControls.NodeTextBox();
            var exceptionString = new Aga.Controls.Tree.NodeControls.NodeTextBox();

            // treeColumn1
            treeColumn1.Header = "Name";
            treeColumn1.SortOrder = System.Windows.Forms.SortOrder.None;
            treeColumn1.TooltipText = null;
            treeColumn1.Width = 300;
            // treeColumn3
            treeColumn3.Header = "ReturnType";
            treeColumn3.SortOrder = System.Windows.Forms.SortOrder.None;
            treeColumn3.TooltipText = null;
            treeColumn3.Width = 75;
            // treeColumn4
            treeColumn4.Header = "Parameters";
            treeColumn4.SortOrder = System.Windows.Forms.SortOrder.None;
            treeColumn4.TooltipText = null;
            treeColumn4.Width = 400;
            // treeColumn5
            treeColumn5.Header = "Exception";
            treeColumn5.SortOrder = System.Windows.Forms.SortOrder.None;
            treeColumn5.TooltipText = null;
            treeColumn5.Width = 200;
            // _icon
            icon.DataPropertyName = "Icon";
            icon.LeftMargin = 1;
            icon.ParentColumn = treeColumn1;
            icon.ScaleMode = Aga.Controls.Tree.ImageScaleMode.Clip;
            // _visibleName
            visibleName.DataPropertyName = "Name";
            visibleName.IncrementalSearchEnabled = true;
            visibleName.LeftMargin = 8;
            visibleName.ParentColumn = treeColumn1;
            visibleName.Trimming = System.Drawing.StringTrimming.EllipsisCharacter;
            // visibleName.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            visibleName.UseCompatibleTextRendering = true;
            // _returnType
            returnType.DataPropertyName = "ReturnType";
            returnType.IncrementalSearchEnabled = true;
            returnType.LeftMargin = 3;
            returnType.ParentColumn = treeColumn3;
            returnType.UseCompatibleTextRendering = true;
            // _parameters
            parameters.DataPropertyName = "Parameters";
            parameters.IncrementalSearchEnabled = true;
            parameters.LeftMargin = 3;
            parameters.ParentColumn = treeColumn4;
            parameters.UseCompatibleTextRendering = true;
            // _exceptionString
            exceptionString.DataPropertyName = "ExceptionString";
            exceptionString.IncrementalSearchEnabled = true;
            exceptionString.LeftMargin = 3;
            exceptionString.ParentColumn = treeColumn5;
            exceptionString.UseCompatibleTextRendering = true;
            // fragment tree
            fragmentTree.BackColor = System.Drawing.Color.Silver;
            fragmentTree.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            fragmentTree.ColumnFont = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            fragmentTree.Columns.Add(treeColumn1);
            fragmentTree.Columns.Add(treeColumn3);
            fragmentTree.Columns.Add(treeColumn4);
            fragmentTree.Columns.Add(treeColumn5);
            fragmentTree.DefaultToolTipProvider = null;
            fragmentTree.Dock = System.Windows.Forms.DockStyle.Fill;
            fragmentTree.DragDropMarkColor = System.Drawing.Color.Black;
            fragmentTree.Font = System.Drawing.SystemFonts.MenuFont;
                // new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            fragmentTree.ForeColor = System.Drawing.Color.Gray;
            fragmentTree.FullRowSelect = true;
            fragmentTree.GridLineStyle = ((Aga.Controls.Tree.GridLineStyle)((Aga.Controls.Tree.GridLineStyle.Horizontal | Aga.Controls.Tree.GridLineStyle.Vertical)));
            fragmentTree.LineColor = System.Drawing.Color.White;
            fragmentTree.LoadOnDemand = true;
            fragmentTree.Location = new System.Drawing.Point(0, 0);
            fragmentTree.Model = null;
            fragmentTree.Name = "_fragmentTree";
            fragmentTree.NodeControls.Add(icon);
            fragmentTree.NodeControls.Add(visibleName);
            fragmentTree.NodeControls.Add(returnType);
            fragmentTree.NodeControls.Add(parameters);
            fragmentTree.NodeControls.Add(exceptionString);
            fragmentTree.RowHeight = 32;
            fragmentTree.SelectedNode = null;
            fragmentTree.Size = new System.Drawing.Size(288, 311);
            fragmentTree.TabIndex = 3;
            fragmentTree.UseColumns = true;
            // fragmentTree.MouseEnter += new System.EventHandler(this.OnFragmentsMouseEnter);
            // fragmentTree.MouseLeave += new System.EventHandler(this.OnFragmentsMouseLeave);

            fragmentTree.Padding = new System.Windows.Forms.Padding(0);
            fragmentTree.Dock = System.Windows.Forms.DockStyle.Fill;

            fragmentTree.Model = new Aga.Controls.Tree.SortedTreeModel(archiveModel);
            fragmentTree.ItemDrag += new ItemDragEventHandler(OnFragmentTreeItemDrag);

            Controls.Add(fragmentTree);
        }