Added Favorites To Rpf Explorer

I added favorites to the RPF Explorer. With this you can now click Favorites > Add to favorites and you will now have that path saved in a drop down list that you can easily access. You can also open the "OrganizeFavorites" form and that will allow you to be able to organize them. In here you can remove a certain favorite. You can clear ALL favorites. To save your favorites all you have to do is click the save button. Also if you click the X button then anything changed will not be saved. OrganizeFavorites form opens in whatever theme the RPF Explorer is in.
This commit is contained in:
FiftyShadesOfBlue 2018-03-16 01:22:45 -04:00
parent 52e4b2f20b
commit 4429a5e9ab
8 changed files with 533 additions and 100 deletions

View File

@ -150,12 +150,18 @@
<Compile Include="BrowseForm.Designer.cs"> <Compile Include="BrowseForm.Designer.cs">
<DependentUpon>BrowseForm.cs</DependentUpon> <DependentUpon>BrowseForm.cs</DependentUpon>
</Compile> </Compile>
<Compile Include="ExploreForm.cs"> <Compile Include="Explorer\ExploreForm.cs">
<SubType>Form</SubType> <SubType>Form</SubType>
</Compile> </Compile>
<Compile Include="ExploreForm.Designer.cs"> <Compile Include="Explorer\ExploreForm.Designer.cs">
<DependentUpon>ExploreForm.cs</DependentUpon> <DependentUpon>ExploreForm.cs</DependentUpon>
</Compile> </Compile>
<Compile Include="Explorer\OrganizeFavorites.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Explorer\OrganizeFavorites.Designer.cs">
<DependentUpon>OrganizeFavorites.cs</DependentUpon>
</Compile>
<Compile Include="ExtractKeysForm.cs"> <Compile Include="ExtractKeysForm.cs">
<SubType>Form</SubType> <SubType>Form</SubType>
</Compile> </Compile>
@ -509,9 +515,12 @@
<EmbeddedResource Include="BrowseForm.resx"> <EmbeddedResource Include="BrowseForm.resx">
<DependentUpon>BrowseForm.cs</DependentUpon> <DependentUpon>BrowseForm.cs</DependentUpon>
</EmbeddedResource> </EmbeddedResource>
<EmbeddedResource Include="ExploreForm.resx"> <EmbeddedResource Include="Explorer\ExploreForm.resx">
<DependentUpon>ExploreForm.cs</DependentUpon> <DependentUpon>ExploreForm.cs</DependentUpon>
</EmbeddedResource> </EmbeddedResource>
<EmbeddedResource Include="Explorer\OrganizeFavorites.resx">
<DependentUpon>OrganizeFavorites.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="ExtractKeysForm.resx"> <EmbeddedResource Include="ExtractKeysForm.resx">
<DependentUpon>ExtractKeysForm.cs</DependentUpon> <DependentUpon>ExtractKeysForm.cs</DependentUpon>
</EmbeddedResource> </EmbeddedResource>
@ -696,6 +705,9 @@
<None Include="README.md" /> <None Include="README.md" />
<None Include="Resources\CW.ico" /> <None Include="Resources\CW.ico" />
<None Include="Resources\CW16.ico" /> <None Include="Resources\CW16.ico" />
<Content Include="Resources\Favorites.xml">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
<Content Include="Todo.txt" /> <Content Include="Todo.txt" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>

View File

