Introduced a concept of folder depth in the database code, and updated the Snapshot class to take advantage of it. Only working for a 'OneLevel' Folder Group type.
This commit is contained in:
Generated
+87
-10
@@ -45,11 +45,18 @@
|
||||
this.label2 = new System.Windows.Forms.Label();
|
||||
this.StatusStrip = new System.Windows.Forms.StatusStrip();
|
||||
this.StatusLabel = new System.Windows.Forms.ToolStripStatusLabel();
|
||||
this.FileInfoGroupBox = new System.Windows.Forms.GroupBox();
|
||||
this.FileDetailsNameLabel = new System.Windows.Forms.Label();
|
||||
this.FileDetailsFullPathLabel = new System.Windows.Forms.Label();
|
||||
this.label6 = new System.Windows.Forms.Label();
|
||||
this.label7 = new System.Windows.Forms.Label();
|
||||
this.label8 = new System.Windows.Forms.Label();
|
||||
this.tableLayoutPanel1.SuspendLayout();
|
||||
this.PanelOne.SuspendLayout();
|
||||
this.SelectedFolderPanel.SuspendLayout();
|
||||
this.ActiveFolderGroupBox.SuspendLayout();
|
||||
this.StatusStrip.SuspendLayout();
|
||||
this.FileInfoGroupBox.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// MainMenu
|
||||
@@ -58,7 +65,7 @@
|
||||
this.MainMenu.ImageScalingSize = new System.Drawing.Size(24, 24);
|
||||
this.MainMenu.Location = new System.Drawing.Point(0, 0);
|
||||
this.MainMenu.Name = "MainMenu";
|
||||
this.MainMenu.Size = new System.Drawing.Size(1472, 24);
|
||||
this.MainMenu.Size = new System.Drawing.Size(1472, 36);
|
||||
this.MainMenu.TabIndex = 0;
|
||||
this.MainMenu.Text = "menuStrip1";
|
||||
//
|
||||
@@ -73,34 +80,36 @@
|
||||
this.tableLayoutPanel1.Controls.Add(this.PrimaryFilesTreeView, 0, 1);
|
||||
this.tableLayoutPanel1.Controls.Add(this.PanelOne, 0, 0);
|
||||
this.tableLayoutPanel1.Controls.Add(this.SelectedFolderPanel, 2, 0);
|
||||
this.tableLayoutPanel1.Controls.Add(this.FileInfoGroupBox, 1, 0);
|
||||
this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 24);
|
||||
this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 36);
|
||||
this.tableLayoutPanel1.Name = "tableLayoutPanel1";
|
||||
this.tableLayoutPanel1.RowCount = 3;
|
||||
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 33F));
|
||||
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 34F));
|
||||
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 33F));
|
||||
this.tableLayoutPanel1.Size = new System.Drawing.Size(1472, 882);
|
||||
this.tableLayoutPanel1.Size = new System.Drawing.Size(1472, 870);
|
||||
this.tableLayoutPanel1.TabIndex = 1;
|
||||
//
|
||||
// SecondaryTreeView
|
||||
//
|
||||
this.SecondaryTreeView.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.SecondaryTreeView.Location = new System.Drawing.Point(739, 294);
|
||||
this.SecondaryTreeView.Location = new System.Drawing.Point(739, 290);
|
||||
this.SecondaryTreeView.Name = "SecondaryTreeView";
|
||||
this.tableLayoutPanel1.SetRowSpan(this.SecondaryTreeView, 2);
|
||||
this.SecondaryTreeView.Size = new System.Drawing.Size(362, 585);
|
||||
this.SecondaryTreeView.ShowNodeToolTips = true;
|
||||
this.SecondaryTreeView.Size = new System.Drawing.Size(362, 577);
|
||||
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.Location = new System.Drawing.Point(3, 290);
|
||||
this.PrimaryFilesTreeView.Name = "PrimaryFilesTreeView";
|
||||
this.tableLayoutPanel1.SetRowSpan(this.PrimaryFilesTreeView, 2);
|
||||
this.PrimaryFilesTreeView.ShowNodeToolTips = true;
|
||||
this.PrimaryFilesTreeView.Size = new System.Drawing.Size(362, 585);
|
||||
this.PrimaryFilesTreeView.Size = new System.Drawing.Size(362, 577);
|
||||
this.PrimaryFilesTreeView.TabIndex = 0;
|
||||
//
|
||||
// PanelOne
|
||||
@@ -113,7 +122,7 @@
|
||||
this.PanelOne.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.PanelOne.Location = new System.Drawing.Point(3, 3);
|
||||
this.PanelOne.Name = "PanelOne";
|
||||
this.PanelOne.Size = new System.Drawing.Size(362, 285);
|
||||
this.PanelOne.Size = new System.Drawing.Size(362, 281);
|
||||
this.PanelOne.TabIndex = 1;
|
||||
//
|
||||
// ScanRootFolderButton
|
||||
@@ -169,7 +178,7 @@
|
||||
this.SelectedFolderPanel.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.SelectedFolderPanel.Location = new System.Drawing.Point(739, 3);
|
||||
this.SelectedFolderPanel.Name = "SelectedFolderPanel";
|
||||
this.SelectedFolderPanel.Size = new System.Drawing.Size(730, 285);
|
||||
this.SelectedFolderPanel.Size = new System.Drawing.Size(730, 281);
|
||||
this.SelectedFolderPanel.TabIndex = 3;
|
||||
//
|
||||
// ActiveFolderGroupBox
|
||||
@@ -180,7 +189,7 @@
|
||||
this.ActiveFolderGroupBox.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.ActiveFolderGroupBox.Location = new System.Drawing.Point(0, 0);
|
||||
this.ActiveFolderGroupBox.Name = "ActiveFolderGroupBox";
|
||||
this.ActiveFolderGroupBox.Size = new System.Drawing.Size(730, 285);
|
||||
this.ActiveFolderGroupBox.Size = new System.Drawing.Size(730, 281);
|
||||
this.ActiveFolderGroupBox.TabIndex = 0;
|
||||
this.ActiveFolderGroupBox.TabStop = false;
|
||||
this.ActiveFolderGroupBox.Text = "Folder Options";
|
||||
@@ -229,6 +238,66 @@
|
||||
this.StatusLabel.Size = new System.Drawing.Size(179, 25);
|
||||
this.StatusLabel.Text = "toolStripStatusLabel1";
|
||||
//
|
||||
// FileInfoGroupBox
|
||||
//
|
||||
this.FileInfoGroupBox.Controls.Add(this.label8);
|
||||
this.FileInfoGroupBox.Controls.Add(this.label7);
|
||||
this.FileInfoGroupBox.Controls.Add(this.label6);
|
||||
this.FileInfoGroupBox.Controls.Add(this.FileDetailsFullPathLabel);
|
||||
this.FileInfoGroupBox.Controls.Add(this.FileDetailsNameLabel);
|
||||
this.FileInfoGroupBox.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.FileInfoGroupBox.Location = new System.Drawing.Point(371, 3);
|
||||
this.FileInfoGroupBox.Name = "FileInfoGroupBox";
|
||||
this.FileInfoGroupBox.Size = new System.Drawing.Size(362, 281);
|
||||
this.FileInfoGroupBox.TabIndex = 4;
|
||||
this.FileInfoGroupBox.TabStop = false;
|
||||
this.FileInfoGroupBox.Text = "File Details";
|
||||
//
|
||||
// FileDetailsNameLabel
|
||||
//
|
||||
this.FileDetailsNameLabel.AutoSize = true;
|
||||
this.FileDetailsNameLabel.Location = new System.Drawing.Point(6, 20);
|
||||
this.FileDetailsNameLabel.Name = "FileDetailsNameLabel";
|
||||
this.FileDetailsNameLabel.Size = new System.Drawing.Size(55, 20);
|
||||
this.FileDetailsNameLabel.TabIndex = 0;
|
||||
this.FileDetailsNameLabel.Text = "Name:";
|
||||
//
|
||||
// FileDetailsFullPathLabel
|
||||
//
|
||||
this.FileDetailsFullPathLabel.AutoSize = true;
|
||||
this.FileDetailsFullPathLabel.Location = new System.Drawing.Point(6, 60);
|
||||
this.FileDetailsFullPathLabel.Name = "FileDetailsFullPathLabel";
|
||||
this.FileDetailsFullPathLabel.Size = new System.Drawing.Size(75, 20);
|
||||
this.FileDetailsFullPathLabel.TabIndex = 1;
|
||||
this.FileDetailsFullPathLabel.Text = "Full Path:";
|
||||
//
|
||||
// label6
|
||||
//
|
||||
this.label6.AutoSize = true;
|
||||
this.label6.Location = new System.Drawing.Point(6, 100);
|
||||
this.label6.Name = "label6";
|
||||
this.label6.Size = new System.Drawing.Size(55, 20);
|
||||
this.label6.TabIndex = 2;
|
||||
this.label6.Text = "Name:";
|
||||
//
|
||||
// label7
|
||||
//
|
||||
this.label7.AutoSize = true;
|
||||
this.label7.Location = new System.Drawing.Point(6, 140);
|
||||
this.label7.Name = "label7";
|
||||
this.label7.Size = new System.Drawing.Size(55, 20);
|
||||
this.label7.TabIndex = 3;
|
||||
this.label7.Text = "Name:";
|
||||
//
|
||||
// label8
|
||||
//
|
||||
this.label8.AutoSize = true;
|
||||
this.label8.Location = new System.Drawing.Point(6, 180);
|
||||
this.label8.Name = "label8";
|
||||
this.label8.Size = new System.Drawing.Size(55, 20);
|
||||
this.label8.TabIndex = 4;
|
||||
this.label8.Text = "Name:";
|
||||
//
|
||||
// FileViewer
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 20F);
|
||||
@@ -249,6 +318,8 @@
|
||||
this.ActiveFolderGroupBox.PerformLayout();
|
||||
this.StatusStrip.ResumeLayout(false);
|
||||
this.StatusStrip.PerformLayout();
|
||||
this.FileInfoGroupBox.ResumeLayout(false);
|
||||
this.FileInfoGroupBox.PerformLayout();
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
@@ -273,5 +344,11 @@
|
||||
private System.Windows.Forms.Button ScanRootFolderButton;
|
||||
private System.Windows.Forms.StatusStrip StatusStrip;
|
||||
private System.Windows.Forms.ToolStripStatusLabel StatusLabel;
|
||||
private System.Windows.Forms.GroupBox FileInfoGroupBox;
|
||||
private System.Windows.Forms.Label label8;
|
||||
private System.Windows.Forms.Label label7;
|
||||
private System.Windows.Forms.Label label6;
|
||||
private System.Windows.Forms.Label FileDetailsFullPathLabel;
|
||||
private System.Windows.Forms.Label FileDetailsNameLabel;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user