namespace TreeViewListViewDragAndDropSample { partial class MainForm { /// /// Required designer variable. /// private System.ComponentModel.IContainer components = null; /// /// Clean up any resources being used. /// /// true if managed resources should be disposed; otherwise, false. protected override void Dispose(bool disposing) { if( disposing && (components != null) ) { components.Dispose(); } base.Dispose(disposing); } #region Windows Form Designer generated code /// /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm)); this.splitContainer1 = new System.Windows.Forms.SplitContainer(); this.treeView = new System.Windows.Forms.TreeView(); this.imageList = new System.Windows.Forms.ImageList(this.components); this.listView = new System.Windows.Forms.ListView(); this.columnHeader1 = new System.Windows.Forms.ColumnHeader(); this.splitContainer1.Panel1.SuspendLayout(); this.splitContainer1.Panel2.SuspendLayout(); this.splitContainer1.SuspendLayout(); 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.treeView); // // splitContainer1.Panel2 // this.splitContainer1.Panel2.Controls.Add(this.listView); this.splitContainer1.Size = new System.Drawing.Size(309, 120); this.splitContainer1.SplitterDistance = 151; this.splitContainer1.TabIndex = 0; this.splitContainer1.Text = "splitContainer1"; // // treeView // this.treeView.AllowDrop = true; this.treeView.Dock = System.Windows.Forms.DockStyle.Fill; this.treeView.ImageIndex = 0; this.treeView.ImageList = this.imageList; this.treeView.Location = new System.Drawing.Point(0, 0); this.treeView.Name = "treeView"; this.treeView.SelectedImageIndex = 0; this.treeView.Size = new System.Drawing.Size(151, 120); this.treeView.TabIndex = 0; this.treeView.DragDrop += new System.Windows.Forms.DragEventHandler(this.treeView_DragDrop); this.treeView.DragOver += new System.Windows.Forms.DragEventHandler(this.treeView_DragOver); this.treeView.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.treeView_AfterSelect); // // imageList // this.imageList.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList.ImageStream"))); this.imageList.TransparentColor = System.Drawing.Color.Transparent; this.imageList.Images.SetKeyName(0, "TreeNodeImage.bmp"); this.imageList.Images.SetKeyName(1, "ListViewItemImage.bmp"); // // listView // this.listView.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { this.columnHeader1}); this.listView.Dock = System.Windows.Forms.DockStyle.Fill; this.listView.LargeImageList = this.imageList; this.listView.Location = new System.Drawing.Point(0, 0); this.listView.Name = "listView"; this.listView.Size = new System.Drawing.Size(154, 120); this.listView.SmallImageList = this.imageList; this.listView.TabIndex = 0; this.listView.UseCompatibleStateImageBehavior = false; this.listView.View = System.Windows.Forms.View.Details; this.listView.GiveFeedback += new System.Windows.Forms.GiveFeedbackEventHandler(this.listView_GiveFeedback); this.listView.ItemDrag += new System.Windows.Forms.ItemDragEventHandler(this.listView_ItemDrag); // // columnHeader1 // this.columnHeader1.Text = "Item"; this.columnHeader1.Width = 116; // // MainForm // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(309, 120); this.Controls.Add(this.splitContainer1); this.Name = "MainForm"; this.Text = "TreeView/ListView Drag and Drop"; this.splitContainer1.Panel1.ResumeLayout(false); this.splitContainer1.Panel2.ResumeLayout(false); this.splitContainer1.ResumeLayout(false); this.ResumeLayout(false); } #endregion private System.Windows.Forms.SplitContainer splitContainer1; private System.Windows.Forms.ListView listView; private System.Windows.Forms.ColumnHeader columnHeader1; private System.Windows.Forms.TreeView treeView; private System.Windows.Forms.ImageList imageList; } }