Click here to Skip to main content
15,897,273 members
Articles / Programming Languages / C#

Dual Pane File Manager

Rate me:
Please Sign up or sign in to vote.
4.64/5 (28 votes)
21 Dec 2010CPOL8 min read 140.9K   2.3K   119  
A dual pane file manager for Windows XP.
namespace JGFSControls
{
	partial class FormSearch
	{
		/// <summary>
		/// Required designer variable.
		/// </summary>
		private System.ComponentModel.IContainer components = null;

		/// <summary>
		/// Clean up any resources being used.
		/// </summary>
		/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
		protected override void Dispose(bool disposing)
		{
			if (disposing && (components != null))
			{
				components.Dispose();
			}
			base.Dispose(disposing);
		}

		#region Windows Form Designer generated code

		/// <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(FormSearch));
			this.label1 = new System.Windows.Forms.Label();
			this.txtSearchRoot = new System.Windows.Forms.TextBox();
			this.chkGetFiles = new System.Windows.Forms.CheckBox();
			this.chkGetFolders = new System.Windows.Forms.CheckBox();
			this.chkRecurse = new System.Windows.Forms.CheckBox();
			this.statusStrip1 = new System.Windows.Forms.StatusStrip();
			this.tslblMessage = new System.Windows.Forms.ToolStripStatusLabel();
			this.gbxMain = new System.Windows.Forms.GroupBox();
			this.toolStrip1 = new System.Windows.Forms.ToolStrip();
			this.toolStripLabel1 = new System.Windows.Forms.ToolStripLabel();
			this.tstxtFileSpec = new System.Windows.Forms.ToolStripTextBox();
			this.tsbtnSearch = new System.Windows.Forms.ToolStripButton();
			this.tsbtnGoToSelected = new System.Windows.Forms.ToolStripButton();
			this.tsbtnView = new System.Windows.Forms.ToolStripDropDownButton();
			this.tsmnuDetails = new System.Windows.Forms.ToolStripMenuItem();
			this.tsmnuLargeIcon = new System.Windows.Forms.ToolStripMenuItem();
			this.tsmnuList = new System.Windows.Forms.ToolStripMenuItem();
			this.tsmnuSmallIcon = new System.Windows.Forms.ToolStripMenuItem();
			this.tsmnuTile = new System.Windows.Forms.ToolStripMenuItem();
			this.panLV = new System.Windows.Forms.Panel();
			this.lvResults = new System.Windows.Forms.ListView();
			this.columnHeader1 = new System.Windows.Forms.ColumnHeader();
			this.columnHeader2 = new System.Windows.Forms.ColumnHeader();
			this.columnHeader3 = new System.Windows.Forms.ColumnHeader();
			this.columnHeader4 = new System.Windows.Forms.ColumnHeader();
			this.columnHeader5 = new System.Windows.Forms.ColumnHeader();
			this.statusStrip1.SuspendLayout();
			this.gbxMain.SuspendLayout();
			this.toolStrip1.SuspendLayout();
			this.panLV.SuspendLayout();
			this.SuspendLayout();
			// 
			// label1
			// 
			this.label1.AutoSize = true;
			this.label1.Location = new System.Drawing.Point(12, 24);
			this.label1.Name = "label1";
			this.label1.Size = new System.Drawing.Size(112, 13);
			this.label1.TabIndex = 0;
			this.label1.Text = "Search Root Directory";
			this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
			// 
			// txtSearchRoot
			// 
			this.txtSearchRoot.Location = new System.Drawing.Point(131, 20);
			this.txtSearchRoot.Name = "txtSearchRoot";
			this.txtSearchRoot.Size = new System.Drawing.Size(511, 20);
			this.txtSearchRoot.TabIndex = 1;
			this.txtSearchRoot.Text = "D:\\Data\\Visual Studio 2008\\Projects\\JGToolBox";
			// 
			// chkGetFiles
			// 
			this.chkGetFiles.CheckAlign = System.Drawing.ContentAlignment.MiddleRight;
			this.chkGetFiles.Checked = true;
			this.chkGetFiles.CheckState = System.Windows.Forms.CheckState.Checked;
			this.chkGetFiles.Location = new System.Drawing.Point(168, 46);
			this.chkGetFiles.Name = "chkGetFiles";
			this.chkGetFiles.Size = new System.Drawing.Size(87, 17);
			this.chkGetFiles.TabIndex = 15;
			this.chkGetFiles.Text = "Find Files";
			this.chkGetFiles.UseVisualStyleBackColor = true;
			// 
			// chkGetFolders
			// 
			this.chkGetFolders.CheckAlign = System.Drawing.ContentAlignment.MiddleRight;
			this.chkGetFolders.Location = new System.Drawing.Point(270, 46);
			this.chkGetFolders.Name = "chkGetFolders";
			this.chkGetFolders.Size = new System.Drawing.Size(87, 17);
			this.chkGetFolders.TabIndex = 14;
			this.chkGetFolders.Text = "Find Folders";
			this.chkGetFolders.UseVisualStyleBackColor = true;
			// 
			// chkRecurse
			// 
			this.chkRecurse.CheckAlign = System.Drawing.ContentAlignment.MiddleRight;
			this.chkRecurse.Checked = true;
			this.chkRecurse.CheckState = System.Windows.Forms.CheckState.Checked;
			this.chkRecurse.Location = new System.Drawing.Point(12, 46);
			this.chkRecurse.Name = "chkRecurse";
			this.chkRecurse.Size = new System.Drawing.Size(133, 17);
			this.chkRecurse.TabIndex = 11;
			this.chkRecurse.Text = "Recursive Search";
			this.chkRecurse.UseVisualStyleBackColor = true;
			// 
			// statusStrip1
			// 
			this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.tslblMessage});
			this.statusStrip1.Location = new System.Drawing.Point(0, 412);
			this.statusStrip1.Name = "statusStrip1";
			this.statusStrip1.Size = new System.Drawing.Size(669, 22);
			this.statusStrip1.TabIndex = 17;
			this.statusStrip1.Text = "statusStrip1";
			// 
			// tslblMessage
			// 
			this.tslblMessage.Name = "tslblMessage";
			this.tslblMessage.Size = new System.Drawing.Size(654, 17);
			this.tslblMessage.Spring = true;
			this.tslblMessage.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
			// 
			// gbxMain
			// 
			this.gbxMain.Controls.Add(this.toolStrip1);
			this.gbxMain.Controls.Add(this.label1);
			this.gbxMain.Controls.Add(this.chkGetFiles);
			this.gbxMain.Controls.Add(this.txtSearchRoot);
			this.gbxMain.Controls.Add(this.chkGetFolders);
			this.gbxMain.Controls.Add(this.chkRecurse);
			this.gbxMain.Dock = System.Windows.Forms.DockStyle.Top;
			this.gbxMain.Location = new System.Drawing.Point(0, 0);
			this.gbxMain.Name = "gbxMain";
			this.gbxMain.Size = new System.Drawing.Size(669, 106);
			this.gbxMain.TabIndex = 19;
			this.gbxMain.TabStop = false;
			this.gbxMain.Text = "Search Criteria";
			// 
			// toolStrip1
			// 
			this.toolStrip1.Dock = System.Windows.Forms.DockStyle.Bottom;
			this.toolStrip1.GripStyle = System.Windows.Forms.ToolStripGripStyle.Hidden;
			this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.toolStripLabel1,
            this.tstxtFileSpec,
            this.tsbtnSearch,
            this.tsbtnGoToSelected,
            this.tsbtnView});
			this.toolStrip1.Location = new System.Drawing.Point(3, 78);
			this.toolStrip1.Name = "toolStrip1";
			this.toolStrip1.Size = new System.Drawing.Size(663, 25);
			this.toolStrip1.TabIndex = 20;
			this.toolStrip1.Text = "toolStrip1";
			// 
			// toolStripLabel1
			// 
			this.toolStripLabel1.Name = "toolStripLabel1";
			this.toolStripLabel1.Size = new System.Drawing.Size(49, 22);
			this.toolStripLabel1.Text = "File Spec";
			// 
			// tstxtFileSpec
			// 
			this.tstxtFileSpec.Name = "tstxtFileSpec";
			this.tstxtFileSpec.Size = new System.Drawing.Size(100, 25);
			this.tstxtFileSpec.Text = "*.*";
			this.tstxtFileSpec.TextChanged += new System.EventHandler(this.tstxtFileSpec_TextChanged);
			// 
			// tsbtnSearch
			// 
			this.tsbtnSearch.Image = ((System.Drawing.Image)(resources.GetObject("tsbtnSearch.Image")));
			this.tsbtnSearch.ImageTransparentColor = System.Drawing.Color.Magenta;
			this.tsbtnSearch.Name = "tsbtnSearch";
			this.tsbtnSearch.Size = new System.Drawing.Size(60, 22);
			this.tsbtnSearch.Text = "Search";
			this.tsbtnSearch.Click += new System.EventHandler(this.tsbtnSearch_Click);
			// 
			// tsbtnGoToSelected
			// 
			this.tsbtnGoToSelected.Image = ((System.Drawing.Image)(resources.GetObject("tsbtnGoToSelected.Image")));
			this.tsbtnGoToSelected.ImageTransparentColor = System.Drawing.Color.Magenta;
			this.tsbtnGoToSelected.Name = "tsbtnGoToSelected";
			this.tsbtnGoToSelected.Size = new System.Drawing.Size(99, 22);
			this.tsbtnGoToSelected.Text = "Go To Selected";
			this.tsbtnGoToSelected.Click += new System.EventHandler(this.tsbtnGoToSelected_Click);
			// 
			// tsbtnView
			// 
			this.tsbtnView.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.tsmnuDetails,
            this.tsmnuLargeIcon,
            this.tsmnuList,
            this.tsmnuSmallIcon,
            this.tsmnuTile});
			this.tsbtnView.Image = ((System.Drawing.Image)(resources.GetObject("tsbtnView.Image")));
			this.tsbtnView.ImageTransparentColor = System.Drawing.Color.Magenta;
			this.tsbtnView.Name = "tsbtnView";
			this.tsbtnView.Size = new System.Drawing.Size(68, 22);
			this.tsbtnView.Text = "Details";
			// 
			// tsmnuDetails
			// 
			this.tsmnuDetails.Name = "tsmnuDetails";
			this.tsmnuDetails.Size = new System.Drawing.Size(136, 22);
			this.tsmnuDetails.Text = "Details";
			this.tsmnuDetails.Click += new System.EventHandler(this.ViewMenu_Click);
			// 
			// tsmnuLargeIcon
			// 
			this.tsmnuLargeIcon.Name = "tsmnuLargeIcon";
			this.tsmnuLargeIcon.Size = new System.Drawing.Size(136, 22);
			this.tsmnuLargeIcon.Text = "Large Icon";
			this.tsmnuLargeIcon.Click += new System.EventHandler(this.ViewMenu_Click);
			// 
			// tsmnuList
			// 
			this.tsmnuList.Name = "tsmnuList";
			this.tsmnuList.Size = new System.Drawing.Size(136, 22);
			this.tsmnuList.Text = "List";
			this.tsmnuList.Click += new System.EventHandler(this.ViewMenu_Click);
			// 
			// tsmnuSmallIcon
			// 
			this.tsmnuSmallIcon.Name = "tsmnuSmallIcon";
			this.tsmnuSmallIcon.Size = new System.Drawing.Size(136, 22);
			this.tsmnuSmallIcon.Text = "Small Icon";
			this.tsmnuSmallIcon.Click += new System.EventHandler(this.ViewMenu_Click);
			// 
			// tsmnuTile
			// 
			this.tsmnuTile.Name = "tsmnuTile";
			this.tsmnuTile.Size = new System.Drawing.Size(136, 22);
			this.tsmnuTile.Text = "Tile";
			this.tsmnuTile.Click += new System.EventHandler(this.ViewMenu_Click);
			// 
			// panLV
			// 
			this.panLV.Controls.Add(this.lvResults);
			this.panLV.Dock = System.Windows.Forms.DockStyle.Fill;
			this.panLV.Location = new System.Drawing.Point(0, 106);
			this.panLV.Name = "panLV";
			this.panLV.Size = new System.Drawing.Size(669, 306);
			this.panLV.TabIndex = 20;
			// 
			// lvResults
			// 
			this.lvResults.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
            this.columnHeader1,
            this.columnHeader2,
            this.columnHeader3,
            this.columnHeader4,
            this.columnHeader5});
			this.lvResults.Dock = System.Windows.Forms.DockStyle.Fill;
			this.lvResults.HideSelection = false;
			this.lvResults.Location = new System.Drawing.Point(0, 0);
			this.lvResults.Name = "lvResults";
			this.lvResults.Size = new System.Drawing.Size(669, 306);
			this.lvResults.TabIndex = 0;
			this.lvResults.UseCompatibleStateImageBehavior = false;
			this.lvResults.View = System.Windows.Forms.View.Details;
			this.lvResults.ItemActivate += new System.EventHandler(this.lvResults_ItemActivate);
			this.lvResults.ColumnClick += new System.Windows.Forms.ColumnClickEventHandler(this.lvResults_ColumnClick);
			// 
			// columnHeader1
			// 
			this.columnHeader1.Text = "Name";
			this.columnHeader1.Width = 138;
			// 
			// columnHeader2
			// 
			this.columnHeader2.Text = "Size";
			this.columnHeader2.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
			// 
			// columnHeader3
			// 
			this.columnHeader3.Text = "File Type";
			this.columnHeader3.Width = 152;
			// 
			// columnHeader4
			// 
			this.columnHeader4.Text = "Date Modified";
			this.columnHeader4.TextAlign = System.Windows.Forms.HorizontalAlignment.Right;
			this.columnHeader4.Width = 119;
			// 
			// columnHeader5
			// 
			this.columnHeader5.Text = "Parent Folder";
			this.columnHeader5.Width = 169;
			// 
			// FormSearch
			// 
			this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
			this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
			this.ClientSize = new System.Drawing.Size(669, 434);
			this.Controls.Add(this.panLV);
			this.Controls.Add(this.gbxMain);
			this.Controls.Add(this.statusStrip1);
			this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.SizableToolWindow;
			this.Name = "FormSearch";
			this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
			this.Text = "Search Form";
			this.Load += new System.EventHandler(this.FormSearch_Load);
			this.Activated += new System.EventHandler(this.FormSearch_Activated);
			this.statusStrip1.ResumeLayout(false);
			this.statusStrip1.PerformLayout();
			this.gbxMain.ResumeLayout(false);
			this.gbxMain.PerformLayout();
			this.toolStrip1.ResumeLayout(false);
			this.toolStrip1.PerformLayout();
			this.panLV.ResumeLayout(false);
			this.ResumeLayout(false);
			this.PerformLayout();

		}

		#endregion

		private System.Windows.Forms.Label label1;
		private System.Windows.Forms.TextBox txtSearchRoot;
		private System.Windows.Forms.CheckBox chkGetFiles;
		private System.Windows.Forms.CheckBox chkGetFolders;
		private System.Windows.Forms.CheckBox chkRecurse;
		private System.Windows.Forms.StatusStrip statusStrip1;
		private System.Windows.Forms.ToolStripStatusLabel tslblMessage;
		private System.Windows.Forms.GroupBox gbxMain;
		private System.Windows.Forms.Panel panLV;
		private System.Windows.Forms.ListView lvResults;
		private System.Windows.Forms.ColumnHeader columnHeader1;
		private System.Windows.Forms.ColumnHeader columnHeader2;
		private System.Windows.Forms.ColumnHeader columnHeader3;
		private System.Windows.Forms.ColumnHeader columnHeader4;
		private System.Windows.Forms.ColumnHeader columnHeader5;
		private System.Windows.Forms.ToolStrip toolStrip1;
		private System.Windows.Forms.ToolStripButton tsbtnSearch;
		private System.Windows.Forms.ToolStripButton tsbtnGoToSelected;
		private System.Windows.Forms.ToolStripDropDownButton tsbtnView;
		private System.Windows.Forms.ToolStripMenuItem tsmnuDetails;
		private System.Windows.Forms.ToolStripMenuItem tsmnuLargeIcon;
		private System.Windows.Forms.ToolStripMenuItem tsmnuSmallIcon;
		private System.Windows.Forms.ToolStripMenuItem tsmnuTile;
		private System.Windows.Forms.ToolStripMenuItem tsmnuList;
		private System.Windows.Forms.ToolStripTextBox tstxtFileSpec;
		private System.Windows.Forms.ToolStripLabel toolStripLabel1;
	}
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Retired
United Kingdom United Kingdom
I have been a keen hobbyist programmer since getting my first computer - a Vic 20 (you had to be able to write programs then since few programs were available and all were expensive).
Retired and now living in Pewsey, Wiltshire, where I spend (far too much of) my time writing computer programs to keep my mind active.

Comments and Discussions