@ -64,6 +64,7 @@
this.ViewThemeBlueMenu = new System.Windows.Forms.ToolStripMenuItem(); this.ViewThemeBlueMenu = new System.Windows.Forms.ToolStripMenuItem();
this.ViewThemeLightMenu = new System.Windows.Forms.ToolStripMenuItem(); this.ViewThemeLightMenu = new System.Windows.Forms.ToolStripMenuItem();
this.ViewThemeDarkMenu = new System.Windows.Forms.ToolStripMenuItem(); this.ViewThemeDarkMenu = new System.Windows.Forms.ToolStripMenuItem();
this.favoritesToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.ToolsMenu = new System.Windows.Forms.ToolStripMenuItem(); this.ToolsMenu = new System.Windows.Forms.ToolStripMenuItem();
this.ToolsBinSearchMenu = new System.Windows.Forms.ToolStripMenuItem(); this.ToolsBinSearchMenu = new System.Windows.Forms.ToolStripMenuItem();
this.ToolsRpfBrowserMenu = new System.Windows.Forms.ToolStripMenuItem(); this.ToolsRpfBrowserMenu = new System.Windows.Forms.ToolStripMenuItem();
@ -163,10 +164,11 @@
this.FileMenu, this.FileMenu,
this.EditMenu, this.EditMenu,
this.ViewMenu, this.ViewMenu,
this.favoritesToolStripMenuItem,
this.ToolsMenu}); this.ToolsMenu});
this.MainMenu.Location = new System.Drawing.Point(0, 0); this.MainMenu.Location = new System.Drawing.Point(0, 0);
this.MainMenu.Name = "MainMenu"; this.MainMenu.Name = "MainMenu";
this.MainMenu.Size = new System.Drawing.Size(876, 24); this.MainMenu.Size = new System.Drawing.Size(876, 25);
this.MainMenu.TabIndex = 0; this.MainMenu.TabIndex = 0;
this.MainMenu.Text = "menuStrip1"; this.MainMenu.Text = "menuStrip1";
// //
@ -175,14 +177,14 @@
this.FileMenu.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.FileMenu.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.FileExitMenu}); this.FileExitMenu});
this.FileMenu.Name = "FileMenu"; this.FileMenu.Name = "FileMenu";
this.FileMenu.Size = new System.Drawing.Size(37, 20); this.FileMenu.Size = new System.Drawing.Size(39, 21);
this.FileMenu.Text = "File"; this.FileMenu.Text = "File";
// //
// FileExitMenu // FileExitMenu
// //
this.FileExitMenu.Name = "FileExitMenu"; this.FileExitMenu.Name = "FileExitMenu";
this.FileExitMenu.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Alt | System.Windows.Forms.Keys.F4))); this.FileExitMenu.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Alt | System.Windows.Forms.Keys.F4)));
this.FileExitMenu.Size = new System.Drawing.Size(134, 22); this.FileExitMenu.Size = new System.Drawing.Size(141, 22);
this.FileExitMenu.Text = "Exit"; this.FileExitMenu.Text = "Exit";
this.FileExitMenu.Click += new System.EventHandler(this.FileExitMenu_Click); this.FileExitMenu.Click += new System.EventHandler(this.FileExitMenu_Click);
// //
@ -209,7 +211,7 @@
this.EditEditModeMenuSeparator, this.EditEditModeMenuSeparator,
this.EditSelectAllMenu}); this.EditSelectAllMenu});
this.EditMenu.Name = "EditMenu"; this.EditMenu.Name = "EditMenu";
this.EditMenu.Size = new System.Drawing.Size(39, 20); this.EditMenu.Size = new System.Drawing.Size(42, 21);
this.EditMenu.Text = "Edit"; this.EditMenu.Text = "Edit";
// //
// EditViewMenu // EditViewMenu
@ -217,7 +219,7 @@
this.EditViewMenu.Image = ((System.Drawing.Image)(resources.GetObject("EditViewMenu.Image"))); this.EditViewMenu.Image = ((System.Drawing.Image)(resources.GetObject("EditViewMenu.Image")));
this.EditViewMenu.Name = "EditViewMenu"; this.EditViewMenu.Name = "EditViewMenu";
this.EditViewMenu.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.P))); this.EditViewMenu.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.P)));
this.EditViewMenu.Size = new System.Drawing.Size(207, 22); this.EditViewMenu.Size = new System.Drawing.Size(220, 22);
this.EditViewMenu.Text = "View..."; this.EditViewMenu.Text = "View...";
this.EditViewMenu.Click += new System.EventHandler(this.EditViewMenu_Click); this.EditViewMenu.Click += new System.EventHandler(this.EditViewMenu_Click);
// //
@ -226,21 +228,21 @@
this.EditViewHexMenu.Image = ((System.Drawing.Image)(resources.GetObject("EditViewHexMenu.Image"))); this.EditViewHexMenu.Image = ((System.Drawing.Image)(resources.GetObject("EditViewHexMenu.Image")));
this.EditViewHexMenu.Name = "EditViewHexMenu"; this.EditViewHexMenu.Name = "EditViewHexMenu";
this.EditViewHexMenu.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.H))); this.EditViewHexMenu.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.H)));
this.EditViewHexMenu.Size = new System.Drawing.Size(207, 22); this.EditViewHexMenu.Size = new System.Drawing.Size(220, 22);
this.EditViewHexMenu.Text = "View Hex..."; this.EditViewHexMenu.Text = "View Hex...";
this.EditViewHexMenu.Click += new System.EventHandler(this.EditViewHexMenu_Click); this.EditViewHexMenu.Click += new System.EventHandler(this.EditViewHexMenu_Click);
// //
// toolStripSeparator3 // toolStripSeparator3
// //
this.toolStripSeparator3.Name = "toolStripSeparator3"; this.toolStripSeparator3.Name = "toolStripSeparator3";
this.toolStripSeparator3.Size = new System.Drawing.Size(204, 6); this.toolStripSeparator3.Size = new System.Drawing.Size(217, 6);
// //
// EditExportXmlMenu // EditExportXmlMenu
// //
this.EditExportXmlMenu.Image = ((System.Drawing.Image)(resources.GetObject("EditExportXmlMenu.Image"))); this.EditExportXmlMenu.Image = ((System.Drawing.Image)(resources.GetObject("EditExportXmlMenu.Image")));
this.EditExportXmlMenu.Name = "EditExportXmlMenu"; this.EditExportXmlMenu.Name = "EditExportXmlMenu";
this.EditExportXmlMenu.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.S))); this.EditExportXmlMenu.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.S)));
this.EditExportXmlMenu.Size = new System.Drawing.Size(207, 22); this.EditExportXmlMenu.Size = new System.Drawing.Size(220, 22);
this.EditExportXmlMenu.Text = "Export XML..."; this.EditExportXmlMenu.Text = "Export XML...";
this.EditExportXmlMenu.Click += new System.EventHandler(this.EditExportXmlMenu_Click); this.EditExportXmlMenu.Click += new System.EventHandler(this.EditExportXmlMenu_Click);
// //
@ -249,7 +251,7 @@
this.EditExtractRawMenu.Image = ((System.Drawing.Image)(resources.GetObject("EditExtractRawMenu.Image"))); this.EditExtractRawMenu.Image = ((System.Drawing.Image)(resources.GetObject("EditExtractRawMenu.Image")));
this.EditExtractRawMenu.Name = "EditExtractRawMenu"; this.EditExtractRawMenu.Name = "EditExtractRawMenu";
this.EditExtractRawMenu.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.E))); this.EditExtractRawMenu.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.E)));
this.EditExtractRawMenu.Size = new System.Drawing.Size(207, 22); this.EditExtractRawMenu.Size = new System.Drawing.Size(220, 22);
this.EditExtractRawMenu.Text = "Extract Raw..."; this.EditExtractRawMenu.Text = "Extract Raw...";
this.EditExtractRawMenu.Click += new System.EventHandler(this.EditExtractRawMenu_Click); this.EditExtractRawMenu.Click += new System.EventHandler(this.EditExtractRawMenu_Click);
// //
@ -258,21 +260,21 @@
this.EditExtractAllMenu.Name = "EditExtractAllMenu"; this.EditExtractAllMenu.Name = "EditExtractAllMenu";
this.EditExtractAllMenu.ShortcutKeys = ((System.Windows.Forms.Keys)(((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Shift) this.EditExtractAllMenu.ShortcutKeys = ((System.Windows.Forms.Keys)(((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Shift)
| System.Windows.Forms.Keys.E))); | System.Windows.Forms.Keys.E)));
this.EditExtractAllMenu.Size = new System.Drawing.Size(207, 22); this.EditExtractAllMenu.Size = new System.Drawing.Size(220, 22);
this.EditExtractAllMenu.Text = "Extract All..."; this.EditExtractAllMenu.Text = "Extract All...";
this.EditExtractAllMenu.Click += new System.EventHandler(this.EditExtractAllMenu_Click); this.EditExtractAllMenu.Click += new System.EventHandler(this.EditExtractAllMenu_Click);
// //
// toolStripSeparator4 // toolStripSeparator4
// //
this.toolStripSeparator4.Name = "toolStripSeparator4"; this.toolStripSeparator4.Name = "toolStripSeparator4";
this.toolStripSeparator4.Size = new System.Drawing.Size(204, 6); this.toolStripSeparator4.Size = new System.Drawing.Size(217, 6);
// //
// EditImportXmlMenu // EditImportXmlMenu
// //
this.EditImportXmlMenu.Image = ((System.Drawing.Image)(resources.GetObject("EditImportXmlMenu.Image"))); this.EditImportXmlMenu.Image = ((System.Drawing.Image)(resources.GetObject("EditImportXmlMenu.Image")));
this.EditImportXmlMenu.Name = "EditImportXmlMenu"; this.EditImportXmlMenu.Name = "EditImportXmlMenu";
this.EditImportXmlMenu.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Shift | System.Windows.Forms.Keys.Insert))); this.EditImportXmlMenu.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Shift | System.Windows.Forms.Keys.Insert)));
this.EditImportXmlMenu.Size = new System.Drawing.Size(207, 22); this.EditImportXmlMenu.Size = new System.Drawing.Size(220, 22);
this.EditImportXmlMenu.Text = "Import XML..."; this.EditImportXmlMenu.Text = "Import XML...";
this.EditImportXmlMenu.Visible = false; this.EditImportXmlMenu.Visible = false;
this.EditImportXmlMenu.Click += new System.EventHandler(this.EditImportXmlMenu_Click); this.EditImportXmlMenu.Click += new System.EventHandler(this.EditImportXmlMenu_Click);
@ -282,7 +284,7 @@
this.EditImportRawMenu.Image = ((System.Drawing.Image)(resources.GetObject("EditImportRawMenu.Image"))); this.EditImportRawMenu.Image = ((System.Drawing.Image)(resources.GetObject("EditImportRawMenu.Image")));
this.EditImportRawMenu.Name = "EditImportRawMenu"; this.EditImportRawMenu.Name = "EditImportRawMenu";
this.EditImportRawMenu.ShortcutKeys = System.Windows.Forms.Keys.Insert; this.EditImportRawMenu.ShortcutKeys = System.Windows.Forms.Keys.Insert;
this.EditImportRawMenu.Size = new System.Drawing.Size(207, 22); this.EditImportRawMenu.Size = new System.Drawing.Size(220, 22);
this.EditImportRawMenu.Text = "Import Raw..."; this.EditImportRawMenu.Text = "Import Raw...";
this.EditImportRawMenu.Visible = false; this.EditImportRawMenu.Visible = false;
this.EditImportRawMenu.Click += new System.EventHandler(this.EditImportRawMenu_Click); this.EditImportRawMenu.Click += new System.EventHandler(this.EditImportRawMenu_Click);
@ -290,7 +292,7 @@
// EditImportMenuSeparator // EditImportMenuSeparator
// //
this.EditImportMenuSeparator.Name = "EditImportMenuSeparator"; this.EditImportMenuSeparator.Name = "EditImportMenuSeparator";
this.EditImportMenuSeparator.Size = new System.Drawing.Size(204, 6); this.EditImportMenuSeparator.Size = new System.Drawing.Size(217, 6);
this.EditImportMenuSeparator.Visible = false; this.EditImportMenuSeparator.Visible = false;
// //
// EditCopyMenu // EditCopyMenu
@ -298,7 +300,7 @@
this.EditCopyMenu.Image = ((System.Drawing.Image)(resources.GetObject("EditCopyMenu.Image"))); this.EditCopyMenu.Image = ((System.Drawing.Image)(resources.GetObject("EditCopyMenu.Image")));
this.EditCopyMenu.Name = "EditCopyMenu"; this.EditCopyMenu.Name = "EditCopyMenu";
this.EditCopyMenu.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.C))); this.EditCopyMenu.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.C)));
this.EditCopyMenu.Size = new System.Drawing.Size(207, 22); this.EditCopyMenu.Size = new System.Drawing.Size(220, 22);
this.EditCopyMenu.Text = "Copy"; this.EditCopyMenu.Text = "Copy";
this.EditCopyMenu.Click += new System.EventHandler(this.EditCopyMenu_Click); this.EditCopyMenu.Click += new System.EventHandler(this.EditCopyMenu_Click);
// //
@ -307,28 +309,28 @@
this.EditCopyPathMenu.Name = "EditCopyPathMenu"; this.EditCopyPathMenu.Name = "EditCopyPathMenu";
this.EditCopyPathMenu.ShortcutKeys = ((System.Windows.Forms.Keys)(((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Shift) this.EditCopyPathMenu.ShortcutKeys = ((System.Windows.Forms.Keys)(((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Shift)
| System.Windows.Forms.Keys.C))); | System.Windows.Forms.Keys.C)));
this.EditCopyPathMenu.Size = new System.Drawing.Size(207, 22); this.EditCopyPathMenu.Size = new System.Drawing.Size(220, 22);
this.EditCopyPathMenu.Text = "Copy Path"; this.EditCopyPathMenu.Text = "Copy Path";
this.EditCopyPathMenu.Click += new System.EventHandler(this.EditCopyPathMenu_Click); this.EditCopyPathMenu.Click += new System.EventHandler(this.EditCopyPathMenu_Click);
// //
// EditCopyFileListMenu // EditCopyFileListMenu
// //
this.EditCopyFileListMenu.Name = "EditCopyFileListMenu"; this.EditCopyFileListMenu.Name = "EditCopyFileListMenu";
this.EditCopyFileListMenu.Size = new System.Drawing.Size(207, 22); this.EditCopyFileListMenu.Size = new System.Drawing.Size(220, 22);
this.EditCopyFileListMenu.Text = "Copy File List"; this.EditCopyFileListMenu.Text = "Copy File List";
this.EditCopyFileListMenu.Click += new System.EventHandler(this.EditCopyFileListMenu_Click); this.EditCopyFileListMenu.Click += new System.EventHandler(this.EditCopyFileListMenu_Click);
// //
// toolStripSeparator9 // toolStripSeparator9
// //
this.toolStripSeparator9.Name = "toolStripSeparator9"; this.toolStripSeparator9.Name = "toolStripSeparator9";
this.toolStripSeparator9.Size = new System.Drawing.Size(204, 6); this.toolStripSeparator9.Size = new System.Drawing.Size(217, 6);
// //
// EditRenameMenu // EditRenameMenu
// //
this.EditRenameMenu.Image = ((System.Drawing.Image)(resources.GetObject("EditRenameMenu.Image"))); this.EditRenameMenu.Image = ((System.Drawing.Image)(resources.GetObject("EditRenameMenu.Image")));
this.EditRenameMenu.Name = "EditRenameMenu"; this.EditRenameMenu.Name = "EditRenameMenu";
this.EditRenameMenu.ShortcutKeys = System.Windows.Forms.Keys.F2; this.EditRenameMenu.ShortcutKeys = System.Windows.Forms.Keys.F2;
this.EditRenameMenu.Size = new System.Drawing.Size(207, 22); this.EditRenameMenu.Size = new System.Drawing.Size(220, 22);
this.EditRenameMenu.Text = "Rename..."; this.EditRenameMenu.Text = "Rename...";
this.EditRenameMenu.Visible = false; this.EditRenameMenu.Visible = false;
this.EditRenameMenu.Click += new System.EventHandler(this.EditRenameMenu_Click); this.EditRenameMenu.Click += new System.EventHandler(this.EditRenameMenu_Click);
@ -338,7 +340,7 @@
this.EditReplaceMenu.Image = ((System.Drawing.Image)(resources.GetObject("EditReplaceMenu.Image"))); this.EditReplaceMenu.Image = ((System.Drawing.Image)(resources.GetObject("EditReplaceMenu.Image")));
this.EditReplaceMenu.Name = "EditReplaceMenu"; this.EditReplaceMenu.Name = "EditReplaceMenu";
this.EditReplaceMenu.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Shift | System.Windows.Forms.Keys.Insert))); this.EditReplaceMenu.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Shift | System.Windows.Forms.Keys.Insert)));
this.EditReplaceMenu.Size = new System.Drawing.Size(207, 22); this.EditReplaceMenu.Size = new System.Drawing.Size(220, 22);
this.EditReplaceMenu.Text = "Replace..."; this.EditReplaceMenu.Text = "Replace...";
this.EditReplaceMenu.Visible = false; this.EditReplaceMenu.Visible = false;
this.EditReplaceMenu.Click += new System.EventHandler(this.EditReplaceMenu_Click); this.EditReplaceMenu.Click += new System.EventHandler(this.EditReplaceMenu_Click);
@ -348,7 +350,7 @@
this.EditDeleteMenu.Image = ((System.Drawing.Image)(resources.GetObject("EditDeleteMenu.Image"))); this.EditDeleteMenu.Image = ((System.Drawing.Image)(resources.GetObject("EditDeleteMenu.Image")));
this.EditDeleteMenu.Name = "EditDeleteMenu"; this.EditDeleteMenu.Name = "EditDeleteMenu";
this.EditDeleteMenu.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Shift | System.Windows.Forms.Keys.Delete))); this.EditDeleteMenu.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Shift | System.Windows.Forms.Keys.Delete)));
this.EditDeleteMenu.Size = new System.Drawing.Size(207, 22); this.EditDeleteMenu.Size = new System.Drawing.Size(220, 22);
this.EditDeleteMenu.Text = "Delete"; this.EditDeleteMenu.Text = "Delete";
this.EditDeleteMenu.Visible = false; this.EditDeleteMenu.Visible = false;
this.EditDeleteMenu.Click += new System.EventHandler(this.EditDeleteMenu_Click); this.EditDeleteMenu.Click += new System.EventHandler(this.EditDeleteMenu_Click);
@ -356,14 +358,14 @@
// EditEditModeMenuSeparator // EditEditModeMenuSeparator
// //
this.EditEditModeMenuSeparator.Name = "EditEditModeMenuSeparator"; this.EditEditModeMenuSeparator.Name = "EditEditModeMenuSeparator";
this.EditEditModeMenuSeparator.Size = new System.Drawing.Size(204, 6); this.EditEditModeMenuSeparator.Size = new System.Drawing.Size(217, 6);
this.EditEditModeMenuSeparator.Visible = false; this.EditEditModeMenuSeparator.Visible = false;
// //
// EditSelectAllMenu // EditSelectAllMenu
// //
this.EditSelectAllMenu.Name = "EditSelectAllMenu"; this.EditSelectAllMenu.Name = "EditSelectAllMenu";
this.EditSelectAllMenu.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.A))); this.EditSelectAllMenu.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.A)));
this.EditSelectAllMenu.Size = new System.Drawing.Size(207, 22); this.EditSelectAllMenu.Size = new System.Drawing.Size(220, 22);
this.EditSelectAllMenu.Text = "Select All"; this.EditSelectAllMenu.Text = "Select All";
this.EditSelectAllMenu.Click += new System.EventHandler(this.EditSelectAllMenu_Click); this.EditSelectAllMenu.Click += new System.EventHandler(this.EditSelectAllMenu_Click);
// //
@ -377,27 +379,27 @@
this.toolStripSeparator11, this.toolStripSeparator11,
this.ViewThemeMenu}); this.ViewThemeMenu});
this.ViewMenu.Name = "ViewMenu"; this.ViewMenu.Name = "ViewMenu";
this.ViewMenu.Size = new System.Drawing.Size(44, 20); this.ViewMenu.Size = new System.Drawing.Size(47, 21);
this.ViewMenu.Text = "View"; this.ViewMenu.Text = "View";
// //
// ViewLargeIconsMenu // ViewLargeIconsMenu
// //
this.ViewLargeIconsMenu.Name = "ViewLargeIconsMenu"; this.ViewLargeIconsMenu.Name = "ViewLargeIconsMenu";
this.ViewLargeIconsMenu.Size = new System.Drawing.Size(152, 22); this.ViewLargeIconsMenu.Size = new System.Drawing.Size(143, 22);
this.ViewLargeIconsMenu.Text = "Large Icons"; this.ViewLargeIconsMenu.Text = "Large Icons";
this.ViewLargeIconsMenu.Click += new System.EventHandler(this.ViewLargeIconsMenu_Click); this.ViewLargeIconsMenu.Click += new System.EventHandler(this.ViewLargeIconsMenu_Click);
// //
// ViewSmallIconsMenu // ViewSmallIconsMenu
// //
this.ViewSmallIconsMenu.Name = "ViewSmallIconsMenu"; this.ViewSmallIconsMenu.Name = "ViewSmallIconsMenu";
this.ViewSmallIconsMenu.Size = new System.Drawing.Size(152, 22); this.ViewSmallIconsMenu.Size = new System.Drawing.Size(143, 22);
this.ViewSmallIconsMenu.Text = "Small Icons"; this.ViewSmallIconsMenu.Text = "Small Icons";
this.ViewSmallIconsMenu.Click += new System.EventHandler(this.ViewSmallIconsMenu_Click); this.ViewSmallIconsMenu.Click += new System.EventHandler(this.ViewSmallIconsMenu_Click);
// //
// ViewListMenu // ViewListMenu
// //
this.ViewListMenu.Name = "ViewListMenu"; this.ViewListMenu.Name = "ViewListMenu";
this.ViewListMenu.Size = new System.Drawing.Size(152, 22); this.ViewListMenu.Size = new System.Drawing.Size(143, 22);
this.ViewListMenu.Text = "List"; this.ViewListMenu.Text = "List";
this.ViewListMenu.Click += new System.EventHandler(this.ViewListMenu_Click); this.ViewListMenu.Click += new System.EventHandler(this.ViewListMenu_Click);
// //
@ -406,14 +408,14 @@
this.ViewDetailsMenu.Checked = true; this.ViewDetailsMenu.Checked = true;
this.ViewDetailsMenu.CheckState = System.Windows.Forms.CheckState.Checked; this.ViewDetailsMenu.CheckState = System.Windows.Forms.CheckState.Checked;
this.ViewDetailsMenu.Name = "ViewDetailsMenu"; this.ViewDetailsMenu.Name = "ViewDetailsMenu";
this.ViewDetailsMenu.Size = new System.Drawing.Size(152, 22); this.ViewDetailsMenu.Size = new System.Drawing.Size(143, 22);
this.ViewDetailsMenu.Text = "Details"; this.ViewDetailsMenu.Text = "Details";
this.ViewDetailsMenu.Click += new System.EventHandler(this.ViewDetailsMenu_Click); this.ViewDetailsMenu.Click += new System.EventHandler(this.ViewDetailsMenu_Click);
// //
// toolStripSeparator11 // toolStripSeparator11
// //
this.toolStripSeparator11.Name = "toolStripSeparator11"; this.toolStripSeparator11.Name = "toolStripSeparator11";
this.toolStripSeparator11.Size = new System.Drawing.Size(149, 6); this.toolStripSeparator11.Size = new System.Drawing.Size(140, 6);
// //
// ViewThemeMenu // ViewThemeMenu
// //
@ -423,7 +425,7 @@
this.ViewThemeLightMenu, this.ViewThemeLightMenu,
this.ViewThemeDarkMenu}); this.ViewThemeDarkMenu});
this.ViewThemeMenu.Name = "ViewThemeMenu"; this.ViewThemeMenu.Name = "ViewThemeMenu";
this.ViewThemeMenu.Size = new System.Drawing.Size(152, 22); this.ViewThemeMenu.Size = new System.Drawing.Size(143, 22);
this.ViewThemeMenu.Text = "Theme"; this.ViewThemeMenu.Text = "Theme";
// //
// ViewThemeWindowsMenu // ViewThemeWindowsMenu
@ -431,31 +433,38 @@
this.ViewThemeWindowsMenu.Checked = true; this.ViewThemeWindowsMenu.Checked = true;
this.ViewThemeWindowsMenu.CheckState = System.Windows.Forms.CheckState.Checked; this.ViewThemeWindowsMenu.CheckState = System.Windows.Forms.CheckState.Checked;
this.ViewThemeWindowsMenu.Name = "ViewThemeWindowsMenu"; this.ViewThemeWindowsMenu.Name = "ViewThemeWindowsMenu";
this.ViewThemeWindowsMenu.Size = new System.Drawing.Size(152, 22); this.ViewThemeWindowsMenu.Size = new System.Drawing.Size(129, 22);
this.ViewThemeWindowsMenu.Text = "Windows"; this.ViewThemeWindowsMenu.Text = "Windows";
this.ViewThemeWindowsMenu.Click += new System.EventHandler(this.ViewThemeWindowsMenu_Click); this.ViewThemeWindowsMenu.Click += new System.EventHandler(this.ViewThemeWindowsMenu_Click);
// //
// ViewThemeBlueMenu // ViewThemeBlueMenu
// //
this.ViewThemeBlueMenu.Name = "ViewThemeBlueMenu"; this.ViewThemeBlueMenu.Name = "ViewThemeBlueMenu";
this.ViewThemeBlueMenu.Size = new System.Drawing.Size(152, 22); this.ViewThemeBlueMenu.Size = new System.Drawing.Size(129, 22);
this.ViewThemeBlueMenu.Text = "Blue"; this.ViewThemeBlueMenu.Text = "Blue";
this.ViewThemeBlueMenu.Click += new System.EventHandler(this.ViewThemeBlueMenu_Click); this.ViewThemeBlueMenu.Click += new System.EventHandler(this.ViewThemeBlueMenu_Click);
// //
// ViewThemeLightMenu // ViewThemeLightMenu
// //
this.ViewThemeLightMenu.Name = "ViewThemeLightMenu"; this.ViewThemeLightMenu.Name = "ViewThemeLightMenu";
this.ViewThemeLightMenu.Size = new System.Drawing.Size(152, 22); this.ViewThemeLightMenu.Size = new System.Drawing.Size(129, 22);
this.ViewThemeLightMenu.Text = "Light"; this.ViewThemeLightMenu.Text = "Light";
this.ViewThemeLightMenu.Click += new System.EventHandler(this.ViewThemeLightMenu_Click); this.ViewThemeLightMenu.Click += new System.EventHandler(this.ViewThemeLightMenu_Click);
// //
// ViewThemeDarkMenu // ViewThemeDarkMenu
// //
this.ViewThemeDarkMenu.Name = "ViewThemeDarkMenu"; this.ViewThemeDarkMenu.Name = "ViewThemeDarkMenu";
this.ViewThemeDarkMenu.Size = new System.Drawing.Size(152, 22); this.ViewThemeDarkMenu.Size = new System.Drawing.Size(129, 22);
this.ViewThemeDarkMenu.Text = "Dark"; this.ViewThemeDarkMenu.Text = "Dark";
this.ViewThemeDarkMenu.Click += new System.EventHandler(this.ViewThemeDarkMenu_Click); this.ViewThemeDarkMenu.Click += new System.EventHandler(this.ViewThemeDarkMenu_Click);
// //
// favoritesToolStripMenuItem
//
this.favoritesToolStripMenuItem.Enabled = false;
this.favoritesToolStripMenuItem.Name = "favoritesToolStripMenuItem";
this.favoritesToolStripMenuItem.Size = new System.Drawing.Size(72, 21);
this.favoritesToolStripMenuItem.Text = "Favorites";
//
// ToolsMenu // ToolsMenu
// //
this.ToolsMenu.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.ToolsMenu.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
@ -464,32 +473,32 @@
this.toolStripSeparator7, this.toolStripSeparator7,
this.ToolsOptionsMenu}); this.ToolsOptionsMenu});
this.ToolsMenu.Name = "ToolsMenu"; this.ToolsMenu.Name = "ToolsMenu";
this.ToolsMenu.Size = new System.Drawing.Size(47, 20); this.ToolsMenu.Size = new System.Drawing.Size(51, 21);
this.ToolsMenu.Text = "Tools"; this.ToolsMenu.Text = "Tools";
// //
// ToolsBinSearchMenu // ToolsBinSearchMenu
// //
this.ToolsBinSearchMenu.Name = "ToolsBinSearchMenu"; this.ToolsBinSearchMenu.Name = "ToolsBinSearchMenu";
this.ToolsBinSearchMenu.Size = new System.Drawing.Size(161, 22); this.ToolsBinSearchMenu.Size = new System.Drawing.Size(173, 22);
this.ToolsBinSearchMenu.Text = "Binary Search..."; this.ToolsBinSearchMenu.Text = "Binary Search...";
this.ToolsBinSearchMenu.Click += new System.EventHandler(this.ToolsBinSearchMenu_Click); this.ToolsBinSearchMenu.Click += new System.EventHandler(this.ToolsBinSearchMenu_Click);
// //
// ToolsRpfBrowserMenu // ToolsRpfBrowserMenu
// //
this.ToolsRpfBrowserMenu.Name = "ToolsRpfBrowserMenu"; this.ToolsRpfBrowserMenu.Name = "ToolsRpfBrowserMenu";
this.ToolsRpfBrowserMenu.Size = new System.Drawing.Size(161, 22); this.ToolsRpfBrowserMenu.Size = new System.Drawing.Size(173, 22);
this.ToolsRpfBrowserMenu.Text = "Old RPF Browser"; this.ToolsRpfBrowserMenu.Text = "Old RPF Browser";
this.ToolsRpfBrowserMenu.Click += new System.EventHandler(this.ToolsRpfBrowserMenu_Click); this.ToolsRpfBrowserMenu.Click += new System.EventHandler(this.ToolsRpfBrowserMenu_Click);
// //
// toolStripSeparator7 // toolStripSeparator7
// //
this.toolStripSeparator7.Name = "toolStripSeparator7"; this.toolStripSeparator7.Name = "toolStripSeparator7";
this.toolStripSeparator7.Size = new System.Drawing.Size(158, 6); this.toolStripSeparator7.Size = new System.Drawing.Size(170, 6);
// //
// ToolsOptionsMenu // ToolsOptionsMenu
// //
this.ToolsOptionsMenu.Name = "ToolsOptionsMenu"; this.ToolsOptionsMenu.Name = "ToolsOptionsMenu";
this.ToolsOptionsMenu.Size = new System.Drawing.Size(161, 22); this.ToolsOptionsMenu.Size = new System.Drawing.Size(173, 22);
this.ToolsOptionsMenu.Text = "Options..."; this.ToolsOptionsMenu.Text = "Options...";
this.ToolsOptionsMenu.Click += new System.EventHandler(this.ToolsOptionsMenu_Click); this.ToolsOptionsMenu.Click += new System.EventHandler(this.ToolsOptionsMenu_Click);
// //
@ -508,7 +517,7 @@
this.toolStripSeparator1, this.toolStripSeparator1,
this.SearchTextBox, this.SearchTextBox,
this.SearchButton}); this.SearchButton});
this.MainToolbar.Location = new System.Drawing.Point(0, 24); this.MainToolbar.Location = new System.Drawing.Point(0, 25);
this.MainToolbar.Name = "MainToolbar"; this.MainToolbar.Name = "MainToolbar";
this.MainToolbar.Size = new System.Drawing.Size(876, 25); this.MainToolbar.Size = new System.Drawing.Size(876, 25);
this.MainToolbar.TabIndex = 1; this.MainToolbar.TabIndex = 1;
@ -530,7 +539,7 @@
// BackListButton // BackListButton
// //
this.BackListButton.Name = "BackListButton"; this.BackListButton.Name = "BackListButton";
this.BackListButton.Size = new System.Drawing.Size(100, 22); this.BackListButton.Size = new System.Drawing.Size(103, 22);
this.BackListButton.Text = "[List]"; this.BackListButton.Text = "[List]";
this.BackListButton.Click += new System.EventHandler(this.BackListButton_Click); this.BackListButton.Click += new System.EventHandler(this.BackListButton_Click);
// //
@ -550,7 +559,7 @@
// ForwardListButton // ForwardListButton
// //
this.ForwardListButton.Name = "ForwardListButton"; this.ForwardListButton.Name = "ForwardListButton";
this.ForwardListButton.Size = new System.Drawing.Size(100, 22); this.ForwardListButton.Size = new System.Drawing.Size(103, 22);
this.ForwardListButton.Text = "[List]"; this.ForwardListButton.Text = "[List]";
this.ForwardListButton.Click += new System.EventHandler(this.ForwardListButton_Click); this.ForwardListButton.Click += new System.EventHandler(this.ForwardListButton_Click);
// //
@ -570,14 +579,14 @@
// UpListButton // UpListButton
// //
this.UpListButton.Name = "UpListButton"; this.UpListButton.Name = "UpListButton";
this.UpListButton.Size = new System.Drawing.Size(100, 22); this.UpListButton.Size = new System.Drawing.Size(103, 22);
this.UpListButton.Text = "[List]"; this.UpListButton.Text = "[List]";
this.UpListButton.Click += new System.EventHandler(this.UpListButton_Click); this.UpListButton.Click += new System.EventHandler(this.UpListButton_Click);
// //
// LocationTextBox // LocationTextBox
// //
this.LocationTextBox.Name = "LocationTextBox"; this.LocationTextBox.Name = "LocationTextBox";
this.LocationTextBox.Size = new System.Drawing.Size(423, 25); this.LocationTextBox.Size = new System.Drawing.Size(416, 25);
this.LocationTextBox.Enter += new System.EventHandler(this.LocationTextBox_Enter); this.LocationTextBox.Enter += new System.EventHandler(this.LocationTextBox_Enter);
this.LocationTextBox.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.LocationTextBox_KeyPress); this.LocationTextBox.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.LocationTextBox_KeyPress);
// //
@ -615,7 +624,7 @@
this.EditModeButton.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None; this.EditModeButton.ImageScaling = System.Windows.Forms.ToolStripItemImageScaling.None;
this.EditModeButton.ImageTransparentColor = System.Drawing.Color.Magenta; this.EditModeButton.ImageTransparentColor = System.Drawing.Color.Magenta;
this.EditModeButton.Name = "EditModeButton"; this.EditModeButton.Name = "EditModeButton";
this.EditModeButton.Size = new System.Drawing.Size(81, 22); this.EditModeButton.Size = new System.Drawing.Size(88, 22);
this.EditModeButton.Text = "Edit mode"; this.EditModeButton.Text = "Edit mode";
this.EditModeButton.Click += new System.EventHandler(this.EditModeButton_Click); this.EditModeButton.Click += new System.EventHandler(this.EditModeButton_Click);
// //
@ -652,7 +661,7 @@
this.SearchGlobalButton.CheckState = System.Windows.Forms.CheckState.Checked; this.SearchGlobalButton.CheckState = System.Windows.Forms.CheckState.Checked;
this.SearchGlobalButton.Image = ((System.Drawing.Image)(resources.GetObject("SearchGlobalButton.Image"))); this.SearchGlobalButton.Image = ((System.Drawing.Image)(resources.GetObject("SearchGlobalButton.Image")));
this.SearchGlobalButton.Name = "SearchGlobalButton"; this.SearchGlobalButton.Name = "SearchGlobalButton";
this.SearchGlobalButton.Size = new System.Drawing.Size(146, 22); this.SearchGlobalButton.Size = new System.Drawing.Size(157, 22);
this.SearchGlobalButton.Text = "Global Search"; this.SearchGlobalButton.Text = "Global Search";
this.SearchGlobalButton.Click += new System.EventHandler(this.SearchGlobalButton_Click); this.SearchGlobalButton.Click += new System.EventHandler(this.SearchGlobalButton_Click);
// //
@ -660,7 +669,7 @@
// //
this.SearchFilterButton.Image = ((System.Drawing.Image)(resources.GetObject("SearchFilterButton.Image"))); this.SearchFilterButton.Image = ((System.Drawing.Image)(resources.GetObject("SearchFilterButton.Image")));
this.SearchFilterButton.Name = "SearchFilterButton"; this.SearchFilterButton.Name = "SearchFilterButton";
this.SearchFilterButton.Size = new System.Drawing.Size(146, 22); this.SearchFilterButton.Size = new System.Drawing.Size(157, 22);
this.SearchFilterButton.Text = "Filter"; this.SearchFilterButton.Text = "Filter";
this.SearchFilterButton.Click += new System.EventHandler(this.SearchFilterButton_Click); this.SearchFilterButton.Click += new System.EventHandler(this.SearchFilterButton_Click);
// //
@ -715,7 +724,7 @@
// MainSplitContainer // MainSplitContainer
// //
this.MainSplitContainer.Dock = System.Windows.Forms.DockStyle.Fill; this.MainSplitContainer.Dock = System.Windows.Forms.DockStyle.Fill;
this.MainSplitContainer.Location = new System.Drawing.Point(0, 49); this.MainSplitContainer.Location = new System.Drawing.Point(0, 50);
this.MainSplitContainer.Name = "MainSplitContainer"; this.MainSplitContainer.Name = "MainSplitContainer";
// //
// MainSplitContainer.Panel1 // MainSplitContainer.Panel1
@ -727,7 +736,7 @@
this.MainSplitContainer.Panel2.Controls.Add(this.MainListView); this.MainSplitContainer.Panel2.Controls.Add(this.MainListView);
this.MainSplitContainer.Panel2.Controls.Add(this.EditModeBaseWarningPanel); this.MainSplitContainer.Panel2.Controls.Add(this.EditModeBaseWarningPanel);
this.MainSplitContainer.Panel2.Controls.Add(this.EditModeModsWarningPanel); this.MainSplitContainer.Panel2.Controls.Add(this.EditModeModsWarningPanel);
this.MainSplitContainer.Size = new System.Drawing.Size(876, 516); this.MainSplitContainer.Size = new System.Drawing.Size(876, 515);
this.MainSplitContainer.SplitterDistance = 309; this.MainSplitContainer.SplitterDistance = 309;
this.MainSplitContainer.TabIndex = 3; this.MainSplitContainer.TabIndex = 3;
// //
@ -747,7 +756,7 @@
this.MainTreeView.SelectedImageIndex = 0; this.MainTreeView.SelectedImageIndex = 0;
this.MainTreeView.ShowLines = false; this.MainTreeView.ShowLines = false;
this.MainTreeView.ShowNodeToolTips = true; this.MainTreeView.ShowNodeToolTips = true;
this.MainTreeView.Size = new System.Drawing.Size(305, 513); this.MainTreeView.Size = new System.Drawing.Size(305, 512);
this.MainTreeView.TabIndex = 0; this.MainTreeView.TabIndex = 0;
this.MainTreeView.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.MainTreeView_AfterSelect); this.MainTreeView.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.MainTreeView_AfterSelect);
this.MainTreeView.MouseUp += new System.Windows.Forms.MouseEventHandler(this.MainTreeView_MouseUp); this.MainTreeView.MouseUp += new System.Windows.Forms.MouseEventHandler(this.MainTreeView_MouseUp);
@ -770,7 +779,7 @@
this.MainListView.Location = new System.Drawing.Point(1, 3); this.MainListView.Location = new System.Drawing.Point(1, 3);
this.MainListView.Name = "MainListView"; this.MainListView.Name = "MainListView";
this.MainListView.ShowItemToolTips = true; this.MainListView.ShowItemToolTips = true;
this.MainListView.Size = new System.Drawing.Size(559, 513); this.MainListView.Size = new System.Drawing.Size(559, 512);
this.MainListView.SmallImageList = this.FileImageList16; this.MainListView.SmallImageList = this.FileImageList16;
this.MainListView.TabIndex = 0; this.MainListView.TabIndex = 0;
this.MainListView.UseCompatibleStateImageBehavior = false; this.MainListView.UseCompatibleStateImageBehavior = false;
@ -842,7 +851,7 @@
this.label1.ForeColor = System.Drawing.Color.White; this.label1.ForeColor = System.Drawing.Color.White;
this.label1.Location = new System.Drawing.Point(25, 5); this.label1.Location = new System.Drawing.Point(25, 5);
this.label1.Name = "label1"; this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(285, 13); this.label1.Size = new System.Drawing.Size(321, 15);
this.label1.TabIndex = 0; this.label1.TabIndex = 0;
this.label1.Text = "Warning: You are directly editing base game files"; this.label1.Text = "Warning: You are directly editing base game files";
// //
@ -875,7 +884,7 @@
this.label2.ForeColor = System.Drawing.Color.White; this.label2.ForeColor = System.Drawing.Color.White;
this.label2.Location = new System.Drawing.Point(25, 5); this.label2.Location = new System.Drawing.Point(25, 5);
this.label2.Name = "label2"; this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(225, 13); this.label2.Size = new System.Drawing.Size(255, 15);
this.label2.TabIndex = 0; this.label2.TabIndex = 0;
this.label2.Text = "You are editing files in the mods folder"; this.label2.Text = "You are editing files in the mods folder";
// //
@ -908,14 +917,14 @@
this.ListContextDefragmentSeparator, this.ListContextDefragmentSeparator,
this.ListContextSelectAllMenu}); this.ListContextSelectAllMenu});
this.ListContextMenu.Name = "MainContextMenu"; this.ListContextMenu.Name = "MainContextMenu";
this.ListContextMenu.Size = new System.Drawing.Size(208, 442); this.ListContextMenu.Size = new System.Drawing.Size(221, 442);
// //
// ListContextViewMenu // ListContextViewMenu
// //
this.ListContextViewMenu.Image = ((System.Drawing.Image)(resources.GetObject("ListContextViewMenu.Image"))); this.ListContextViewMenu.Image = ((System.Drawing.Image)(resources.GetObject("ListContextViewMenu.Image")));
this.ListContextViewMenu.Name = "ListContextViewMenu"; this.ListContextViewMenu.Name = "ListContextViewMenu";
this.ListContextViewMenu.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.P))); this.ListContextViewMenu.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.P)));
this.ListContextViewMenu.Size = new System.Drawing.Size(207, 22); this.ListContextViewMenu.Size = new System.Drawing.Size(220, 22);
this.ListContextViewMenu.Text = "View..."; this.ListContextViewMenu.Text = "View...";
this.ListContextViewMenu.Click += new System.EventHandler(this.ListContextViewMenu_Click); this.ListContextViewMenu.Click += new System.EventHandler(this.ListContextViewMenu_Click);
// //
@ -924,21 +933,21 @@
this.ListContextViewHexMenu.Image = ((System.Drawing.Image)(resources.GetObject("ListContextViewHexMenu.Image"))); this.ListContextViewHexMenu.Image = ((System.Drawing.Image)(resources.GetObject("ListContextViewHexMenu.Image")));
this.ListContextViewHexMenu.Name = "ListContextViewHexMenu"; this.ListContextViewHexMenu.Name = "ListContextViewHexMenu";
this.ListContextViewHexMenu.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.H))); this.ListContextViewHexMenu.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.H)));
this.ListContextViewHexMenu.Size = new System.Drawing.Size(207, 22); this.ListContextViewHexMenu.Size = new System.Drawing.Size(220, 22);
this.ListContextViewHexMenu.Text = "View Hex..."; this.ListContextViewHexMenu.Text = "View Hex...";
this.ListContextViewHexMenu.Click += new System.EventHandler(this.ListContextViewHexMenu_Click); this.ListContextViewHexMenu.Click += new System.EventHandler(this.ListContextViewHexMenu_Click);
// //
// toolStripSeparator2 // toolStripSeparator2
// //
this.toolStripSeparator2.Name = "toolStripSeparator2"; this.toolStripSeparator2.Name = "toolStripSeparator2";
this.toolStripSeparator2.Size = new System.Drawing.Size(204, 6); this.toolStripSeparator2.Size = new System.Drawing.Size(217, 6);
// //
// ListContextExportXmlMenu // ListContextExportXmlMenu
// //
this.ListContextExportXmlMenu.Image = ((System.Drawing.Image)(resources.GetObject("ListContextExportXmlMenu.Image"))); this.ListContextExportXmlMenu.Image = ((System.Drawing.Image)(resources.GetObject("ListContextExportXmlMenu.Image")));
this.ListContextExportXmlMenu.Name = "ListContextExportXmlMenu"; this.ListContextExportXmlMenu.Name = "ListContextExportXmlMenu";
this.ListContextExportXmlMenu.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.S))); this.ListContextExportXmlMenu.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.S)));
this.ListContextExportXmlMenu.Size = new System.Drawing.Size(207, 22); this.ListContextExportXmlMenu.Size = new System.Drawing.Size(220, 22);
this.ListContextExportXmlMenu.Text = "Export XML..."; this.ListContextExportXmlMenu.Text = "Export XML...";
this.ListContextExportXmlMenu.Click += new System.EventHandler(this.ListContextExportXmlMenu_Click); this.ListContextExportXmlMenu.Click += new System.EventHandler(this.ListContextExportXmlMenu_Click);
// //
@ -947,14 +956,14 @@
this.ListContextExtractRawMenu.Image = ((System.Drawing.Image)(resources.GetObject("ListContextExtractRawMenu.Image"))); this.ListContextExtractRawMenu.Image = ((System.Drawing.Image)(resources.GetObject("ListContextExtractRawMenu.Image")));
this.ListContextExtractRawMenu.Name = "ListContextExtractRawMenu"; this.ListContextExtractRawMenu.Name = "ListContextExtractRawMenu";
this.ListContextExtractRawMenu.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.E))); this.ListContextExtractRawMenu.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.E)));
this.ListContextExtractRawMenu.Size = new System.Drawing.Size(207, 22); this.ListContextExtractRawMenu.Size = new System.Drawing.Size(220, 22);
this.ListContextExtractRawMenu.Text = "Extract Raw..."; this.ListContextExtractRawMenu.Text = "Extract Raw...";
this.ListContextExtractRawMenu.Click += new System.EventHandler(this.ListContextExtractRawMenu_Click); this.ListContextExtractRawMenu.Click += new System.EventHandler(this.ListContextExtractRawMenu_Click);
// //
// ListContextExtractUncompressedMenu // ListContextExtractUncompressedMenu
// //
this.ListContextExtractUncompressedMenu.Name = "ListContextExtractUncompressedMenu"; this.ListContextExtractUncompressedMenu.Name = "ListContextExtractUncompressedMenu";
this.ListContextExtractUncompressedMenu.Size = new System.Drawing.Size(207, 22); this.ListContextExtractUncompressedMenu.Size = new System.Drawing.Size(220, 22);
this.ListContextExtractUncompressedMenu.Text = "Extract Uncompressed..."; this.ListContextExtractUncompressedMenu.Text = "Extract Uncompressed...";
this.ListContextExtractUncompressedMenu.Click += new System.EventHandler(this.ListContextExtractUncompressedMenu_Click); this.ListContextExtractUncompressedMenu.Click += new System.EventHandler(this.ListContextExtractUncompressedMenu_Click);
// //
@ -963,14 +972,14 @@
this.ListContextExtractAllMenu.Name = "ListContextExtractAllMenu"; this.ListContextExtractAllMenu.Name = "ListContextExtractAllMenu";
this.ListContextExtractAllMenu.ShortcutKeys = ((System.Windows.Forms.Keys)(((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Shift) this.ListContextExtractAllMenu.ShortcutKeys = ((System.Windows.Forms.Keys)(((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Shift)
| System.Windows.Forms.Keys.E))); | System.Windows.Forms.Keys.E)));
this.ListContextExtractAllMenu.Size = new System.Drawing.Size(207, 22); this.ListContextExtractAllMenu.Size = new System.Drawing.Size(220, 22);
this.ListContextExtractAllMenu.Text = "Extract All..."; this.ListContextExtractAllMenu.Text = "Extract All...";
this.ListContextExtractAllMenu.Click += new System.EventHandler(this.ListContextExtractAllMenu_Click); this.ListContextExtractAllMenu.Click += new System.EventHandler(this.ListContextExtractAllMenu_Click);
// //
// toolStripSeparator5 // toolStripSeparator5
// //
this.toolStripSeparator5.Name = "toolStripSeparator5"; this.toolStripSeparator5.Name = "toolStripSeparator5";
this.toolStripSeparator5.Size = new System.Drawing.Size(204, 6); this.toolStripSeparator5.Size = new System.Drawing.Size(217, 6);
// //
// ListContextNewMenu // ListContextNewMenu
// //
@ -978,20 +987,20 @@
this.ListContextNewFolderMenu, this.ListContextNewFolderMenu,
this.ListContextNewRpfArchiveMenu}); this.ListContextNewRpfArchiveMenu});
this.ListContextNewMenu.Name = "ListContextNewMenu"; this.ListContextNewMenu.Name = "ListContextNewMenu";
this.ListContextNewMenu.Size = new System.Drawing.Size(207, 22); this.ListContextNewMenu.Size = new System.Drawing.Size(220, 22);
this.ListContextNewMenu.Text = "New"; this.ListContextNewMenu.Text = "New";
// //
// ListContextNewFolderMenu // ListContextNewFolderMenu
// //
this.ListContextNewFolderMenu.Name = "ListContextNewFolderMenu"; this.ListContextNewFolderMenu.Name = "ListContextNewFolderMenu";
this.ListContextNewFolderMenu.Size = new System.Drawing.Size(146, 22); this.ListContextNewFolderMenu.Size = new System.Drawing.Size(152, 22);
this.ListContextNewFolderMenu.Text = "Folder..."; this.ListContextNewFolderMenu.Text = "Folder...";
this.ListContextNewFolderMenu.Click += new System.EventHandler(this.ListContextNewFolderMenu_Click); this.ListContextNewFolderMenu.Click += new System.EventHandler(this.ListContextNewFolderMenu_Click);
// //
// ListContextNewRpfArchiveMenu // ListContextNewRpfArchiveMenu
// //
this.ListContextNewRpfArchiveMenu.Name = "ListContextNewRpfArchiveMenu"; this.ListContextNewRpfArchiveMenu.Name = "ListContextNewRpfArchiveMenu";
this.ListContextNewRpfArchiveMenu.Size = new System.Drawing.Size(146, 22); this.ListContextNewRpfArchiveMenu.Size = new System.Drawing.Size(152, 22);
this.ListContextNewRpfArchiveMenu.Text = "RPF Archive..."; this.ListContextNewRpfArchiveMenu.Text = "RPF Archive...";
this.ListContextNewRpfArchiveMenu.Click += new System.EventHandler(this.ListContextNewRpfArchiveMenu_Click); this.ListContextNewRpfArchiveMenu.Click += new System.EventHandler(this.ListContextNewRpfArchiveMenu_Click);
// //
@ -1000,7 +1009,7 @@
this.ListContextImportXmlMenu.Image = ((System.Drawing.Image)(resources.GetObject("ListContextImportXmlMenu.Image"))); this.ListContextImportXmlMenu.Image = ((System.Drawing.Image)(resources.GetObject("ListContextImportXmlMenu.Image")));
this.ListContextImportXmlMenu.Name = "ListContextImportXmlMenu"; this.ListContextImportXmlMenu.Name = "ListContextImportXmlMenu";
this.ListContextImportXmlMenu.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Shift | System.Windows.Forms.Keys.Insert))); this.ListContextImportXmlMenu.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Shift | System.Windows.Forms.Keys.Insert)));
this.ListContextImportXmlMenu.Size = new System.Drawing.Size(207, 22); this.ListContextImportXmlMenu.Size = new System.Drawing.Size(220, 22);
this.ListContextImportXmlMenu.Text = "Import XML..."; this.ListContextImportXmlMenu.Text = "Import XML...";
this.ListContextImportXmlMenu.Click += new System.EventHandler(this.ListContextImportXmlMenu_Click); this.ListContextImportXmlMenu.Click += new System.EventHandler(this.ListContextImportXmlMenu_Click);
// //
@ -1009,21 +1018,21 @@
this.ListContextImportRawMenu.Image = ((System.Drawing.Image)(resources.GetObject("ListContextImportRawMenu.Image"))); this.ListContextImportRawMenu.Image = ((System.Drawing.Image)(resources.GetObject("ListContextImportRawMenu.Image")));
this.ListContextImportRawMenu.Name = "ListContextImportRawMenu"; this.ListContextImportRawMenu.Name = "ListContextImportRawMenu";
this.ListContextImportRawMenu.ShortcutKeys = System.Windows.Forms.Keys.Insert; this.ListContextImportRawMenu.ShortcutKeys = System.Windows.Forms.Keys.Insert;
this.ListContextImportRawMenu.Size = new System.Drawing.Size(207, 22); this.ListContextImportRawMenu.Size = new System.Drawing.Size(220, 22);
this.ListContextImportRawMenu.Text = "Import Raw..."; this.ListContextImportRawMenu.Text = "Import Raw...";
this.ListContextImportRawMenu.Click += new System.EventHandler(this.ListContextImportRawMenu_Click); this.ListContextImportRawMenu.Click += new System.EventHandler(this.ListContextImportRawMenu_Click);
// //
// ListContextImportSeparator // ListContextImportSeparator
// //
this.ListContextImportSeparator.Name = "ListContextImportSeparator"; this.ListContextImportSeparator.Name = "ListContextImportSeparator";
this.ListContextImportSeparator.Size = new System.Drawing.Size(204, 6); this.ListContextImportSeparator.Size = new System.Drawing.Size(217, 6);
// //
// ListContextCopyMenu // ListContextCopyMenu
// //
this.ListContextCopyMenu.Image = ((System.Drawing.Image)(resources.GetObject("ListContextCopyMenu.Image"))); this.ListContextCopyMenu.Image = ((System.Drawing.Image)(resources.GetObject("ListContextCopyMenu.Image")));
this.ListContextCopyMenu.Name = "ListContextCopyMenu"; this.ListContextCopyMenu.Name = "ListContextCopyMenu";
this.ListContextCopyMenu.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.C))); this.ListContextCopyMenu.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.C)));
this.ListContextCopyMenu.Size = new System.Drawing.Size(207, 22); this.ListContextCopyMenu.Size = new System.Drawing.Size(220, 22);
this.ListContextCopyMenu.Text = "Copy"; this.ListContextCopyMenu.Text = "Copy";
this.ListContextCopyMenu.Click += new System.EventHandler(this.ListContextCopyMenu_Click); this.ListContextCopyMenu.Click += new System.EventHandler(this.ListContextCopyMenu_Click);
// //
@ -1032,40 +1041,40 @@
this.ListContextCopyPathMenu.Name = "ListContextCopyPathMenu"; this.ListContextCopyPathMenu.Name = "ListContextCopyPathMenu";
this.ListContextCopyPathMenu.ShortcutKeys = ((System.Windows.Forms.Keys)(((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Shift) this.ListContextCopyPathMenu.ShortcutKeys = ((System.Windows.Forms.Keys)(((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Shift)
| System.Windows.Forms.Keys.C))); | System.Windows.Forms.Keys.C)));
this.ListContextCopyPathMenu.Size = new System.Drawing.Size(207, 22); this.ListContextCopyPathMenu.Size = new System.Drawing.Size(220, 22);
this.ListContextCopyPathMenu.Text = "Copy Path"; this.ListContextCopyPathMenu.Text = "Copy Path";
this.ListContextCopyPathMenu.Click += new System.EventHandler(this.ListContextCopyPathMenu_Click); this.ListContextCopyPathMenu.Click += new System.EventHandler(this.ListContextCopyPathMenu_Click);
// //
// ListContextCopyFileListMenu // ListContextCopyFileListMenu
// //
this.ListContextCopyFileListMenu.Name = "ListContextCopyFileListMenu"; this.ListContextCopyFileListMenu.Name = "ListContextCopyFileListMenu";
this.ListContextCopyFileListMenu.Size = new System.Drawing.Size(207, 22); this.ListContextCopyFileListMenu.Size = new System.Drawing.Size(220, 22);
this.ListContextCopyFileListMenu.Text = "Copy File List"; this.ListContextCopyFileListMenu.Text = "Copy File List";
this.ListContextCopyFileListMenu.Click += new System.EventHandler(this.ListContextCopyFileListMenu_Click); this.ListContextCopyFileListMenu.Click += new System.EventHandler(this.ListContextCopyFileListMenu_Click);
// //
// toolStripSeparator6 // toolStripSeparator6
// //
this.toolStripSeparator6.Name = "toolStripSeparator6"; this.toolStripSeparator6.Name = "toolStripSeparator6";
this.toolStripSeparator6.Size = new System.Drawing.Size(204, 6); this.toolStripSeparator6.Size = new System.Drawing.Size(217, 6);
// //
// ListContextOpenFileLocationMenu // ListContextOpenFileLocationMenu
// //
this.ListContextOpenFileLocationMenu.Name = "ListContextOpenFileLocationMenu"; this.ListContextOpenFileLocationMenu.Name = "ListContextOpenFileLocationMenu";
this.ListContextOpenFileLocationMenu.Size = new System.Drawing.Size(207, 22); this.ListContextOpenFileLocationMenu.Size = new System.Drawing.Size(220, 22);
this.ListContextOpenFileLocationMenu.Text = "Open File Location"; this.ListContextOpenFileLocationMenu.Text = "Open File Location";
this.ListContextOpenFileLocationMenu.Click += new System.EventHandler(this.ListContextOpenFileLocationMenu_Click); this.ListContextOpenFileLocationMenu.Click += new System.EventHandler(this.ListContextOpenFileLocationMenu_Click);
// //
// ListContextOpenFileLocationSeparator // ListContextOpenFileLocationSeparator
// //
this.ListContextOpenFileLocationSeparator.Name = "ListContextOpenFileLocationSeparator"; this.ListContextOpenFileLocationSeparator.Name = "ListContextOpenFileLocationSeparator";
this.ListContextOpenFileLocationSeparator.Size = new System.Drawing.Size(204, 6); this.ListContextOpenFileLocationSeparator.Size = new System.Drawing.Size(217, 6);
// //
// ListContextRenameMenu // ListContextRenameMenu
// //
this.ListContextRenameMenu.Image = ((System.Drawing.Image)(resources.GetObject("ListContextRenameMenu.Image"))); this.ListContextRenameMenu.Image = ((System.Drawing.Image)(resources.GetObject("ListContextRenameMenu.Image")));
this.ListContextRenameMenu.Name = "ListContextRenameMenu"; this.ListContextRenameMenu.Name = "ListContextRenameMenu";
this.ListContextRenameMenu.ShortcutKeys = System.Windows.Forms.Keys.F2; this.ListContextRenameMenu.ShortcutKeys = System.Windows.Forms.Keys.F2;
this.ListContextRenameMenu.Size = new System.Drawing.Size(207, 22); this.ListContextRenameMenu.Size = new System.Drawing.Size(220, 22);
this.ListContextRenameMenu.Text = "Rename"; this.ListContextRenameMenu.Text = "Rename";
this.ListContextRenameMenu.Click += new System.EventHandler(this.ListContextRenameMenu_Click); this.ListContextRenameMenu.Click += new System.EventHandler(this.ListContextRenameMenu_Click);
// //
@ -1074,7 +1083,7 @@
this.ListContextReplaceMenu.Image = ((System.Drawing.Image)(resources.GetObject("ListContextReplaceMenu.Image"))); this.ListContextReplaceMenu.Image = ((System.Drawing.Image)(resources.GetObject("ListContextReplaceMenu.Image")));
this.ListContextReplaceMenu.Name = "ListContextReplaceMenu"; this.ListContextReplaceMenu.Name = "ListContextReplaceMenu";
this.ListContextReplaceMenu.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Shift | System.Windows.Forms.Keys.Insert))); this.ListContextReplaceMenu.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Shift | System.Windows.Forms.Keys.Insert)));
this.ListContextReplaceMenu.Size = new System.Drawing.Size(207, 22); this.ListContextReplaceMenu.Size = new System.Drawing.Size(220, 22);
this.ListContextReplaceMenu.Text = "Replace..."; this.ListContextReplaceMenu.Text = "Replace...";
this.ListContextReplaceMenu.Click += new System.EventHandler(this.ListContextReplaceMenu_Click); this.ListContextReplaceMenu.Click += new System.EventHandler(this.ListContextReplaceMenu_Click);
// //
@ -1083,32 +1092,32 @@
this.ListContextDeleteMenu.Image = ((System.Drawing.Image)(resources.GetObject("ListContextDeleteMenu.Image"))); this.ListContextDeleteMenu.Image = ((System.Drawing.Image)(resources.GetObject("ListContextDeleteMenu.Image")));
this.ListContextDeleteMenu.Name = "ListContextDeleteMenu"; this.ListContextDeleteMenu.Name = "ListContextDeleteMenu";
this.ListContextDeleteMenu.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Shift | System.Windows.Forms.Keys.Delete))); this.ListContextDeleteMenu.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Shift | System.Windows.Forms.Keys.Delete)));
this.ListContextDeleteMenu.Size = new System.Drawing.Size(207, 22); this.ListContextDeleteMenu.Size = new System.Drawing.Size(220, 22);
this.ListContextDeleteMenu.Text = "Delete"; this.ListContextDeleteMenu.Text = "Delete";
this.ListContextDeleteMenu.Click += new System.EventHandler(this.ListContextDeleteMenu_Click); this.ListContextDeleteMenu.Click += new System.EventHandler(this.ListContextDeleteMenu_Click);
// //
// ListContextEditSeparator // ListContextEditSeparator
// //
this.ListContextEditSeparator.Name = "ListContextEditSeparator"; this.ListContextEditSeparator.Name = "ListContextEditSeparator";
this.ListContextEditSeparator.Size = new System.Drawing.Size(204, 6); this.ListContextEditSeparator.Size = new System.Drawing.Size(217, 6);
// //
// ListContextDefragmentMenu // ListContextDefragmentMenu
// //
this.ListContextDefragmentMenu.Name = "ListContextDefragmentMenu"; this.ListContextDefragmentMenu.Name = "ListContextDefragmentMenu";
this.ListContextDefragmentMenu.Size = new System.Drawing.Size(207, 22); this.ListContextDefragmentMenu.Size = new System.Drawing.Size(220, 22);
this.ListContextDefragmentMenu.Text = "Defragment Archive..."; this.ListContextDefragmentMenu.Text = "Defragment Archive...";
this.ListContextDefragmentMenu.Click += new System.EventHandler(this.ListContextDefragmentMenu_Click); this.ListContextDefragmentMenu.Click += new System.EventHandler(this.ListContextDefragmentMenu_Click);
// //
// ListContextDefragmentSeparator // ListContextDefragmentSeparator
// //
this.ListContextDefragmentSeparator.Name = "ListContextDefragmentSeparator"; this.ListContextDefragmentSeparator.Name = "ListContextDefragmentSeparator";
this.ListContextDefragmentSeparator.Size = new System.Drawing.Size(204, 6); this.ListContextDefragmentSeparator.Size = new System.Drawing.Size(217, 6);
// //
// ListContextSelectAllMenu // ListContextSelectAllMenu
// //
this.ListContextSelectAllMenu.Name = "ListContextSelectAllMenu"; this.ListContextSelectAllMenu.Name = "ListContextSelectAllMenu";
this.ListContextSelectAllMenu.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.A))); this.ListContextSelectAllMenu.ShortcutKeys = ((System.Windows.Forms.Keys)((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.A)));
this.ListContextSelectAllMenu.Size = new System.Drawing.Size(207, 22); this.ListContextSelectAllMenu.Size = new System.Drawing.Size(220, 22);
this.ListContextSelectAllMenu.Text = "Select All"; this.ListContextSelectAllMenu.Text = "Select All";
this.ListContextSelectAllMenu.Click += new System.EventHandler(this.ListContextSelectAllMenu_Click); this.ListContextSelectAllMenu.Click += new System.EventHandler(this.ListContextSelectAllMenu_Click);
// //
@ -1122,13 +1131,13 @@
this.TreeContextCollapseMenu, this.TreeContextCollapseMenu,
this.TreeContextCollapseAllMenu}); this.TreeContextCollapseAllMenu});
this.TreeContextMenu.Name = "MainContextMenu"; this.TreeContextMenu.Name = "MainContextMenu";
this.TreeContextMenu.Size = new System.Drawing.Size(214, 120); this.TreeContextMenu.Size = new System.Drawing.Size(232, 120);
// //
// TreeContextCopyPathMenu // TreeContextCopyPathMenu
// //
this.TreeContextCopyPathMenu.Image = ((System.Drawing.Image)(resources.GetObject("TreeContextCopyPathMenu.Image"))); this.TreeContextCopyPathMenu.Image = ((System.Drawing.Image)(resources.GetObject("TreeContextCopyPathMenu.Image")));
this.TreeContextCopyPathMenu.Name = "TreeContextCopyPathMenu"; this.TreeContextCopyPathMenu.Name = "TreeContextCopyPathMenu";
this.TreeContextCopyPathMenu.Size = new System.Drawing.Size(213, 22); this.TreeContextCopyPathMenu.Size = new System.Drawing.Size(231, 22);
this.TreeContextCopyPathMenu.Text = "Copy Path"; this.TreeContextCopyPathMenu.Text = "Copy Path";
this.TreeContextCopyPathMenu.Click += new System.EventHandler(this.TreeContextCopyPathMenu_Click); this.TreeContextCopyPathMenu.Click += new System.EventHandler(this.TreeContextCopyPathMenu_Click);
// //
@ -1136,33 +1145,33 @@
// //
this.TreeContextWinExplorerMenu.Image = ((System.Drawing.Image)(resources.GetObject("TreeContextWinExplorerMenu.Image"))); this.TreeContextWinExplorerMenu.Image = ((System.Drawing.Image)(resources.GetObject("TreeContextWinExplorerMenu.Image")));
this.TreeContextWinExplorerMenu.Name = "TreeContextWinExplorerMenu"; this.TreeContextWinExplorerMenu.Name = "TreeContextWinExplorerMenu";
this.TreeContextWinExplorerMenu.Size = new System.Drawing.Size(213, 22); this.TreeContextWinExplorerMenu.Size = new System.Drawing.Size(231, 22);
this.TreeContextWinExplorerMenu.Text = "Show in Windows Explorer"; this.TreeContextWinExplorerMenu.Text = "Show in Windows Explorer";
this.TreeContextWinExplorerMenu.Click += new System.EventHandler(this.TreeContextWinExplorerMenu_Click); this.TreeContextWinExplorerMenu.Click += new System.EventHandler(this.TreeContextWinExplorerMenu_Click);
// //
// toolStripSeparator8 // toolStripSeparator8
// //
this.toolStripSeparator8.Name = "toolStripSeparator8"; this.toolStripSeparator8.Name = "toolStripSeparator8";
this.toolStripSeparator8.Size = new System.Drawing.Size(210, 6); this.toolStripSeparator8.Size = new System.Drawing.Size(228, 6);
// //
// TreeContextExpandMenu // TreeContextExpandMenu
// //
this.TreeContextExpandMenu.Name = "TreeContextExpandMenu"; this.TreeContextExpandMenu.Name = "TreeContextExpandMenu";
this.TreeContextExpandMenu.Size = new System.Drawing.Size(213, 22); this.TreeContextExpandMenu.Size = new System.Drawing.Size(231, 22);
this.TreeContextExpandMenu.Text = "Expand"; this.TreeContextExpandMenu.Text = "Expand";
this.TreeContextExpandMenu.Click += new System.EventHandler(this.TreeContextExpandMenu_Click); this.TreeContextExpandMenu.Click += new System.EventHandler(this.TreeContextExpandMenu_Click);
// //
// TreeContextCollapseMenu // TreeContextCollapseMenu
// //
this.TreeContextCollapseMenu.Name = "TreeContextCollapseMenu"; this.TreeContextCollapseMenu.Name = "TreeContextCollapseMenu";
this.TreeContextCollapseMenu.Size = new System.Drawing.Size(213, 22); this.TreeContextCollapseMenu.Size = new System.Drawing.Size(231, 22);
this.TreeContextCollapseMenu.Text = "Collapse"; this.TreeContextCollapseMenu.Text = "Collapse";
this.TreeContextCollapseMenu.Click += new System.EventHandler(this.TreeContextCollapseMenu_Click); this.TreeContextCollapseMenu.Click += new System.EventHandler(this.TreeContextCollapseMenu_Click);
// //
// TreeContextCollapseAllMenu // TreeContextCollapseAllMenu
// //
this.TreeContextCollapseAllMenu.Name = "TreeContextCollapseAllMenu"; this.TreeContextCollapseAllMenu.Name = "TreeContextCollapseAllMenu";
this.TreeContextCollapseAllMenu.Size = new System.Drawing.Size(213, 22); this.TreeContextCollapseAllMenu.Size = new System.Drawing.Size(231, 22);
this.TreeContextCollapseAllMenu.Text = "Collapse All"; this.TreeContextCollapseAllMenu.Text = "Collapse All";
this.TreeContextCollapseAllMenu.Click += new System.EventHandler(this.TreeContextCollapseAllMenu_Click); this.TreeContextCollapseAllMenu.Click += new System.EventHandler(this.TreeContextCollapseAllMenu_Click);
// //
@ -1230,7 +1239,6 @@
private System.Windows.Forms.ToolStripSeparator toolStripSeparator1; private System.Windows.Forms.ToolStripSeparator toolStripSeparator1;
private System.Windows.Forms.ToolStripTextBox SearchTextBox; private System.Windows.Forms.ToolStripTextBox SearchTextBox;
private System.Windows.Forms.SplitContainer MainSplitContainer; private System.Windows.Forms.SplitContainer MainSplitContainer;
private System.Windows.Forms.TreeView MainTreeView;
private System.Windows.Forms.ListView MainListView; private System.Windows.Forms.ListView MainListView;
private System.Windows.Forms.ColumnHeader MainNameColumnHeader; private System.Windows.Forms.ColumnHeader MainNameColumnHeader;
private System.Windows.Forms.ColumnHeader MainTypeColumnHeader; private System.Windows.Forms.ColumnHeader MainTypeColumnHeader;
@ -1326,5 +1334,7 @@
private System.Windows.Forms.ToolStripMenuItem ViewThemeDarkMenu; private System.Windows.Forms.ToolStripMenuItem ViewThemeDarkMenu;
private WeifenLuo.WinFormsUI.Docking.VisualStudioToolStripExtender VSExtender; private WeifenLuo.WinFormsUI.Docking.VisualStudioToolStripExtender VSExtender;
private System.Windows.Forms.ToolStripMenuItem ViewThemeWindowsMenu; private System.Windows.Forms.ToolStripMenuItem ViewThemeWindowsMenu;
private System.Windows.Forms.ToolStripMenuItem favoritesToolStripMenuItem;
private System.Windows.Forms.TreeView MainTreeView;
} }
} }

