Finished up the profile manager for now and added some code to get the FileViewer started.
This commit is contained in:
Generated
+120
-64
@@ -34,6 +34,10 @@
|
||||
this.label3 = new System.Windows.Forms.Label();
|
||||
this.ProfileInfoPanel = new System.Windows.Forms.Panel();
|
||||
this.ProfileInfoGroupBox = new System.Windows.Forms.GroupBox();
|
||||
this.InsertGroupName = new System.Windows.Forms.Button();
|
||||
this.FolderGroupNameTextBox = new System.Windows.Forms.TextBox();
|
||||
this.label5 = new System.Windows.Forms.Label();
|
||||
this.DeleteProfileButton = new System.Windows.Forms.Button();
|
||||
this.MachineNameTextBox = new System.Windows.Forms.TextBox();
|
||||
this.label4 = new System.Windows.Forms.Label();
|
||||
this.ProfileNameTextBox = new System.Windows.Forms.TextBox();
|
||||
@@ -43,11 +47,12 @@
|
||||
this.SelectNewContentLocationButton = new System.Windows.Forms.Button();
|
||||
this.label2 = new System.Windows.Forms.Label();
|
||||
this.NewContentLocationTextBox = new System.Windows.Forms.TextBox();
|
||||
this.DeleteProfileButton = new System.Windows.Forms.Button();
|
||||
this.label5 = new System.Windows.Forms.Label();
|
||||
this.FolderGroupNameTextBox = new System.Windows.Forms.TextBox();
|
||||
this.InsertGroupName = new System.Windows.Forms.Button();
|
||||
this.FolderGroupsTreeView = new System.Windows.Forms.TreeView();
|
||||
this.label6 = new System.Windows.Forms.Label();
|
||||
this.FolderGroupPathTextBox = new System.Windows.Forms.TextBox();
|
||||
this.FolderGroupPathButton = new System.Windows.Forms.Button();
|
||||
this.FolderGroupListView = new System.Windows.Forms.ListView();
|
||||
this.NameColumn = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
||||
this.PathColumn = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
||||
this.MainLayoutPanel.SuspendLayout();
|
||||
this.MainPanel.SuspendLayout();
|
||||
this.ProfileInfoPanel.SuspendLayout();
|
||||
@@ -66,7 +71,7 @@
|
||||
this.MainLayoutPanel.RowCount = 2;
|
||||
this.MainLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 15F));
|
||||
this.MainLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 85F));
|
||||
this.MainLayoutPanel.Size = new System.Drawing.Size(627, 725);
|
||||
this.MainLayoutPanel.Size = new System.Drawing.Size(627, 809);
|
||||
this.MainLayoutPanel.TabIndex = 0;
|
||||
//
|
||||
// MainPanel
|
||||
@@ -76,14 +81,14 @@
|
||||
this.MainPanel.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.MainPanel.Location = new System.Drawing.Point(3, 3);
|
||||
this.MainPanel.Name = "MainPanel";
|
||||
this.MainPanel.Size = new System.Drawing.Size(621, 102);
|
||||
this.MainPanel.Size = new System.Drawing.Size(621, 115);
|
||||
this.MainPanel.TabIndex = 0;
|
||||
//
|
||||
// ProfilesComboBox
|
||||
//
|
||||
this.ProfilesComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.ProfilesComboBox.FormattingEnabled = true;
|
||||
this.ProfilesComboBox.Location = new System.Drawing.Point(201, 24);
|
||||
this.ProfilesComboBox.Location = new System.Drawing.Point(201, 44);
|
||||
this.ProfilesComboBox.Name = "ProfilesComboBox";
|
||||
this.ProfilesComboBox.Size = new System.Drawing.Size(311, 28);
|
||||
this.ProfilesComboBox.TabIndex = 0;
|
||||
@@ -91,7 +96,7 @@
|
||||
// label3
|
||||
//
|
||||
this.label3.AutoSize = true;
|
||||
this.label3.Location = new System.Drawing.Point(19, 24);
|
||||
this.label3.Location = new System.Drawing.Point(23, 47);
|
||||
this.label3.Name = "label3";
|
||||
this.label3.Size = new System.Drawing.Size(65, 20);
|
||||
this.label3.TabIndex = 7;
|
||||
@@ -101,14 +106,17 @@
|
||||
//
|
||||
this.ProfileInfoPanel.Controls.Add(this.ProfileInfoGroupBox);
|
||||
this.ProfileInfoPanel.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.ProfileInfoPanel.Location = new System.Drawing.Point(3, 111);
|
||||
this.ProfileInfoPanel.Location = new System.Drawing.Point(3, 124);
|
||||
this.ProfileInfoPanel.Name = "ProfileInfoPanel";
|
||||
this.ProfileInfoPanel.Size = new System.Drawing.Size(621, 611);
|
||||
this.ProfileInfoPanel.Size = new System.Drawing.Size(621, 682);
|
||||
this.ProfileInfoPanel.TabIndex = 1;
|
||||
//
|
||||
// ProfileInfoGroupBox
|
||||
//
|
||||
this.ProfileInfoGroupBox.Controls.Add(this.FolderGroupsTreeView);
|
||||
this.ProfileInfoGroupBox.Controls.Add(this.FolderGroupListView);
|
||||
this.ProfileInfoGroupBox.Controls.Add(this.FolderGroupPathButton);
|
||||
this.ProfileInfoGroupBox.Controls.Add(this.FolderGroupPathTextBox);
|
||||
this.ProfileInfoGroupBox.Controls.Add(this.label6);
|
||||
this.ProfileInfoGroupBox.Controls.Add(this.InsertGroupName);
|
||||
this.ProfileInfoGroupBox.Controls.Add(this.FolderGroupNameTextBox);
|
||||
this.ProfileInfoGroupBox.Controls.Add(this.label5);
|
||||
@@ -125,14 +133,53 @@
|
||||
this.ProfileInfoGroupBox.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.ProfileInfoGroupBox.Location = new System.Drawing.Point(0, 0);
|
||||
this.ProfileInfoGroupBox.Name = "ProfileInfoGroupBox";
|
||||
this.ProfileInfoGroupBox.Size = new System.Drawing.Size(621, 611);
|
||||
this.ProfileInfoGroupBox.Size = new System.Drawing.Size(621, 682);
|
||||
this.ProfileInfoGroupBox.TabIndex = 0;
|
||||
this.ProfileInfoGroupBox.TabStop = false;
|
||||
this.ProfileInfoGroupBox.Text = "Profile Information";
|
||||
//
|
||||
// InsertGroupName
|
||||
//
|
||||
this.InsertGroupName.Enabled = false;
|
||||
this.InsertGroupName.Location = new System.Drawing.Point(518, 429);
|
||||
this.InsertGroupName.Name = "InsertGroupName";
|
||||
this.InsertGroupName.Size = new System.Drawing.Size(86, 39);
|
||||
this.InsertGroupName.TabIndex = 8;
|
||||
this.InsertGroupName.Text = "Insert";
|
||||
this.InsertGroupName.UseVisualStyleBackColor = true;
|
||||
this.InsertGroupName.Click += new System.EventHandler(this.InsertGroupName_Click);
|
||||
//
|
||||
// FolderGroupNameTextBox
|
||||
//
|
||||
this.FolderGroupNameTextBox.Location = new System.Drawing.Point(201, 286);
|
||||
this.FolderGroupNameTextBox.Name = "FolderGroupNameTextBox";
|
||||
this.FolderGroupNameTextBox.Size = new System.Drawing.Size(311, 26);
|
||||
this.FolderGroupNameTextBox.TabIndex = 5;
|
||||
//
|
||||
// label5
|
||||
//
|
||||
this.label5.AutoSize = true;
|
||||
this.label5.Location = new System.Drawing.Point(16, 289);
|
||||
this.label5.Name = "label5";
|
||||
this.label5.Size = new System.Drawing.Size(153, 20);
|
||||
this.label5.TabIndex = 9;
|
||||
this.label5.Text = "Folder Group Name:";
|
||||
//
|
||||
// DeleteProfileButton
|
||||
//
|
||||
this.DeleteProfileButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
this.DeleteProfileButton.Location = new System.Drawing.Point(9, 633);
|
||||
this.DeleteProfileButton.Name = "DeleteProfileButton";
|
||||
this.DeleteProfileButton.Size = new System.Drawing.Size(75, 40);
|
||||
this.DeleteProfileButton.TabIndex = 8;
|
||||
this.DeleteProfileButton.TabStop = false;
|
||||
this.DeleteProfileButton.Text = "Delete";
|
||||
this.DeleteProfileButton.UseVisualStyleBackColor = true;
|
||||
this.DeleteProfileButton.Click += new System.EventHandler(this.DeleteProfileButton_Click);
|
||||
//
|
||||
// MachineNameTextBox
|
||||
//
|
||||
this.MachineNameTextBox.Location = new System.Drawing.Point(201, 253);
|
||||
this.MachineNameTextBox.Location = new System.Drawing.Point(201, 228);
|
||||
this.MachineNameTextBox.Name = "MachineNameTextBox";
|
||||
this.MachineNameTextBox.Size = new System.Drawing.Size(311, 26);
|
||||
this.MachineNameTextBox.TabIndex = 4;
|
||||
@@ -140,7 +187,7 @@
|
||||
// label4
|
||||
//
|
||||
this.label4.AutoSize = true;
|
||||
this.label4.Location = new System.Drawing.Point(19, 256);
|
||||
this.label4.Location = new System.Drawing.Point(16, 231);
|
||||
this.label4.Name = "label4";
|
||||
this.label4.Size = new System.Drawing.Size(119, 20);
|
||||
this.label4.TabIndex = 7;
|
||||
@@ -148,7 +195,7 @@
|
||||
//
|
||||
// ProfileNameTextBox
|
||||
//
|
||||
this.ProfileNameTextBox.Location = new System.Drawing.Point(201, 51);
|
||||
this.ProfileNameTextBox.Location = new System.Drawing.Point(201, 54);
|
||||
this.ProfileNameTextBox.Name = "ProfileNameTextBox";
|
||||
this.ProfileNameTextBox.Size = new System.Drawing.Size(311, 26);
|
||||
this.ProfileNameTextBox.TabIndex = 1;
|
||||
@@ -156,7 +203,7 @@
|
||||
// MachineNameLabel
|
||||
//
|
||||
this.MachineNameLabel.AutoSize = true;
|
||||
this.MachineNameLabel.Location = new System.Drawing.Point(17, 185);
|
||||
this.MachineNameLabel.Location = new System.Drawing.Point(16, 173);
|
||||
this.MachineNameLabel.Name = "MachineNameLabel";
|
||||
this.MachineNameLabel.Size = new System.Drawing.Size(472, 20);
|
||||
this.MachineNameLabel.TabIndex = 5;
|
||||
@@ -165,10 +212,10 @@
|
||||
// AddOrUpdateProfileButton
|
||||
//
|
||||
this.AddOrUpdateProfileButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.AddOrUpdateProfileButton.Location = new System.Drawing.Point(518, 562);
|
||||
this.AddOrUpdateProfileButton.Location = new System.Drawing.Point(518, 633);
|
||||
this.AddOrUpdateProfileButton.Name = "AddOrUpdateProfileButton";
|
||||
this.AddOrUpdateProfileButton.Size = new System.Drawing.Size(86, 40);
|
||||
this.AddOrUpdateProfileButton.TabIndex = 7;
|
||||
this.AddOrUpdateProfileButton.TabIndex = 9;
|
||||
this.AddOrUpdateProfileButton.Text = "button1";
|
||||
this.AddOrUpdateProfileButton.UseVisualStyleBackColor = true;
|
||||
this.AddOrUpdateProfileButton.Click += new System.EventHandler(this.AddOrUpdateProfileButton_Click);
|
||||
@@ -176,7 +223,7 @@
|
||||
// label1
|
||||
//
|
||||
this.label1.AutoSize = true;
|
||||
this.label1.Location = new System.Drawing.Point(17, 57);
|
||||
this.label1.Location = new System.Drawing.Point(16, 57);
|
||||
this.label1.Name = "label1";
|
||||
this.label1.Size = new System.Drawing.Size(103, 20);
|
||||
this.label1.TabIndex = 0;
|
||||
@@ -184,7 +231,7 @@
|
||||
//
|
||||
// SelectNewContentLocationButton
|
||||
//
|
||||
this.SelectNewContentLocationButton.Location = new System.Drawing.Point(518, 113);
|
||||
this.SelectNewContentLocationButton.Location = new System.Drawing.Point(518, 111);
|
||||
this.SelectNewContentLocationButton.Name = "SelectNewContentLocationButton";
|
||||
this.SelectNewContentLocationButton.Size = new System.Drawing.Size(50, 30);
|
||||
this.SelectNewContentLocationButton.TabIndex = 3;
|
||||
@@ -194,7 +241,7 @@
|
||||
// label2
|
||||
//
|
||||
this.label2.AutoSize = true;
|
||||
this.label2.Location = new System.Drawing.Point(19, 119);
|
||||
this.label2.Location = new System.Drawing.Point(16, 115);
|
||||
this.label2.Name = "label2";
|
||||
this.label2.Size = new System.Drawing.Size(170, 20);
|
||||
this.label2.TabIndex = 2;
|
||||
@@ -207,64 +254,68 @@
|
||||
this.NewContentLocationTextBox.Size = new System.Drawing.Size(311, 26);
|
||||
this.NewContentLocationTextBox.TabIndex = 2;
|
||||
//
|
||||
// DeleteProfileButton
|
||||
// label6
|
||||
//
|
||||
this.DeleteProfileButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
||||
this.DeleteProfileButton.Enabled = false;
|
||||
this.DeleteProfileButton.Location = new System.Drawing.Point(9, 562);
|
||||
this.DeleteProfileButton.Name = "DeleteProfileButton";
|
||||
this.DeleteProfileButton.Size = new System.Drawing.Size(75, 40);
|
||||
this.DeleteProfileButton.TabIndex = 8;
|
||||
this.DeleteProfileButton.TabStop = false;
|
||||
this.DeleteProfileButton.Text = "Delete";
|
||||
this.DeleteProfileButton.UseVisualStyleBackColor = true;
|
||||
this.label6.AutoSize = true;
|
||||
this.label6.Location = new System.Drawing.Point(16, 339);
|
||||
this.label6.Name = "label6";
|
||||
this.label6.Size = new System.Drawing.Size(144, 20);
|
||||
this.label6.TabIndex = 11;
|
||||
this.label6.Text = "Folder Group Path:";
|
||||
//
|
||||
// label5
|
||||
// FolderGroupPathTextBox
|
||||
//
|
||||
this.label5.AutoSize = true;
|
||||
this.label5.Location = new System.Drawing.Point(19, 308);
|
||||
this.label5.Name = "label5";
|
||||
this.label5.Size = new System.Drawing.Size(153, 20);
|
||||
this.label5.TabIndex = 9;
|
||||
this.label5.Text = "Folder Group Name:";
|
||||
this.FolderGroupPathTextBox.Location = new System.Drawing.Point(201, 336);
|
||||
this.FolderGroupPathTextBox.Name = "FolderGroupPathTextBox";
|
||||
this.FolderGroupPathTextBox.Size = new System.Drawing.Size(311, 26);
|
||||
this.FolderGroupPathTextBox.TabIndex = 6;
|
||||
//
|
||||
// FolderGroupNameTextBox
|
||||
// FolderGroupPathButton
|
||||
//
|
||||
this.FolderGroupNameTextBox.Location = new System.Drawing.Point(201, 305);
|
||||
this.FolderGroupNameTextBox.Name = "FolderGroupNameTextBox";
|
||||
this.FolderGroupNameTextBox.Size = new System.Drawing.Size(311, 26);
|
||||
this.FolderGroupNameTextBox.TabIndex = 5;
|
||||
this.FolderGroupPathButton.Location = new System.Drawing.Point(518, 334);
|
||||
this.FolderGroupPathButton.Name = "FolderGroupPathButton";
|
||||
this.FolderGroupPathButton.Size = new System.Drawing.Size(50, 30);
|
||||
this.FolderGroupPathButton.TabIndex = 7;
|
||||
this.FolderGroupPathButton.Text = "...";
|
||||
this.FolderGroupPathButton.UseVisualStyleBackColor = true;
|
||||
this.FolderGroupPathButton.Click += new System.EventHandler(this.FolderGroupPathButton_Click);
|
||||
//
|
||||
// InsertGroupName
|
||||
// FolderGroupListView
|
||||
//
|
||||
this.InsertGroupName.Location = new System.Drawing.Point(518, 299);
|
||||
this.InsertGroupName.Name = "InsertGroupName";
|
||||
this.InsertGroupName.Size = new System.Drawing.Size(86, 39);
|
||||
this.InsertGroupName.TabIndex = 6;
|
||||
this.InsertGroupName.Text = "Insert";
|
||||
this.InsertGroupName.UseVisualStyleBackColor = true;
|
||||
this.InsertGroupName.Click += new System.EventHandler(this.InsertGroupName_Click);
|
||||
this.FolderGroupListView.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
|
||||
this.NameColumn,
|
||||
this.PathColumn});
|
||||
this.FolderGroupListView.HideSelection = false;
|
||||
this.FolderGroupListView.Location = new System.Drawing.Point(20, 407);
|
||||
this.FolderGroupListView.MultiSelect = false;
|
||||
this.FolderGroupListView.Name = "FolderGroupListView";
|
||||
this.FolderGroupListView.Size = new System.Drawing.Size(492, 220);
|
||||
this.FolderGroupListView.TabIndex = 14;
|
||||
this.FolderGroupListView.TabStop = false;
|
||||
this.FolderGroupListView.UseCompatibleStateImageBehavior = false;
|
||||
this.FolderGroupListView.View = System.Windows.Forms.View.Details;
|
||||
//
|
||||
// FolderGroupsTreeView
|
||||
// NameColumn
|
||||
//
|
||||
this.FolderGroupsTreeView.FullRowSelect = true;
|
||||
this.FolderGroupsTreeView.LabelEdit = true;
|
||||
this.FolderGroupsTreeView.Location = new System.Drawing.Point(23, 349);
|
||||
this.FolderGroupsTreeView.Name = "FolderGroupsTreeView";
|
||||
this.FolderGroupsTreeView.ShowPlusMinus = false;
|
||||
this.FolderGroupsTreeView.ShowRootLines = false;
|
||||
this.FolderGroupsTreeView.Size = new System.Drawing.Size(489, 188);
|
||||
this.FolderGroupsTreeView.TabIndex = 10;
|
||||
this.FolderGroupsTreeView.TabStop = false;
|
||||
this.NameColumn.Text = "Name";
|
||||
this.NameColumn.Width = 167;
|
||||
//
|
||||
// PathColumn
|
||||
//
|
||||
this.PathColumn.Text = "Path";
|
||||
this.PathColumn.Width = 312;
|
||||
//
|
||||
// ProfileManager
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 20F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(627, 725);
|
||||
this.ClientSize = new System.Drawing.Size(627, 809);
|
||||
this.Controls.Add(this.MainLayoutPanel);
|
||||
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
|
||||
this.MaximizeBox = false;
|
||||
this.MinimizeBox = false;
|
||||
this.Name = "ProfileManager";
|
||||
this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Hide;
|
||||
this.Text = "ProfileManager";
|
||||
this.MainLayoutPanel.ResumeLayout(false);
|
||||
this.MainPanel.ResumeLayout(false);
|
||||
@@ -297,6 +348,11 @@
|
||||
private System.Windows.Forms.Button InsertGroupName;
|
||||
private System.Windows.Forms.TextBox FolderGroupNameTextBox;
|
||||
private System.Windows.Forms.Label label5;
|
||||
private System.Windows.Forms.TreeView FolderGroupsTreeView;
|
||||
private System.Windows.Forms.Button FolderGroupPathButton;
|
||||
private System.Windows.Forms.TextBox FolderGroupPathTextBox;
|
||||
private System.Windows.Forms.Label label6;
|
||||
private System.Windows.Forms.ListView FolderGroupListView;
|
||||
private System.Windows.Forms.ColumnHeader NameColumn;
|
||||
private System.Windows.Forms.ColumnHeader PathColumn;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user