Added a new structor to help make getting file and folder information much easier.

This commit is contained in:
Admin
2020-11-13 13:16:06 -06:00
parent 0af7111d08
commit cc3c87cb5d
6 changed files with 409 additions and 89 deletions
+63 -62
View File
@@ -30,19 +30,19 @@
{
this.MainMenu = new System.Windows.Forms.MenuStrip();
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
this.SecondaryTreeView = new System.Windows.Forms.TreeView();
this.PrimaryFilesTreeView = new System.Windows.Forms.TreeView();
this.PanelOne = new System.Windows.Forms.Panel();
this.label1 = new System.Windows.Forms.Label();
this.ScanRootFolderButton = new System.Windows.Forms.Button();
this.RootFolderComboBox = new System.Windows.Forms.ComboBox();
this.label3 = new System.Windows.Forms.Label();
this.ProfileComboBox = new System.Windows.Forms.ComboBox();
this.SecondaryTreeView = new System.Windows.Forms.TreeView();
this.label1 = new System.Windows.Forms.Label();
this.SelectedFolderPanel = new System.Windows.Forms.Panel();
this.ActiveFolderGroupBox = new System.Windows.Forms.GroupBox();
this.label2 = new System.Windows.Forms.Label();
this.FolderSelectButton = new System.Windows.Forms.Button();
this.label3 = new System.Windows.Forms.Label();
this.SelectedFolderComboBox = new System.Windows.Forms.ComboBox();
this.RootFolderComboBox = new System.Windows.Forms.ComboBox();
this.ScanRootFolderButton = new System.Windows.Forms.Button();
this.FolderSelectButton = new System.Windows.Forms.Button();
this.label2 = new System.Windows.Forms.Label();
this.StatusStrip = new System.Windows.Forms.StatusStrip();
this.StatusLabel = new System.Windows.Forms.ToolStripStatusLabel();
this.tableLayoutPanel1.SuspendLayout();
@@ -83,9 +83,19 @@
this.tableLayoutPanel1.Size = new System.Drawing.Size(1472, 882);
this.tableLayoutPanel1.TabIndex = 1;
//
// SecondaryTreeView
//
this.SecondaryTreeView.Dock = System.Windows.Forms.DockStyle.Fill;
this.SecondaryTreeView.Location = new System.Drawing.Point(739, 294);
this.SecondaryTreeView.Name = "SecondaryTreeView";
this.tableLayoutPanel1.SetRowSpan(this.SecondaryTreeView, 2);
this.SecondaryTreeView.Size = new System.Drawing.Size(362, 585);
this.SecondaryTreeView.TabIndex = 2;
//
// PrimaryFilesTreeView
//
this.PrimaryFilesTreeView.Dock = System.Windows.Forms.DockStyle.Fill;
this.PrimaryFilesTreeView.FullRowSelect = true;
this.PrimaryFilesTreeView.Location = new System.Drawing.Point(3, 294);
this.PrimaryFilesTreeView.Name = "PrimaryFilesTreeView";
this.tableLayoutPanel1.SetRowSpan(this.PrimaryFilesTreeView, 2);
@@ -106,14 +116,33 @@
this.PanelOne.Size = new System.Drawing.Size(362, 285);
this.PanelOne.TabIndex = 1;
//
// label1
// ScanRootFolderButton
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(10, 20);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(104, 20);
this.label1.TabIndex = 0;
this.label1.Text = "Active Profile:";
this.ScanRootFolderButton.Location = new System.Drawing.Point(186, 238);
this.ScanRootFolderButton.Name = "ScanRootFolderButton";
this.ScanRootFolderButton.Size = new System.Drawing.Size(173, 44);
this.ScanRootFolderButton.TabIndex = 4;
this.ScanRootFolderButton.Text = "Scan Selected Folder";
this.ScanRootFolderButton.UseVisualStyleBackColor = true;
this.ScanRootFolderButton.Click += new System.EventHandler(this.ScanRootFolderButton_Click);
//
// RootFolderComboBox
//
this.RootFolderComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.RootFolderComboBox.FormattingEnabled = true;
this.RootFolderComboBox.Location = new System.Drawing.Point(162, 57);
this.RootFolderComboBox.Name = "RootFolderComboBox";
this.RootFolderComboBox.Size = new System.Drawing.Size(197, 28);
this.RootFolderComboBox.TabIndex = 3;
//
// label3
//
this.label3.AutoSize = true;
this.label3.Location = new System.Drawing.Point(10, 60);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(146, 20);
this.label3.TabIndex = 2;
this.label3.Text = "Select Root Folder:";
//
// ProfileComboBox
//
@@ -124,14 +153,14 @@
this.ProfileComboBox.Size = new System.Drawing.Size(239, 28);
this.ProfileComboBox.TabIndex = 1;
//
// SecondaryTreeView
// label1
//
this.SecondaryTreeView.Dock = System.Windows.Forms.DockStyle.Fill;
this.SecondaryTreeView.Location = new System.Drawing.Point(739, 294);
this.SecondaryTreeView.Name = "SecondaryTreeView";
this.tableLayoutPanel1.SetRowSpan(this.SecondaryTreeView, 2);
this.SecondaryTreeView.Size = new System.Drawing.Size(362, 585);
this.SecondaryTreeView.TabIndex = 2;
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(10, 20);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(104, 20);
this.label1.TabIndex = 0;
this.label1.Text = "Active Profile:";
//
// SelectedFolderPanel
//
@@ -156,14 +185,13 @@
this.ActiveFolderGroupBox.TabStop = false;
this.ActiveFolderGroupBox.Text = "Folder Options";
//
// label2
// SelectedFolderComboBox
//
this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(6, 20);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(145, 20);
this.label2.TabIndex = 0;
this.label2.Text = "Folder to Compare:";
this.SelectedFolderComboBox.FormattingEnabled = true;
this.SelectedFolderComboBox.Location = new System.Drawing.Point(157, 16);
this.SelectedFolderComboBox.Name = "SelectedFolderComboBox";
this.SelectedFolderComboBox.Size = new System.Drawing.Size(509, 28);
this.SelectedFolderComboBox.TabIndex = 3;
//
// FolderSelectButton
//
@@ -175,41 +203,14 @@
this.FolderSelectButton.UseVisualStyleBackColor = true;
this.FolderSelectButton.Click += new System.EventHandler(this.FolderSelectButton_Click);
//
// label3
// label2
//
this.label3.AutoSize = true;
this.label3.Location = new System.Drawing.Point(10, 60);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(146, 20);
this.label3.TabIndex = 2;
this.label3.Text = "Select Root Folder:";
//
// SelectedFolderComboBox
//
this.SelectedFolderComboBox.FormattingEnabled = true;
this.SelectedFolderComboBox.Location = new System.Drawing.Point(157, 16);
this.SelectedFolderComboBox.Name = "SelectedFolderComboBox";
this.SelectedFolderComboBox.Size = new System.Drawing.Size(509, 28);
this.SelectedFolderComboBox.TabIndex = 3;
//
// RootFolderComboBox
//
this.RootFolderComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.RootFolderComboBox.FormattingEnabled = true;
this.RootFolderComboBox.Location = new System.Drawing.Point(162, 57);
this.RootFolderComboBox.Name = "RootFolderComboBox";
this.RootFolderComboBox.Size = new System.Drawing.Size(197, 28);
this.RootFolderComboBox.TabIndex = 3;
//
// ScanRootFolderButton
//
this.ScanRootFolderButton.Location = new System.Drawing.Point(186, 238);
this.ScanRootFolderButton.Name = "ScanRootFolderButton";
this.ScanRootFolderButton.Size = new System.Drawing.Size(173, 44);
this.ScanRootFolderButton.TabIndex = 4;
this.ScanRootFolderButton.Text = "Scan Selected Folder";
this.ScanRootFolderButton.UseVisualStyleBackColor = true;
this.ScanRootFolderButton.Click += new System.EventHandler(this.ScanRootFolderButton_Click);
this.label2.AutoSize = true;
this.label2.Location = new System.Drawing.Point(6, 20);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(145, 20);
this.label2.TabIndex = 0;
this.label2.Text = "Folder to Compare:";
//
// StatusStrip
//