View File

@ -16,6 +16,7 @@ using System.Threading.Tasks;
using System.Windows.Forms; using System.Windows.Forms;
using System.Xml; using System.Xml;
using WeifenLuo.WinFormsUI.Docking; using WeifenLuo.WinFormsUI.Docking;
using CodeWalker.Explorer;
namespace CodeWalker namespace CodeWalker
{ {
@ -46,6 +47,8 @@ namespace CodeWalker
private bool EditMode = false; private bool EditMode = false;
private List<string> FavoritesList = new List<string>();
public ThemeBase Theme { get; private set; } public ThemeBase Theme { get; private set; }
@ -139,6 +142,7 @@ namespace CodeWalker
return; return;
} }
LoadFavorites();
Task.Run(() => Task.Run(() =>
{ {
@ -180,6 +184,87 @@ namespace CodeWalker
}); });
} }
private void AddFavoriteItem(string text)
{
ToolStripMenuItem item = new ToolStripMenuItem();
item.Text = text;
item.Click += new EventHandler(FavoritesItem_Click);
favoritesToolStripMenuItem.DropDownItems.Insert(favoritesToolStripMenuItem.DropDownItems.Count, item);
}
private void FavoritesItem_Click(object sender, EventArgs e)
{
ToolStripMenuItem FavItem = sender as ToolStripMenuItem;
Navigate(FavItem.Text);
}
public void LoadFavorites()
{
favoritesToolStripMenuItem.DropDownItems.Clear();
ToolStripMenuItem AddToFavItem = new ToolStripMenuItem();
AddToFavItem.Text = "Add To Favorites";
AddToFavItem.Click += new EventHandler(addToFavToolStripMenuItem_Click);
favoritesToolStripMenuItem.DropDownItems.Add(AddToFavItem);
ToolStripMenuItem OrganizeFavItem = new ToolStripMenuItem();
OrganizeFavItem.Text = "Organize Favorites";
OrganizeFavItem.Click += new EventHandler(organizeFavoritesMenuItem_Click);
favoritesToolStripMenuItem.DropDownItems.Add(OrganizeFavItem);
favoritesToolStripMenuItem.DropDownItems.Add("-");
XmlDocument xDoc = new XmlDocument();
xDoc.Load(@"C:\Users\Skyler\Documents\GitHub\CodeWalker\Resources\Favorites.xml");
XmlNodeList FavoriteNodes = xDoc.DocumentElement.SelectNodes("Favorite");
foreach(XmlNode FavNode in FavoriteNodes)
{
AddFavoriteItem(FavNode.InnerText);
}
}
private void addToFavToolStripMenuItem_Click(object sender, EventArgs e)
{
if(LocationTextBox.Text != "")
{
XmlDocument xDoc = new XmlDocument();
xDoc.Load(@"C:\Users\Skyler\Documents\GitHub\CodeWalker\Resources\Favorites.xml");
XmlNode FavToAdd = xDoc.CreateElement("Favorite");
FavToAdd.InnerText = LocationTextBox.Text;
xDoc.DocumentElement.AppendChild(FavToAdd);
xDoc.Save(@"C:\Users\Skyler\Documents\GitHub\CodeWalker\Resources\Favorites.xml");
LoadFavorites();
}
else
{
MessageBox.Show("Must be out of root folder to add a favorite.", "Error");
}
}
private void organizeFavoritesMenuItem_Click(object sender, EventArgs e)
{
Form f = new OrganizeFavorites(this);
FormTheme.SetTheme(f, Theme);
f.Show();
}
private void InitFileCache() private void InitFileCache()
{ {
Task.Run(() => Task.Run(() =>
@ -451,6 +536,7 @@ namespace CodeWalker
RefreshButton.Enabled = true; RefreshButton.Enabled = true;
SearchButton.Enabled = true; SearchButton.Enabled = true;
EditModeButton.Enabled = true; EditModeButton.Enabled = true;
favoritesToolStripMenuItem.Enabled = true;
} }
public void GoUp(MainTreeFolder toFolder = null) public void GoUp(MainTreeFolder toFolder = null)

View File

@ -217,7 +217,7 @@
<data name="BackButton.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> <data name="BackButton.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value> <value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAADNSURBVDhPtZPBDYMwEARdSmpxJamDAvhTQ3iHEvL2i1JM YQUAAAAJcEhZcwAADuoAAA7qAaOKY3EAAADNSURBVDhPtZPBDYMwEARdSmpxJamDAvhTQ3iHEvL2i1JM
Hoan43EOCR8osYKy0kro9nZlnw+jsSzLNYTwmOc5bkkNTdr2SOIlNY7Oudg0TbTWFqSGRg+9YntDzL5t Hoan43EOCR8osYKy0kro9nZlnw+jsSzLNYTwmOc5bkkNTdr2SOIlNY7Oudg0TbTWFqSGRg+9YntDzL5t
251Rs+s6QnwRQirCkeGIEjJmM/fiaLppuA9x8s9MvrWOB69hOPrO38wQD16OXwg15pV4i4Ct+RP/F6BD 251Rs+s6QnwRQirCkeGIEjJmM/fiaLppuA9x8s9MvrWOB69hOPrO38wQD16OXwg15pV4i4Ct+RP/F6BD
+ltfaJo54PQQTz8jSEcZa7ZwZbFIgLVMBV+zjYerDCTkt59pC+7FcFJjnvJKamjSJjDmBbRcUoRy09fK +ltfaJo54PQQTz8jSEcZa7ZwZbFIgLVMBV+zjYerDCTkt59pC+7FcFJjnvJKamjSJjDmBbRcUoRy09fK
@ -227,7 +227,7 @@
<data name="ForwardButton.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> <data name="ForwardButton.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value> <value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAADISURBVDhPrZPBDcMgEAQpJbVQSeqgAP/dSFxC3rxcCskD YQUAAAAJcEhZcwAADuoAAA7qAaOKY3EAAADISURBVDhPrZPBDcMgEAQpJbVQSeqgAP/dSFxC3rxcCskD
eBKGnCWDkW3FWWml6G53xZ0vqkWM8e69f4YQ0prU6Ilsi9y8ZeFsrU3GmKS1rkiNHhq0YvtCzG4Yho2x eBKGnCWDkW3FWWml6G53xZ0vqkWM8e69f4YQ0prU6Ilsi9y8ZeFsrU3GmKS1rkiNHhq0YvtCzG4Yho2x
5TiOhLgqhFQaPUOPEjIXM3PxtFY0Pab0cu9Cfrd9PHgVy+nNDPdC8ODl+VWj5V4I3ipgEe5xHfL/gB4P 5TiOhLgqhFQaPUOPEjIXM3PxtFY0Pab0cu9Cfrd9PHgVy+nNDPdC8ODl+VWj5V4I3ipgEe5xHfL/gB4P
R7i8xMufEeSnzGeucGF1SICzzAV35hq7pwwk5Lc/0xrMxXKysGx5ITV6IhMo9QHkNlKlha2WkwAAAABJ R7i8xMufEeSnzGeucGF1SICzzAV35hq7pwwk5Lc/0xrMxXKysGx5ITV6IhMo9QHkNlKlha2WkwAAAABJ
@ -237,7 +237,7 @@
<data name="UpButton.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> <data name="UpButton.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value> <value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAB/SURBVDhPtZFRCsAgDEM9m4fzGjtl/d2INBBm3SxsgUBX YQUAAAAJcEhZcwAADuoAAA7qAaOKY3EAAAB/SURBVDhPtZFRCsAgDEM9m4fzGjtl/d2INBBm3SxsgUBX
kzfQ8qvM7ID9MycUe+8nnIaw3FobTkG0XGsd3oZE5RRkVaYJ8fgsHGo4mrcA/JOWCHkFsHwH6JnHZzHI kzfQ8qvM7ID9MycUe+8nnIaw3FobTkG0XGsd3oZE5RRkVaYJ8fgsHGo4mrcA/JOWCHkFsHwH6JnHZzHI
y1QAd7DHZzHIWQHYEYI5lD5RBIA086gVYFsoqX39tUq5AMi8L6aOTq28AAAAAElFTkSuQmCC y1QAd7DHZzHIWQHYEYI5lD5RBIA086gVYFsoqX39tUq5AMi8L6aOTq28AAAAAElFTkSuQmCC
</value> </value>
@ -245,7 +245,7 @@
<data name="GoButton.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> <data name="GoButton.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value> <value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAABOSURBVDhPYxhm4OvXr/O/ffv2HxsGyUGV4QcwQ9ra2v47 YQUAAAAJcEhZcwAADuoAAA7qAaOKY3EAAABOSURBVDhPYxhm4OvXr/O/ffv2HxsGyUGV4QcwQ9ra2v47
OTmBMYhNW0NAErgwUYaABGGKCGGshlDFAFyYKC+gA5CCgdWMDRPUPFQBAwMAwxIvpmCwEUkAAAAASUVO OTmBMYhNW0NAErgwUYaABGGKCGGshlDFAFyYKC+gA5CCgdWMDRPUPFQBAwMAwxIvpmCwEUkAAAAASUVO
RK5CYII= RK5CYII=
</value> </value>
@ -253,7 +253,7 @@
<data name="RefreshButton.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> <data name="RefreshButton.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value> <value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAD9SURBVDhPrZM9joQwDIVzhDnKnIGTbEHPHGErenrOQk81 YQUAAAAJcEhZcwAADuoAAA7qAaOKY3EAAAD9SURBVDhPrZM9joQwDIVzhDnKnIGTbEHPHGErenrOQk81
Df0cgCIFfyXDN/FDiQa0QlpLTyG234vtBPdvNo7jfZ5nv2E9wjAMr2mafi09NZHLslyzLEsAmTXP87Vp Df0cgCIFfyXDN/FDiQa0QlpLTyG234vtBPdvNo7jfZ5nv2E9wjAMr2mafi09NZHLslyzLEsAmTXP87Vp
GvZP7/3NqMHOyEACQlVVHxGjBiOpbdu1KIokGRDjZCqQj/3WzsPozi3L8oNTCXEyAqDv+93PykyM7hyb GvZP7/3NqMHOyEACQlVVHxGjBiOpbdu1KIokGRDjZCqQj/3WzsPozi3L8oNTCXEyAqDv+93PykyM7hyb
OEgy37QlAVUSCxs9tKCADeqLDGjzT4Gu676IErtUgaDbuTwDCUhYccAhyS2wicsjWZXIJ9R1vYsbPdjm OEgy37QlAVUSCxs9tKCADeqLDGjzT4Gu676IErtUgaDbuTwDCUhYccAhyS2wicsjWZXIJ9R1vYsbPdjm
@ -263,7 +263,7 @@
<data name="EditModeButton.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> <data name="EditModeButton.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value> <value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAGKSURBVDhPjZM7T8JQFMfP4GpiGFhcGBwddPBVkBK0kKhR YQUAAAAJcEhZcwAADuoAAA7qAaOKY3EAAAGKSURBVDhPjZM7T8JQFMfP4GpiGFhcGBwddPBVkBK0kKhR
J8UoD4OoRGTxMRs3EyYHE2N8EF0wJiwuBhUTwecAH8DvwODe4z3tQSi3GP/JSZt7z+93e9tbsEswGPRp J8UoD4OoRGTxMRs3EyYHE2N8EF0wJiwuBhUTwecAH8DvwODe4z3tQSi3GP/JSZt7z+93e9tbsEswGPRp
mlYUV6Sie1F9PN0+otkVCATOCRqYXUdnLIvlEx/uJMYNEc+5uL0RXq1CTd6pEHZHjxFSHwgb76g/eUS5 mlYUV6Sie1F9PN0+otkVCATOCRqYXUdnLIvlEx/uJMYNEc+5uL0RXq1CTd6pEHZHjxFSHwgb76g/eUS5
8e5QxcicZoiolxjGjZWxZ/EAHSvXCJsCZBiSJHCjXlTMehzB6oUHL/dVQ8S4KYD0pwRD8s0C6w/DZt0P 8e5QxcicZoiolxjGjZWxZ/EAHSvXCJsCZBiSJHCjXlTMehzB6oUHL/dVQ8S4KYD0pwRD8s0C6w/DZt0P
@ -295,7 +295,7 @@
<data name="SearchButton.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> <data name="SearchButton.Image" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value> <value>
iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8 iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAADVSURBVDhPpVIxDoMwDORJfQN7pI5hz1pmytSJ7/EFhrYZ YQUAAAAJcEhZcwAADuoAAA7qAaOKY3EAAADVSURBVDhPpVIxDoMwDORJfQN7pI5hz1pmytSJ7/EFhrYZ
MqSVgDXlIhslaoga9aQTsn1nOyFVDsuynNd1HTe6gCPyJDnGJrpN0+T6vnd1Xe9EjDzqJP0GJkAkhIjM MqSVgDXlIhslaoga9aQTsn1nOyFVDsuynNd1HTe6gCPyJDnGJrpN0+T6vnd1Xe9EjDzqJP0GJkAkhIjM
TOSpSXoTrMmTu+7qHvene9m3/7aX1udRh44sMXBWnsZmJmKuQUeWGFiPRaGZKaXMN/hrg3meTygopbyo TOSpSXoTrMmTu+7qHvene9m3/7aX1udRh44sMXBWnsZmJmKuQUeWGFiPRaGZKaXMN/hrg3meTygopbyo
6A7IbIdh2KekmPwLR+amaaI4+Q6OzDiGMcafNWD8EnNmrbVFnaRppBr8bGaETYrNDG4CFpsZMJaZq+oD 6A7IbIdh2KekmPwLR+amaaI4+Q6OzDiGMcafNWD8EnNmrbVFnaRppBr8bGaETYrNDG4CFpsZMJaZq+oD
@ -313,7 +313,7 @@
AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj00LjAuMC4w AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj00LjAuMC4w
LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACZTeXN0 LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACZTeXN0
ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAADo ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAADo
HwAAAk1TRnQBSQFMAgEBGAEAARgBAQEYAQEBEAEAARABAAT/AQkBAAj/AUIBTQE2AQQGAAE2AQQCAAEo HwAAAk1TRnQBSQFMAgEBGAEAATABAQEwAQEBEAEAARABAAT/AQkBAAj/AUIBTQE2AQQGAAE2AQQCAAEo
AwABQAMAAXADAAEBAQABCAYAARwYAAGAAgABgAMAAoABAAGAAwABgAEAAYABAAKAAgADwAEAAcAB3AHA AwABQAMAAXADAAEBAQABCAYAARwYAAGAAgABgAMAAoABAAGAAwABgAEAAYABAAKAAgADwAEAAcAB3AHA
AQAB8AHKAaYBAAEzBQABMwEAATMBAAEzAQACMwIAAxYBAAMcAQADIgEAAykBAANVAQADTQEAA0IBAAM5 AQAB8AHKAaYBAAEzBQABMwEAATMBAAEzAQACMwIAAxYBAAMcAQADIgEAAykBAANVAQADTQEAA0IBAAM5
AQABgAF8Af8BAAJQAf8BAAGTAQAB1gEAAf8B7AHMAQABxgHWAe8BAAHWAucBAAGQAakBrQIAAf8BMwMA AQABgAF8Af8BAAJQAf8BAAGTAQAB1gEAAf8B7AHMAQABxgHWAe8BAAHWAucBAAGQAakBrQIAAf8BMwMA

112
Explorer/OrganizeFavorites.Designer.cs generated Normal file
View File

@ -0,0 +1,112 @@
namespace CodeWalker.Explorer
{
partial class OrganizeFavorites
{
/// <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.Windows.Forms.TreeNode treeNode1 = new System.Windows.Forms.TreeNode("Favorites");
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(OrganizeFavorites));
this.SaveButton = new System.Windows.Forms.Button();
this.RemoveFavoriteButton = new System.Windows.Forms.Button();
this.ClearAllFavoritesButton = new System.Windows.Forms.Button();
this.FavoritesTreeView = new System.Windows.Forms.TreeView();
this.SuspendLayout();
//
// SaveButton
//
this.SaveButton.DialogResult = System.Windows.Forms.DialogResult.Cancel;
this.SaveButton.Location = new System.Drawing.Point(417, 439);
this.SaveButton.Name = "SaveButton";
this.SaveButton.Size = new System.Drawing.Size(75, 23);
this.SaveButton.TabIndex = 1;
this.SaveButton.Text = "Save";
this.SaveButton.UseVisualStyleBackColor = true;
this.SaveButton.Click += new System.EventHandler(this.SaveButton_Click);
//
// RemoveFavoriteButton
//
this.RemoveFavoriteButton.DialogResult = System.Windows.Forms.DialogResult.Cancel;
this.RemoveFavoriteButton.Location = new System.Drawing.Point(322, 439);
this.RemoveFavoriteButton.Name = "RemoveFavoriteButton";
this.RemoveFavoriteButton.Size = new System.Drawing.Size(75, 23);
this.RemoveFavoriteButton.TabIndex = 2;
this.RemoveFavoriteButton.Text = "Remove";
this.RemoveFavoriteButton.UseVisualStyleBackColor = true;
this.RemoveFavoriteButton.Click += new System.EventHandler(this.RemoveFavoriteButton_Click);
//
// ClearAllFavoritesButton
//
this.ClearAllFavoritesButton.DialogResult = System.Windows.Forms.DialogResult.Cancel;
this.ClearAllFavoritesButton.Location = new System.Drawing.Point(224, 439);
this.ClearAllFavoritesButton.Name = "ClearAllFavoritesButton";
this.ClearAllFavoritesButton.Size = new System.Drawing.Size(75, 23);
this.ClearAllFavoritesButton.TabIndex = 3;
this.ClearAllFavoritesButton.Text = "Clear";
this.ClearAllFavoritesButton.UseVisualStyleBackColor = true;
this.ClearAllFavoritesButton.Click += new System.EventHandler(this.ClearAllFavoritesButton_Click);
//
// FavoritesTreeView
//
this.FavoritesTreeView.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)));
this.FavoritesTreeView.Location = new System.Drawing.Point(12, 12);
this.FavoritesTreeView.Name = "FavoritesTreeView";
treeNode1.Name = "FavoritesRootNode";
treeNode1.Text = "Favorites";
this.FavoritesTreeView.Nodes.AddRange(new System.Windows.Forms.TreeNode[] {
treeNode1});
this.FavoritesTreeView.ShowLines = false;
this.FavoritesTreeView.Size = new System.Drawing.Size(480, 406);
this.FavoritesTreeView.TabIndex = 4;
//
// OrganizeFavorites
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(504, 474);
this.Controls.Add(this.FavoritesTreeView);
this.Controls.Add(this.ClearAllFavoritesButton);
this.Controls.Add(this.RemoveFavoriteButton);
this.Controls.Add(this.SaveButton);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.Name = "OrganizeFavorites";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
this.Text = "OrganizeFavorites";
this.ResumeLayout(false);
}
#endregion
private System.Windows.Forms.Button SaveButton;
private System.Windows.Forms.Button RemoveFavoriteButton;
private System.Windows.Forms.Button ClearAllFavoritesButton;
private System.Windows.Forms.TreeView FavoritesTreeView;
}
}

