RPF Explorer Drag&Drop. Fixed bug (typo) in defragment tool.

This commit is contained in:
dexyfex
2018-02-26 23:49:06 +11:00
Unverified
parent b5358be9ba
commit 9a81c0ea63
4 changed files with 406 additions and 256 deletions
+98 -92
View File
@@ -91,6 +91,12 @@
this.MainSizeColumnHeader = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.MainAttrColumnHeader = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.MainPathColumnHeader = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.EditModeBaseWarningPanel = new System.Windows.Forms.Panel();
this.pictureBox1 = new System.Windows.Forms.PictureBox();
this.label1 = new System.Windows.Forms.Label();
this.EditModeModsWarningPanel = new System.Windows.Forms.Panel();
this.pictureBox2 = new System.Windows.Forms.PictureBox();
this.label2 = new System.Windows.Forms.Label();
this.ListContextMenu = new System.Windows.Forms.ContextMenuStrip(this.components);
this.ListContextViewMenu = new System.Windows.Forms.ToolStripMenuItem();
this.ListContextViewHexMenu = new System.Windows.Forms.ToolStripMenuItem();
@@ -116,6 +122,8 @@
this.ListContextReplaceMenu = new System.Windows.Forms.ToolStripMenuItem();
this.ListContextDeleteMenu = new System.Windows.Forms.ToolStripMenuItem();
this.ListContextEditSeparator = new System.Windows.Forms.ToolStripSeparator();
this.ListContextDefragmentMenu = new System.Windows.Forms.ToolStripMenuItem();
this.ListContextDefragmentSeparator = new System.Windows.Forms.ToolStripSeparator();
this.ListContextSelectAllMenu = new System.Windows.Forms.ToolStripMenuItem();
this.TreeContextMenu = new System.Windows.Forms.ContextMenuStrip(this.components);
this.TreeContextCopyPathMenu = new System.Windows.Forms.ToolStripMenuItem();
@@ -127,14 +135,6 @@
this.SaveFileDialog = new System.Windows.Forms.SaveFileDialog();
this.OpenFileDialog = new System.Windows.Forms.OpenFileDialog();
this.FolderBrowserDialog = new System.Windows.Forms.FolderBrowserDialog();
this.EditModeBaseWarningPanel = new System.Windows.Forms.Panel();
this.label1 = new System.Windows.Forms.Label();
this.pictureBox1 = new System.Windows.Forms.PictureBox();
this.EditModeModsWarningPanel = new System.Windows.Forms.Panel();
this.pictureBox2 = new System.Windows.Forms.PictureBox();
this.label2 = new System.Windows.Forms.Label();
this.ListContextDefragmentMenu = new System.Windows.Forms.ToolStripMenuItem();
this.ListContextDefragmentSeparator = new System.Windows.Forms.ToolStripSeparator();
this.MainMenu.SuspendLayout();
this.MainToolbar.SuspendLayout();
this.StatusBar.SuspendLayout();
@@ -142,12 +142,12 @@
this.MainSplitContainer.Panel1.SuspendLayout();
this.MainSplitContainer.Panel2.SuspendLayout();
this.MainSplitContainer.SuspendLayout();
this.ListContextMenu.SuspendLayout();
this.TreeContextMenu.SuspendLayout();
this.EditModeBaseWarningPanel.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
this.EditModeModsWarningPanel.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).BeginInit();
this.ListContextMenu.SuspendLayout();
this.TreeContextMenu.SuspendLayout();
this.SuspendLayout();
//
// MainMenu
@@ -175,7 +175,7 @@
//
this.FileExitMenu.Name = "FileExitMenu";
this.FileExitMenu.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Alt | System.Windows.Forms.Keys.F4)));
this.FileExitMenu.Size = new System.Drawing.Size(152, 22);
this.FileExitMenu.Size = new System.Drawing.Size(134, 22);
this.FileExitMenu.Text = "Exit";
this.FileExitMenu.Click += new System.EventHandler(this.FileExitMenu_Click);
//
@@ -699,6 +699,7 @@
//
// MainListView
//
this.MainListView.AllowDrop = true;
this.MainListView.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
@@ -723,7 +724,11 @@
this.MainListView.AfterLabelEdit += new System.Windows.Forms.LabelEditEventHandler(this.MainListView_AfterLabelEdit);
this.MainListView.ColumnClick += new System.Windows.Forms.ColumnClickEventHandler(this.MainListView_ColumnClick);
this.MainListView.ItemActivate += new System.EventHandler(this.MainListView_ItemActivate);
this.MainListView.ItemDrag += new System.Windows.Forms.ItemDragEventHandler(this.MainListView_ItemDrag);
this.MainListView.RetrieveVirtualItem += new System.Windows.Forms.RetrieveVirtualItemEventHandler(this.MainListView_RetrieveVirtualItem);
this.MainListView.DragDrop += new System.Windows.Forms.DragEventHandler(this.MainListView_DragDrop);
this.MainListView.DragEnter += new System.Windows.Forms.DragEventHandler(this.MainListView_DragEnter);
this.MainListView.DragLeave += new System.EventHandler(this.MainListView_DragLeave);
this.MainListView.KeyDown += new System.Windows.Forms.KeyEventHandler(this.MainListView_KeyDown);
this.MainListView.KeyUp += new System.Windows.Forms.KeyEventHandler(this.MainListView_KeyUp);
this.MainListView.MouseUp += new System.Windows.Forms.MouseEventHandler(this.MainListView_MouseUp);
@@ -754,6 +759,72 @@
this.MainPathColumnHeader.Text = "Path";
this.MainPathColumnHeader.Width = 225;
//
// EditModeBaseWarningPanel
//
this.EditModeBaseWarningPanel.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.EditModeBaseWarningPanel.BackColor = System.Drawing.Color.DarkRed;
this.EditModeBaseWarningPanel.Controls.Add(this.pictureBox1);
this.EditModeBaseWarningPanel.Controls.Add(this.label1);
this.EditModeBaseWarningPanel.Location = new System.Drawing.Point(1, 3);
this.EditModeBaseWarningPanel.Name = "EditModeBaseWarningPanel";
this.EditModeBaseWarningPanel.Size = new System.Drawing.Size(559, 24);
this.EditModeBaseWarningPanel.TabIndex = 1;
//
// pictureBox1
//
this.pictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image")));
this.pictureBox1.Location = new System.Drawing.Point(6, 3);
this.pictureBox1.Name = "pictureBox1";
this.pictureBox1.Size = new System.Drawing.Size(16, 16);
this.pictureBox1.TabIndex = 1;
this.pictureBox1.TabStop = false;
//
// label1
//
this.label1.AutoSize = true;
this.label1.BackColor = System.Drawing.Color.Transparent;
this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label1.ForeColor = System.Drawing.Color.White;
this.label1.Location = new System.Drawing.Point(25, 5);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(285, 13);
this.label1.TabIndex = 0;
this.label1.Text = "Warning: You are directly editing base game files";
//
// EditModeModsWarningPanel
//
this.EditModeModsWarningPanel.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.EditModeModsWarningPanel.BackColor = System.Drawing.Color.DarkGreen;
this.EditModeModsWarningPanel.Controls.Add(this.pictureBox2);
this.EditModeModsWarningPanel.Controls.Add(this.label2);
this.EditModeModsWarningPanel.Location = new System.Drawing.Point(1, 28);
this.EditModeModsWarningPanel.Name = "EditModeModsWarningPanel";
this.EditModeModsWarningPanel.Size = new System.Drawing.Size(559, 24);
this.EditModeModsWarningPanel.TabIndex = 2;
//
// pictureBox2
//
this.pictureBox2.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox2.Image")));
this.pictureBox2.Location = new System.Drawing.Point(6, 3);
this.pictureBox2.Name = "pictureBox2";
this.pictureBox2.Size = new System.Drawing.Size(16, 16);
this.pictureBox2.TabIndex = 1;
this.pictureBox2.TabStop = false;
//
// label2
//
this.label2.AutoSize = true;
this.label2.BackColor = System.Drawing.Color.Transparent;
this.label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label2.ForeColor = System.Drawing.Color.White;
this.label2.Location = new System.Drawing.Point(25, 5);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(225, 13);
this.label2.TabIndex = 0;
this.label2.Text = "You are editing files in the mods folder";
//
// ListContextMenu
//
this.ListContextMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
@@ -783,7 +854,7 @@
this.ListContextDefragmentSeparator,
this.ListContextSelectAllMenu});
this.ListContextMenu.Name = "MainContextMenu";
this.ListContextMenu.Size = new System.Drawing.Size(208, 464);
this.ListContextMenu.Size = new System.Drawing.Size(208, 442);
//
// ListContextViewMenu
//
@@ -967,6 +1038,18 @@
this.ListContextEditSeparator.Name = "ListContextEditSeparator";
this.ListContextEditSeparator.Size = new System.Drawing.Size(204, 6);
//
// ListContextDefragmentMenu
//
this.ListContextDefragmentMenu.Name = "ListContextDefragmentMenu";
this.ListContextDefragmentMenu.Size = new System.Drawing.Size(207, 22);
this.ListContextDefragmentMenu.Text = "Defragment Archive...";
this.ListContextDefragmentMenu.Click += new System.EventHandler(this.ListContextDefragmentMenu_Click);
//
// ListContextDefragmentSeparator
//
this.ListContextDefragmentSeparator.Name = "ListContextDefragmentSeparator";
this.ListContextDefragmentSeparator.Size = new System.Drawing.Size(204, 6);
//
// ListContextSelectAllMenu
//
this.ListContextSelectAllMenu.Name = "ListContextSelectAllMenu";
@@ -1033,84 +1116,6 @@
//
this.OpenFileDialog.Multiselect = true;
//
// EditModeBaseWarningPanel
//
this.EditModeBaseWarningPanel.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.EditModeBaseWarningPanel.BackColor = System.Drawing.Color.DarkRed;
this.EditModeBaseWarningPanel.Controls.Add(this.pictureBox1);
this.EditModeBaseWarningPanel.Controls.Add(this.label1);
this.EditModeBaseWarningPanel.Location = new System.Drawing.Point(1, 3);
this.EditModeBaseWarningPanel.Name = "EditModeBaseWarningPanel";
this.EditModeBaseWarningPanel.Size = new System.Drawing.Size(559, 24);
this.EditModeBaseWarningPanel.TabIndex = 1;
//
// label1
//
this.label1.AutoSize = true;
this.label1.BackColor = System.Drawing.Color.Transparent;
this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label1.ForeColor = System.Drawing.Color.White;
this.label1.Location = new System.Drawing.Point(25, 5);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(285, 13);
this.label1.TabIndex = 0;
this.label1.Text = "Warning: You are directly editing base game files";
//
// pictureBox1
//
this.pictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image")));
this.pictureBox1.Location = new System.Drawing.Point(6, 3);
this.pictureBox1.Name = "pictureBox1";
this.pictureBox1.Size = new System.Drawing.Size(16, 16);
this.pictureBox1.TabIndex = 1;
this.pictureBox1.TabStop = false;
//
// EditModeModsWarningPanel
//
this.EditModeModsWarningPanel.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.EditModeModsWarningPanel.BackColor = System.Drawing.Color.DarkGreen;
this.EditModeModsWarningPanel.Controls.Add(this.pictureBox2);
this.EditModeModsWarningPanel.Controls.Add(this.label2);
this.EditModeModsWarningPanel.Location = new System.Drawing.Point(1, 28);
this.EditModeModsWarningPanel.Name = "EditModeModsWarningPanel";
this.EditModeModsWarningPanel.Size = new System.Drawing.Size(559, 24);
this.EditModeModsWarningPanel.TabIndex = 2;
//
// pictureBox2
//
this.pictureBox2.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox2.Image")));
this.pictureBox2.Location = new System.Drawing.Point(6, 3);
this.pictureBox2.Name = "pictureBox2";
this.pictureBox2.Size = new System.Drawing.Size(16, 16);
this.pictureBox2.TabIndex = 1;
this.pictureBox2.TabStop = false;
//
// label2
//
this.label2.AutoSize = true;
this.label2.BackColor = System.Drawing.Color.Transparent;
this.label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label2.ForeColor = System.Drawing.Color.White;
this.label2.Location = new System.Drawing.Point(25, 5);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(225, 13);
this.label2.TabIndex = 0;
this.label2.Text = "You are editing files in the mods folder";
//
// ListContextDefragmentMenu
//
this.ListContextDefragmentMenu.Name = "ListContextDefragmentMenu";
this.ListContextDefragmentMenu.Size = new System.Drawing.Size(207, 22);
this.ListContextDefragmentMenu.Text = "Defragment Archive...";
this.ListContextDefragmentMenu.Click += new System.EventHandler(this.ListContextDefragmentMenu_Click);
//
// ListContextDefragmentSeparator
//
this.ListContextDefragmentSeparator.Name = "ListContextDefragmentSeparator";
this.ListContextDefragmentSeparator.Size = new System.Drawing.Size(204, 6);
//
// ExploreForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
@@ -1124,6 +1129,7 @@
this.MainMenuStrip = this.MainMenu;
this.Name = "ExploreForm";
this.Text = "RPF Explorer - CodeWalker by dexyfex";
this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.ExploreForm_FormClosed);
this.Load += new System.EventHandler(this.ExploreForm_Load);
this.MainMenu.ResumeLayout(false);
this.MainMenu.PerformLayout();
@@ -1135,14 +1141,14 @@
this.MainSplitContainer.Panel2.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.MainSplitContainer)).EndInit();
this.MainSplitContainer.ResumeLayout(false);
this.ListContextMenu.ResumeLayout(false);
this.TreeContextMenu.ResumeLayout(false);
this.EditModeBaseWarningPanel.ResumeLayout(false);
this.EditModeBaseWarningPanel.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
this.EditModeModsWarningPanel.ResumeLayout(false);
this.EditModeModsWarningPanel.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).EndInit();
this.ListContextMenu.ResumeLayout(false);
this.TreeContextMenu.ResumeLayout(false);
this.ResumeLayout(false);
this.PerformLayout();