| Line 6... |
Line 6... |
| 6 |
using namespace System::Windows::Forms;
|
6 |
using namespace System::Windows::Forms;
|
| 7 |
using namespace System::Data;
|
7 |
using namespace System::Data;
|
| 8 |
using namespace System::Drawing;
|
8 |
using namespace System::Drawing;
|
| 9 |
|
9 |
|
| 10 |
enum {MENUEVENT_REMOVEDIR, MENUEVENT_EXIT, MENUEVENT_PACKAGEUPDATE, MENUEVENT_FAKEPATCHCONTROL, MENUEVENT_FAKEPATCHCOMPAT, MENUEVENT_EDITGLOBAL, MENUEVENT_EDITWARES, MENUEVENT_ABOUT,
|
10 |
enum {MENUEVENT_REMOVEDIR, MENUEVENT_EXIT, MENUEVENT_PACKAGEUPDATE, MENUEVENT_FAKEPATCHCONTROL, MENUEVENT_FAKEPATCHCOMPAT, MENUEVENT_EDITGLOBAL, MENUEVENT_EDITWARES, MENUEVENT_ABOUT,
|
| 11 |
MENUEVENT_FILELOG, MENUEVENT_FINDPACKAGE, MENUEVENT_SAVEGAMEMANAGER, MENUEVENT_INSTALLARCHIVE, MENUEVENT_EXPORTPACKAGE, MENUEVENT_VERIFYFILES};
|
11 |
MENUEVENT_FILELOG, MENUEVENT_FINDPACKAGE, MENUEVENT_SAVEGAMEMANAGER, MENUEVENT_INSTALLARCHIVE, MENUEVENT_EXPORTPACKAGE, MENUEVENT_VERIFYFILES, MENUEVENT_COMMANDSLOTS};
|
| 12 |
|
12 |
|
| 13 |
namespace PluginManager {
|
13 |
namespace PluginManager {
|
| 14 |
|
14 |
|
| 15 |
/// <summary>
|
15 |
/// <summary>
|
| 16 |
/// Summary for MenuBar
|
16 |
/// Summary for MenuBar
|
| Line 92... |
Line 92... |
| 92 |
private: System::Windows::Forms::ToolStripMenuItem^ installArchiveToolStripMenuItem;
|
92 |
private: System::Windows::Forms::ToolStripMenuItem^ installArchiveToolStripMenuItem;
|
| 93 |
private: System::Windows::Forms::ToolStripMenuItem^ exportPackageListToolStripMenuItem;
|
93 |
private: System::Windows::Forms::ToolStripMenuItem^ exportPackageListToolStripMenuItem;
|
| 94 |
private: System::Windows::Forms::ToolStripSeparator^ toolStripSeparator6;
|
94 |
private: System::Windows::Forms::ToolStripSeparator^ toolStripSeparator6;
|
| 95 |
private: System::Windows::Forms::ToolStripMenuItem^ veryInstalledFilesToolStripMenuItem;
|
95 |
private: System::Windows::Forms::ToolStripMenuItem^ veryInstalledFilesToolStripMenuItem;
|
| 96 |
private: System::Windows::Forms::ToolStripMenuItem^ viewUsedWaresToolStripMenuItem;
|
96 |
private: System::Windows::Forms::ToolStripMenuItem^ viewUsedWaresToolStripMenuItem;
|
| - |
|
97 |
private: System::Windows::Forms::ToolStripMenuItem^ viewCommandSlotsToolStripMenuItem;
|
| 97 |
|
98 |
|
| 98 |
private: System::Windows::Forms::ToolStripMenuItem^ exitToolStripMenuItem;
|
99 |
private: System::Windows::Forms::ToolStripMenuItem^ exitToolStripMenuItem;
|
| 99 |
|
100 |
|
| 100 |
private:
|
101 |
private:
|
| 101 |
void ViewFakePatchs();
|
102 |
void ViewFakePatchs();
|
| Line 140... |
Line 141... |
| 140 |
this->fakePatchControlToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
|
141 |
this->fakePatchControlToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
|
| 141 |
this->checkFakePatchCompatabilityToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
|
142 |
this->checkFakePatchCompatabilityToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
|
| 142 |
this->viewFakePatchAssignmentToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
|
143 |
this->viewFakePatchAssignmentToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
|
| 143 |
this->toolStripSeparator4 = (gcnew System::Windows::Forms::ToolStripSeparator());
|
144 |
this->toolStripSeparator4 = (gcnew System::Windows::Forms::ToolStripSeparator());
|
| 144 |
this->editGlobalsToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
|
145 |
this->editGlobalsToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
|
| - |
|
146 |
this->viewUsedWaresToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
|
| 145 |
this->toolStripSeparator6 = (gcnew System::Windows::Forms::ToolStripSeparator());
|
147 |
this->toolStripSeparator6 = (gcnew System::Windows::Forms::ToolStripSeparator());
|
| 146 |
this->veryInstalledFilesToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
|
148 |
this->veryInstalledFilesToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
|
| 147 |
this->helpToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
|
149 |
this->helpToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
|
| 148 |
this->aboutToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
|
150 |
this->aboutToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
|
| 149 |
this->toolStripSeparator5 = (gcnew System::Windows::Forms::ToolStripSeparator());
|
151 |
this->toolStripSeparator5 = (gcnew System::Windows::Forms::ToolStripSeparator());
|
| 150 |
this->viewFileLogToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
|
152 |
this->viewFileLogToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
|
| 151 |
this->exportPackageListToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
|
153 |
this->exportPackageListToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
|
| 152 |
this->viewUsedWaresToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
|
154 |
this->viewCommandSlotsToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
|
| 153 |
this->menuStrip1->SuspendLayout();
|
155 |
this->menuStrip1->SuspendLayout();
|
| 154 |
this->SuspendLayout();
|
156 |
this->SuspendLayout();
|
| 155 |
//
|
157 |
//
|
| 156 |
// menuStrip1
|
158 |
// menuStrip1
|
| 157 |
//
|
159 |
//
|
| Line 307... |
Line 309... |
| 307 |
this->findPackagesOnlineToolStripMenuItem->Text = L"Find Packages Online";
|
309 |
this->findPackagesOnlineToolStripMenuItem->Text = L"Find Packages Online";
|
| 308 |
this->findPackagesOnlineToolStripMenuItem->Click += gcnew System::EventHandler(this, &MenuBar::findPackagesOnlineToolStripMenuItem_Click);
|
310 |
this->findPackagesOnlineToolStripMenuItem->Click += gcnew System::EventHandler(this, &MenuBar::findPackagesOnlineToolStripMenuItem_Click);
|
| 309 |
//
|
311 |
//
|
| 310 |
// advancedToolStripMenuItem
|
312 |
// advancedToolStripMenuItem
|
| 311 |
//
|
313 |
//
|
| 312 |
this->advancedToolStripMenuItem->DropDownItems->AddRange(gcnew cli::array< System::Windows::Forms::ToolStripItem^ >(8) {this->fakePatchControlToolStripMenuItem,
|
314 |
this->advancedToolStripMenuItem->DropDownItems->AddRange(gcnew cli::array< System::Windows::Forms::ToolStripItem^ >(9) {this->fakePatchControlToolStripMenuItem,
|
| 313 |
this->checkFakePatchCompatabilityToolStripMenuItem, this->viewFakePatchAssignmentToolStripMenuItem, this->toolStripSeparator4,
|
315 |
this->checkFakePatchCompatabilityToolStripMenuItem, this->viewFakePatchAssignmentToolStripMenuItem, this->toolStripSeparator4,
|
| 314 |
this->editGlobalsToolStripMenuItem, this->viewUsedWaresToolStripMenuItem, this->toolStripSeparator6, this->veryInstalledFilesToolStripMenuItem});
|
316 |
this->editGlobalsToolStripMenuItem, this->viewUsedWaresToolStripMenuItem, this->viewCommandSlotsToolStripMenuItem, this->toolStripSeparator6,
|
| - |
|
317 |
this->veryInstalledFilesToolStripMenuItem});
|
| 315 |
this->advancedToolStripMenuItem->Name = L"advancedToolStripMenuItem";
|
318 |
this->advancedToolStripMenuItem->Name = L"advancedToolStripMenuItem";
|
| 316 |
this->advancedToolStripMenuItem->Size = System::Drawing::Size(72, 20);
|
319 |
this->advancedToolStripMenuItem->Size = System::Drawing::Size(72, 20);
|
| 317 |
this->advancedToolStripMenuItem->Text = L"Advanced";
|
320 |
this->advancedToolStripMenuItem->Text = L"Advanced";
|
| 318 |
//
|
321 |
//
|
| 319 |
// fakePatchControlToolStripMenuItem
|
322 |
// fakePatchControlToolStripMenuItem
|
| Line 351... |
Line 354... |
| 351 |
this->editGlobalsToolStripMenuItem->Name = L"editGlobalsToolStripMenuItem";
|
354 |
this->editGlobalsToolStripMenuItem->Name = L"editGlobalsToolStripMenuItem";
|
| 352 |
this->editGlobalsToolStripMenuItem->Size = System::Drawing::Size(245, 22);
|
355 |
this->editGlobalsToolStripMenuItem->Size = System::Drawing::Size(245, 22);
|
| 353 |
this->editGlobalsToolStripMenuItem->Text = L"Edit Game Globals";
|
356 |
this->editGlobalsToolStripMenuItem->Text = L"Edit Game Globals";
|
| 354 |
this->editGlobalsToolStripMenuItem->Click += gcnew System::EventHandler(this, &MenuBar::editGlobalsToolStripMenuItem_Click);
|
357 |
this->editGlobalsToolStripMenuItem->Click += gcnew System::EventHandler(this, &MenuBar::editGlobalsToolStripMenuItem_Click);
|
| 355 |
//
|
358 |
//
|
| - |
|
359 |
// viewUsedWaresToolStripMenuItem
|
| - |
|
360 |
//
|
| - |
|
361 |
this->viewUsedWaresToolStripMenuItem->Image = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"viewUsedWaresToolStripMenuItem.Image")));
|
| - |
|
362 |
this->viewUsedWaresToolStripMenuItem->Name = L"viewUsedWaresToolStripMenuItem";
|
| - |
|
363 |
this->viewUsedWaresToolStripMenuItem->Size = System::Drawing::Size(245, 22);
|
| - |
|
364 |
this->viewUsedWaresToolStripMenuItem->Text = L"View Used Wares";
|
| - |
|
365 |
this->viewUsedWaresToolStripMenuItem->Click += gcnew System::EventHandler(this, &MenuBar::viewUsedWaresToolStripMenuItem_Click);
|
| - |
|
366 |
//
|
| 356 |
// toolStripSeparator6
|
367 |
// toolStripSeparator6
|
| 357 |
//
|
368 |
//
|
| 358 |
this->toolStripSeparator6->Name = L"toolStripSeparator6";
|
369 |
this->toolStripSeparator6->Name = L"toolStripSeparator6";
|
| 359 |
this->toolStripSeparator6->Size = System::Drawing::Size(242, 6);
|
370 |
this->toolStripSeparator6->Size = System::Drawing::Size(242, 6);
|
| 360 |
//
|
371 |
//
|
| Line 400... |
Line 411... |
| 400 |
this->exportPackageListToolStripMenuItem->Name = L"exportPackageListToolStripMenuItem";
|
411 |
this->exportPackageListToolStripMenuItem->Name = L"exportPackageListToolStripMenuItem";
|
| 401 |
this->exportPackageListToolStripMenuItem->Size = System::Drawing::Size(175, 22);
|
412 |
this->exportPackageListToolStripMenuItem->Size = System::Drawing::Size(175, 22);
|
| 402 |
this->exportPackageListToolStripMenuItem->Text = L"Export Package List";
|
413 |
this->exportPackageListToolStripMenuItem->Text = L"Export Package List";
|
| 403 |
this->exportPackageListToolStripMenuItem->Click += gcnew System::EventHandler(this, &MenuBar::exportPackageListToolStripMenuItem_Click);
|
414 |
this->exportPackageListToolStripMenuItem->Click += gcnew System::EventHandler(this, &MenuBar::exportPackageListToolStripMenuItem_Click);
|
| 404 |
//
|
415 |
//
|
| 405 |
// viewUsedWaresToolStripMenuItem
|
416 |
// viewCommandSlotsToolStripMenuItem
|
| 406 |
//
|
417 |
//
|
| 407 |
this->viewUsedWaresToolStripMenuItem->Image = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"viewUsedWaresToolStripMenuItem.Image")));
|
418 |
this->viewCommandSlotsToolStripMenuItem->Image = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"viewCommandSlotsToolStripMenuItem.Image")));
|
| 408 |
this->viewUsedWaresToolStripMenuItem->Name = L"viewUsedWaresToolStripMenuItem";
|
419 |
this->viewCommandSlotsToolStripMenuItem->Name = L"viewCommandSlotsToolStripMenuItem";
|
| 409 |
this->viewUsedWaresToolStripMenuItem->Size = System::Drawing::Size(245, 22);
|
420 |
this->viewCommandSlotsToolStripMenuItem->Size = System::Drawing::Size(245, 22);
|
| 410 |
this->viewUsedWaresToolStripMenuItem->Text = L"View Used Wares";
|
421 |
this->viewCommandSlotsToolStripMenuItem->Text = L"View Command Slots";
|
| 411 |
this->viewUsedWaresToolStripMenuItem->Click += gcnew System::EventHandler(this, &MenuBar::viewUsedWaresToolStripMenuItem_Click);
|
422 |
this->viewCommandSlotsToolStripMenuItem->Click += gcnew System::EventHandler(this, &MenuBar::viewCommandSlotsToolStripMenuItem_Click);
|
| 412 |
//
|
423 |
//
|
| 413 |
// MenuBar
|
424 |
// MenuBar
|
| 414 |
//
|
425 |
//
|
| 415 |
this->AutoScaleDimensions = System::Drawing::SizeF(6, 13);
|
426 |
this->AutoScaleDimensions = System::Drawing::SizeF(6, 13);
|
| 416 |
this->AutoScaleMode = System::Windows::Forms::AutoScaleMode::Font;
|
427 |
this->AutoScaleMode = System::Windows::Forms::AutoScaleMode::Font;
|
| Line 467... |
Line 478... |
| 467 |
SendEvent(MENUEVENT_VERIFYFILES);
|
478 |
SendEvent(MENUEVENT_VERIFYFILES);
|
| 468 |
}
|
479 |
}
|
| 469 |
private: System::Void viewUsedWaresToolStripMenuItem_Click(System::Object^ sender, System::EventArgs^ e) {
|
480 |
private: System::Void viewUsedWaresToolStripMenuItem_Click(System::Object^ sender, System::EventArgs^ e) {
|
| 470 |
SendEvent(MENUEVENT_EDITWARES);
|
481 |
SendEvent(MENUEVENT_EDITWARES);
|
| 471 |
}
|
482 |
}
|
| - |
|
483 |
private: System::Void viewCommandSlotsToolStripMenuItem_Click(System::Object^ sender, System::EventArgs^ e) {
|
| - |
|
484 |
SendEvent(MENUEVENT_COMMANDSLOTS);
|
| - |
|
485 |
}
|
| 472 |
};
|
486 |
};
|
| 473 |
}
|
487 |
}
|