View File

@ -0,0 +1,70 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Xml;
namespace CodeWalker.Explorer
{
public partial class OrganizeFavorites : Form
{
public ExploreForm ExploreForm { get; set; }
private XmlDocument xDoc = new XmlDocument();
private XmlNodeList FavoriteNodes;
private XmlNode Root;
public OrganizeFavorites(ExploreForm exploreform)
{
ExploreForm = exploreform;
InitializeComponent();
Init();
}
private void Init()
{
xDoc.Load(@"C:\Users\Skyler\Documents\GitHub\CodeWalker\Resources\Favorites.xml");
FavoriteNodes = xDoc.DocumentElement.SelectNodes("Favorite");
Root = xDoc.DocumentElement;
foreach (XmlNode FavNode in FavoriteNodes)
{
FavoritesTreeView.Nodes[0].Nodes.Add(FavNode.InnerText);
}
FavoritesTreeView.ExpandAll();
}
private void ClearAllFavoritesButton_Click(object sender, EventArgs e)
{
FavoritesTreeView.Nodes[0].Nodes.Clear();
Root.RemoveAll();
}
private void RemoveFavoriteButton_Click(object sender, EventArgs e)
{
if (FavoritesTreeView.SelectedNode.Index == 0) return;
string FavoriteToDelete = FavoritesTreeView.SelectedNode.Text;
FavoritesTreeView.SelectedNode.Remove();
foreach (XmlNode FavNode in FavoriteNodes)
{
if(FavNode.InnerText == FavoriteToDelete)
{
Root.RemoveChild(FavNode);
}
}
}
private void SaveButton_Click(object sender, EventArgs e)
{
xDoc.Save(@"C:\Users\Skyler\Documents\GitHub\CodeWalker\Resources\Favorites.xml");
ExploreForm.LoadFavorites();
Close();
}
}
}

