Line 5... |
Line 5... |
5 |
using namespace System::Collections;
|
5 |
using namespace System::Collections;
|
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_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};
|
12 |
|
12 |
|
13 |
namespace PluginManager {
|
13 |
namespace PluginManager {
|
14 |
|
14 |
|
15 |
/// <summary>
|
15 |
/// <summary>
|
Line 91... |
Line 91... |
91 |
private: System::Windows::Forms::ToolStripMenuItem^ enabledToolStripMenuItem;
|
91 |
private: System::Windows::Forms::ToolStripMenuItem^ enabledToolStripMenuItem;
|
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 |
|
97 |
|
97 |
private: System::Windows::Forms::ToolStripMenuItem^ exitToolStripMenuItem;
|
98 |
private: System::Windows::Forms::ToolStripMenuItem^ exitToolStripMenuItem;
|
98 |
|
99 |
|
99 |
private:
|
100 |
private:
|
100 |
void ViewFakePatchs();
|
101 |
void ViewFakePatchs();
|
Line 146... |
Line 147... |
146 |
this->helpToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
|
147 |
this->helpToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
|
147 |
this->aboutToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
|
148 |
this->aboutToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
|
148 |
this->toolStripSeparator5 = (gcnew System::Windows::Forms::ToolStripSeparator());
|
149 |
this->toolStripSeparator5 = (gcnew System::Windows::Forms::ToolStripSeparator());
|
149 |
this->viewFileLogToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
|
150 |
this->viewFileLogToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
|
150 |
this->exportPackageListToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
|
151 |
this->exportPackageListToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
|
- |
|
152 |
this->viewUsedWaresToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
|
151 |
this->menuStrip1->SuspendLayout();
|
153 |
this->menuStrip1->SuspendLayout();
|
152 |
this->SuspendLayout();
|
154 |
this->SuspendLayout();
|
153 |
//
|
155 |
//
|
154 |
// menuStrip1
|
156 |
// menuStrip1
|
155 |
//
|
157 |
//
|
Line 305... |
Line 307... |
305 |
this->findPackagesOnlineToolStripMenuItem->Text = L"Find Packages Online";
|
307 |
this->findPackagesOnlineToolStripMenuItem->Text = L"Find Packages Online";
|
306 |
this->findPackagesOnlineToolStripMenuItem->Click += gcnew System::EventHandler(this, &MenuBar::findPackagesOnlineToolStripMenuItem_Click);
|
308 |
this->findPackagesOnlineToolStripMenuItem->Click += gcnew System::EventHandler(this, &MenuBar::findPackagesOnlineToolStripMenuItem_Click);
|
307 |
//
|
309 |
//
|
308 |
// advancedToolStripMenuItem
|
310 |
// advancedToolStripMenuItem
|
309 |
//
|
311 |
//
|
310 |
this->advancedToolStripMenuItem->DropDownItems->AddRange(gcnew cli::array< System::Windows::Forms::ToolStripItem^ >(7) {this->fakePatchControlToolStripMenuItem,
|
312 |
this->advancedToolStripMenuItem->DropDownItems->AddRange(gcnew cli::array< System::Windows::Forms::ToolStripItem^ >(8) {this->fakePatchControlToolStripMenuItem,
|
311 |
this->checkFakePatchCompatabilityToolStripMenuItem, this->viewFakePatchAssignmentToolStripMenuItem, this->toolStripSeparator4,
|
313 |
this->checkFakePatchCompatabilityToolStripMenuItem, this->viewFakePatchAssignmentToolStripMenuItem, this->toolStripSeparator4,
|
312 |
this->editGlobalsToolStripMenuItem, this->toolStripSeparator6, this->veryInstalledFilesToolStripMenuItem});
|
314 |
this->editGlobalsToolStripMenuItem, this->viewUsedWaresToolStripMenuItem, this->toolStripSeparator6, this->veryInstalledFilesToolStripMenuItem});
|
313 |
this->advancedToolStripMenuItem->Name = L"advancedToolStripMenuItem";
|
315 |
this->advancedToolStripMenuItem->Name = L"advancedToolStripMenuItem";
|
314 |
this->advancedToolStripMenuItem->Size = System::Drawing::Size(72, 20);
|
316 |
this->advancedToolStripMenuItem->Size = System::Drawing::Size(72, 20);
|
315 |
this->advancedToolStripMenuItem->Text = L"Advanced";
|
317 |
this->advancedToolStripMenuItem->Text = L"Advanced";
|
316 |
//
|
318 |
//
|
317 |
// fakePatchControlToolStripMenuItem
|
319 |
// fakePatchControlToolStripMenuItem
|
Line 397... |
Line 399... |
397 |
this->exportPackageListToolStripMenuItem->Image = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"exportPackageListToolStripMenuItem.Image")));
|
399 |
this->exportPackageListToolStripMenuItem->Image = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"exportPackageListToolStripMenuItem.Image")));
|
398 |
this->exportPackageListToolStripMenuItem->Name = L"exportPackageListToolStripMenuItem";
|
400 |
this->exportPackageListToolStripMenuItem->Name = L"exportPackageListToolStripMenuItem";
|
399 |
this->exportPackageListToolStripMenuItem->Size = System::Drawing::Size(175, 22);
|
401 |
this->exportPackageListToolStripMenuItem->Size = System::Drawing::Size(175, 22);
|
400 |
this->exportPackageListToolStripMenuItem->Text = L"Export Package List";
|
402 |
this->exportPackageListToolStripMenuItem->Text = L"Export Package List";
|
401 |
this->exportPackageListToolStripMenuItem->Click += gcnew System::EventHandler(this, &MenuBar::exportPackageListToolStripMenuItem_Click);
|
403 |
this->exportPackageListToolStripMenuItem->Click += gcnew System::EventHandler(this, &MenuBar::exportPackageListToolStripMenuItem_Click);
|
- |
|
404 |
//
|
- |
|
405 |
// viewUsedWaresToolStripMenuItem
|
- |
|
406 |
//
|
- |
|
407 |
this->viewUsedWaresToolStripMenuItem->Image = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"viewUsedWaresToolStripMenuItem.Image")));
|
- |
|
408 |
this->viewUsedWaresToolStripMenuItem->Name = L"viewUsedWaresToolStripMenuItem";
|
- |
|
409 |
this->viewUsedWaresToolStripMenuItem->Size = System::Drawing::Size(245, 22);
|
- |
|
410 |
this->viewUsedWaresToolStripMenuItem->Text = L"View Used Wares";
|
- |
|
411 |
this->viewUsedWaresToolStripMenuItem->Click += gcnew System::EventHandler(this, &MenuBar::viewUsedWaresToolStripMenuItem_Click);
|
402 |
//
|
412 |
//
|
403 |
// MenuBar
|
413 |
// MenuBar
|
404 |
//
|
414 |
//
|
405 |
this->AutoScaleDimensions = System::Drawing::SizeF(6, 13);
|
415 |
this->AutoScaleDimensions = System::Drawing::SizeF(6, 13);
|
406 |
this->AutoScaleMode = System::Windows::Forms::AutoScaleMode::Font;
|
416 |
this->AutoScaleMode = System::Windows::Forms::AutoScaleMode::Font;
|
Line 432... |
Line 442... |
432 |
private: System::Void editGlobalsToolStripMenuItem_Click(System::Object^ sender, System::EventArgs^ e) {
|
442 |
private: System::Void editGlobalsToolStripMenuItem_Click(System::Object^ sender, System::EventArgs^ e) {
|
433 |
SendEvent(MENUEVENT_EDITGLOBAL);
|
443 |
SendEvent(MENUEVENT_EDITGLOBAL);
|
434 |
}
|
444 |
}
|
435 |
private: System::Void viewFakePatchAssignmentToolStripMenuItem_Click(System::Object^ sender, System::EventArgs^ e) {
|
445 |
private: System::Void viewFakePatchAssignmentToolStripMenuItem_Click(System::Object^ sender, System::EventArgs^ e) {
|
436 |
this->ViewFakePatchs();
|
446 |
this->ViewFakePatchs();
|
437 |
}
|
447 |
}
|
438 |
private: System::Void aboutToolStripMenuItem_Click(System::Object^ sender, System::EventArgs^ e) {
|
448 |
private: System::Void aboutToolStripMenuItem_Click(System::Object^ sender, System::EventArgs^ e) {
|
439 |
SendEvent(MENUEVENT_ABOUT);
|
449 |
SendEvent(MENUEVENT_ABOUT);
|
440 |
}
|
450 |
}
|
441 |
private: System::Void viewFileLogToolStripMenuItem_Click(System::Object^ sender, System::EventArgs^ e) {
|
451 |
private: System::Void viewFileLogToolStripMenuItem_Click(System::Object^ sender, System::EventArgs^ e) {
|
442 |
SendEvent(MENUEVENT_FILELOG);
|
452 |
SendEvent(MENUEVENT_FILELOG);
|
Line 453... |
Line 463... |
453 |
private: System::Void exportPackageListToolStripMenuItem_Click(System::Object^ sender, System::EventArgs^ e) {
|
463 |
private: System::Void exportPackageListToolStripMenuItem_Click(System::Object^ sender, System::EventArgs^ e) {
|
454 |
SendEvent(MENUEVENT_EXPORTPACKAGE);
|
464 |
SendEvent(MENUEVENT_EXPORTPACKAGE);
|
455 |
}
|
465 |
}
|
456 |
private: System::Void veryInstalledFilesToolStripMenuItem_Click(System::Object^ sender, System::EventArgs^ e) {
|
466 |
private: System::Void veryInstalledFilesToolStripMenuItem_Click(System::Object^ sender, System::EventArgs^ e) {
|
457 |
SendEvent(MENUEVENT_VERIFYFILES);
|
467 |
SendEvent(MENUEVENT_VERIFYFILES);
|
- |
|
468 |
}
|
- |
|
469 |
private: System::Void viewUsedWaresToolStripMenuItem_Click(System::Object^ sender, System::EventArgs^ e) {
|
- |
|
470 |
SendEvent(MENUEVENT_EDITWARES);
|
458 |
}
|
471 |
}
|
459 |
};
|
472 |
};
|
460 |
}
|
473 |
}
|