View File

@ -0,0 +1,140 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
AAABAAEAEBAAAAAAGABoAwAAFgAAACgAAAAQAAAAIAAAAAEAGAAAAAAAAAMAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAD////r7/3y9f7///8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD///+P
lce/xeb///8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD///+Ah7a0utv/////////
//////////8AAAAAAAAAAAD////x9P73+v7///////////+Mk8K6weH////s8Pu6wOj9/f////8AAAAA
AAAAAAD///+epdgZHILl6/z///////+NlMPIzuj///8rL41larT///////8AAAAAAAAAAAD////w9P9I
T6bAxuv///////+stNne5PP///96gMfv8/3///8AAAAAAAAAAAAAAAAAAAD////////////////M0/Fe
Z7NUXK3c4fX///////////8AAAAAAAAAAAAAAAAAAAD////////+/v+osd55gcRbYbZncLtPVqmwueP7
/f/6/P/4+v/9/f8AAAAAAAAAAADo7fx+iNBSXLJKUqhxfsETGoRWYbOIk9QLDXNaYK5udr9kbLjv8/4A
AAD////////y9v3Cye66w+uPleA2PqM1PpmJlNF9h8tYX7LO1fLq7/zz9v7///8AAAD////j6fnf5Pf/
///////j6f+Lkd8rMplteMWDjNHw9Pz////l6vq4v+j4+v8AAADq7/4+Q520u+T////////////1+P/v
9P7m6/v6+//////////a4foYGYShqNkAAADw8/3i5/n////4+v9jarba4Pf////h5/j9/v/9/v9YXrHC
yev////y9v3q7vwAAAAAAAAAAAD////K0e9LUaf9/v/7/P82OozT2O////9PVqlqcLv///8AAAAAAAAA
AAAAAAAAAAAAAAD2+P76+//////7/P+VndXh5vj////7/P/09/8AAAAAAAAAAAAAAAD//wAA/D8AAPw/
AAD8AwAAgAMAAIADAACABwAAwAcAAMABAADAAQAAAAEAAAABAAAAAQAAAAEAAMAHAADgDwAA
</value>
</data>
</root>

3
Resources/Favorites.xml Normal file
View File

@ -0,0 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<RpfFavorites>
</RpfFavorites>