Subversion Repositories spk

Rev

Rev 42 | Rev 89 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
1 cycrow 1
#pragma once
2
 
3
using namespace System;
4
using namespace System::ComponentModel;
5
using namespace System::Collections;
6
using namespace System::Windows::Forms;
7
using namespace System::Data;
8
using namespace System::Drawing;
9
 
88 cycrow 10
enum {MENUEVENT_REMOVEDIR, MENUEVENT_EXIT, MENUEVENT_PACKAGEUPDATE, MENUEVENT_FAKEPATCHCONTROL, MENUEVENT_FAKEPATCHCOMPAT, MENUEVENT_EDITGLOBAL, MENUEVENT_EDITWARES, MENUEVENT_ABOUT, 
1 cycrow 11
		MENUEVENT_FILELOG, MENUEVENT_FINDPACKAGE, MENUEVENT_SAVEGAMEMANAGER, MENUEVENT_INSTALLARCHIVE, MENUEVENT_EXPORTPACKAGE, MENUEVENT_VERIFYFILES};
12
 
13
namespace PluginManager {
14
 
15
	/// <summary>
16
	/// Summary for MenuBar
17
	/// </summary>
18
	public ref class MenuBar : public System::Windows::Forms::UserControl
19
	{
20
	public:
21
		MenuBar(Windows::Forms::Form ^parent, bool advanced)
22
		{
23
			InitializeComponent();
24
 
25
			this->Parent = parent;
26
			this->Dock = System::Windows::Forms::DockStyle::Top;
27
 
28
			parent->Controls->Add(this);
29
 
30
			this->SetupEvents();
31
 
32
			if ( !advanced )
33
				this->advancedToolStripMenuItem->Visible = false;
34
		}
35
 
36
		void Vanilla()
37
		{
38
			this->vanillaToolStripMenuItem->Checked = true;
39
			this->modifiedToolStripMenuItem->Checked = false;
40
		}
41
 
42
		void Modified()
43
		{
44
			this->vanillaToolStripMenuItem->Checked = false;
45
			this->modifiedToolStripMenuItem->Checked = true;
46
		}
47
 
48
		MenuStrip ^GetMenu() { return this->menuStrip1; }
49
		void SetSaveGameManager(bool b) { this->enabledToolStripMenuItem->Checked = b; }
50
 
51
	protected:
52
		/// <summary>
53
		/// Clean up any resources being used.
54
		/// </summary>
55
		~MenuBar()
56
		{
57
			if (components)
58
			{
59
				delete components;
60
			}
61
		}
62
	private: System::Windows::Forms::MenuStrip^  menuStrip1;
63
	protected: 
64
	private: System::Windows::Forms::ToolStripMenuItem^  fileToolStripMenuItem;
65
	private: System::Windows::Forms::ToolStripMenuItem^  installPackageToolStripMenuItem;
66
	private: System::Windows::Forms::ToolStripSeparator^  toolStripSeparator1;
67
	private: System::Windows::Forms::ToolStripMenuItem^  settingsToolStripMenuItem;
68
	private: System::Windows::Forms::ToolStripMenuItem^  modeToolStripMenuItem;
69
	private: System::Windows::Forms::ToolStripMenuItem^  vanillaToolStripMenuItem;
70
	private: System::Windows::Forms::ToolStripMenuItem^  modifiedToolStripMenuItem;
71
	private: System::Windows::Forms::ToolStripSeparator^  toolStripSeparator2;
72
	private: System::Windows::Forms::ToolStripMenuItem^  addDirectoryToolStripMenuItem;
73
	private: System::Windows::Forms::ToolStripMenuItem^  removeDirectoryToolStripMenuItem;
74
	private: System::Windows::Forms::ToolStripMenuItem^  packagesToolStripMenuItem;
75
	private: System::Windows::Forms::ToolStripMenuItem^  modSelectorToolStripMenuItem;
76
	private: System::Windows::Forms::ToolStripMenuItem^  packageBrowserToolStripMenuItem;
77
	private: System::Windows::Forms::ToolStripSeparator^  toolStripSeparator3;
78
	private: System::Windows::Forms::ToolStripMenuItem^  checkForUpdatesToolStripMenuItem;
79
	private: System::Windows::Forms::ToolStripMenuItem^  advancedToolStripMenuItem;
80
	private: System::Windows::Forms::ToolStripMenuItem^  fakePatchControlToolStripMenuItem;
81
	private: System::Windows::Forms::ToolStripMenuItem^  checkFakePatchCompatabilityToolStripMenuItem;
82
	private: System::Windows::Forms::ToolStripMenuItem^  viewFakePatchAssignmentToolStripMenuItem;
83
	private: System::Windows::Forms::ToolStripSeparator^  toolStripSeparator4;
84
	private: System::Windows::Forms::ToolStripMenuItem^  editGlobalsToolStripMenuItem;
85
	private: System::Windows::Forms::ToolStripMenuItem^  helpToolStripMenuItem;
86
	private: System::Windows::Forms::ToolStripMenuItem^  aboutToolStripMenuItem;
87
	private: System::Windows::Forms::ToolStripSeparator^  toolStripSeparator5;
88
	private: System::Windows::Forms::ToolStripMenuItem^  viewFileLogToolStripMenuItem;
89
	private: System::Windows::Forms::ToolStripMenuItem^  findPackagesOnlineToolStripMenuItem;
90
	private: System::Windows::Forms::ToolStripMenuItem^  saveGameManagerToolStripMenuItem;
91
	private: System::Windows::Forms::ToolStripMenuItem^  enabledToolStripMenuItem;
92
	private: System::Windows::Forms::ToolStripMenuItem^  installArchiveToolStripMenuItem;
93
	private: System::Windows::Forms::ToolStripMenuItem^  exportPackageListToolStripMenuItem;
94
	private: System::Windows::Forms::ToolStripSeparator^  toolStripSeparator6;
95
	private: System::Windows::Forms::ToolStripMenuItem^  veryInstalledFilesToolStripMenuItem;
88 cycrow 96
	private: System::Windows::Forms::ToolStripMenuItem^  viewUsedWaresToolStripMenuItem;
1 cycrow 97
 
98
	private: System::Windows::Forms::ToolStripMenuItem^  exitToolStripMenuItem;
99
 
100
	private:
101
		void ViewFakePatchs();
102
		void SendEvent(int menuevent);
103
		void SetupEvents();
104
 
105
		/// <summary>
106
		/// Required designer variable.
107
		/// </summary>
108
		System::ComponentModel::Container ^components;
109
 
110
#pragma region Windows Form Designer generated code
111
		/// <summary>
112
		/// Required method for Designer support - do not modify
113
		/// the contents of this method with the code editor.
114
		/// </summary>
115
		void InitializeComponent(void)
116
		{
117
			System::ComponentModel::ComponentResourceManager^  resources = (gcnew System::ComponentModel::ComponentResourceManager(MenuBar::typeid));
118
			this->menuStrip1 = (gcnew System::Windows::Forms::MenuStrip());
119
			this->fileToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
120
			this->installPackageToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
121
			this->installArchiveToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
122
			this->toolStripSeparator1 = (gcnew System::Windows::Forms::ToolStripSeparator());
123
			this->exitToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
124
			this->settingsToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
125
			this->modeToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
126
			this->vanillaToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
127
			this->modifiedToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
128
			this->saveGameManagerToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
129
			this->enabledToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
130
			this->toolStripSeparator2 = (gcnew System::Windows::Forms::ToolStripSeparator());
131
			this->addDirectoryToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
132
			this->removeDirectoryToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
133
			this->packagesToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
134
			this->modSelectorToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
135
			this->packageBrowserToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
136
			this->toolStripSeparator3 = (gcnew System::Windows::Forms::ToolStripSeparator());
137
			this->checkForUpdatesToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
138
			this->findPackagesOnlineToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
139
			this->advancedToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
140
			this->fakePatchControlToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
141
			this->checkFakePatchCompatabilityToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
142
			this->viewFakePatchAssignmentToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
143
			this->toolStripSeparator4 = (gcnew System::Windows::Forms::ToolStripSeparator());
144
			this->editGlobalsToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
42 cycrow 145
			this->toolStripSeparator6 = (gcnew System::Windows::Forms::ToolStripSeparator());
146
			this->veryInstalledFilesToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
1 cycrow 147
			this->helpToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
148
			this->aboutToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
149
			this->toolStripSeparator5 = (gcnew System::Windows::Forms::ToolStripSeparator());
150
			this->viewFileLogToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
151
			this->exportPackageListToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
88 cycrow 152
			this->viewUsedWaresToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
1 cycrow 153
			this->menuStrip1->SuspendLayout();
154
			this->SuspendLayout();
155
			// 
156
			// menuStrip1
157
			// 
158
			this->menuStrip1->Items->AddRange(gcnew cli::array< System::Windows::Forms::ToolStripItem^  >(5) {this->fileToolStripMenuItem, 
159
				this->settingsToolStripMenuItem, this->packagesToolStripMenuItem, this->advancedToolStripMenuItem, this->helpToolStripMenuItem});
160
			this->menuStrip1->Location = System::Drawing::Point(0, 0);
161
			this->menuStrip1->Name = L"menuStrip1";
162
			this->menuStrip1->Size = System::Drawing::Size(520, 24);
163
			this->menuStrip1->TabIndex = 0;
164
			this->menuStrip1->Text = L"menuStrip1";
165
			// 
166
			// fileToolStripMenuItem
167
			// 
168
			this->fileToolStripMenuItem->DropDownItems->AddRange(gcnew cli::array< System::Windows::Forms::ToolStripItem^  >(4) {this->installPackageToolStripMenuItem, 
169
				this->installArchiveToolStripMenuItem, this->toolStripSeparator1, this->exitToolStripMenuItem});
170
			this->fileToolStripMenuItem->Name = L"fileToolStripMenuItem";
171
			this->fileToolStripMenuItem->Size = System::Drawing::Size(37, 20);
172
			this->fileToolStripMenuItem->Text = L"File";
173
			// 
174
			// installPackageToolStripMenuItem
175
			// 
176
			this->installPackageToolStripMenuItem->Image = (cli::safe_cast<System::Drawing::Image^  >(resources->GetObject(L"installPackageToolStripMenuItem.Image")));
177
			this->installPackageToolStripMenuItem->Name = L"installPackageToolStripMenuItem";
178
			this->installPackageToolStripMenuItem->Size = System::Drawing::Size(152, 22);
179
			this->installPackageToolStripMenuItem->Text = L"Install Package";
180
			// 
181
			// installArchiveToolStripMenuItem
182
			// 
183
			this->installArchiveToolStripMenuItem->Image = (cli::safe_cast<System::Drawing::Image^  >(resources->GetObject(L"installArchiveToolStripMenuItem.Image")));
184
			this->installArchiveToolStripMenuItem->Name = L"installArchiveToolStripMenuItem";
185
			this->installArchiveToolStripMenuItem->Size = System::Drawing::Size(152, 22);
186
			this->installArchiveToolStripMenuItem->Text = L"Install Archive";
187
			this->installArchiveToolStripMenuItem->Click += gcnew System::EventHandler(this, &MenuBar::installArchiveToolStripMenuItem_Click);
188
			// 
189
			// toolStripSeparator1
190
			// 
191
			this->toolStripSeparator1->Name = L"toolStripSeparator1";
192
			this->toolStripSeparator1->Size = System::Drawing::Size(149, 6);
193
			// 
194
			// exitToolStripMenuItem
195
			// 
196
			this->exitToolStripMenuItem->Image = (cli::safe_cast<System::Drawing::Image^  >(resources->GetObject(L"exitToolStripMenuItem.Image")));
197
			this->exitToolStripMenuItem->Name = L"exitToolStripMenuItem";
198
			this->exitToolStripMenuItem->Size = System::Drawing::Size(152, 22);
199
			this->exitToolStripMenuItem->Text = L"Exit";
200
			this->exitToolStripMenuItem->Click += gcnew System::EventHandler(this, &MenuBar::exitToolStripMenuItem_Click);
201
			// 
202
			// settingsToolStripMenuItem
203
			// 
204
			this->settingsToolStripMenuItem->DropDownItems->AddRange(gcnew cli::array< System::Windows::Forms::ToolStripItem^  >(5) {this->modeToolStripMenuItem, 
205
				this->saveGameManagerToolStripMenuItem, this->toolStripSeparator2, this->addDirectoryToolStripMenuItem, this->removeDirectoryToolStripMenuItem});
206
			this->settingsToolStripMenuItem->Name = L"settingsToolStripMenuItem";
207
			this->settingsToolStripMenuItem->Size = System::Drawing::Size(61, 20);
208
			this->settingsToolStripMenuItem->Text = L"Settings";
209
			// 
210
			// modeToolStripMenuItem
211
			// 
212
			this->modeToolStripMenuItem->DropDownItems->AddRange(gcnew cli::array< System::Windows::Forms::ToolStripItem^  >(2) {this->vanillaToolStripMenuItem, 
213
				this->modifiedToolStripMenuItem});
214
			this->modeToolStripMenuItem->Name = L"modeToolStripMenuItem";
215
			this->modeToolStripMenuItem->Size = System::Drawing::Size(182, 22);
216
			this->modeToolStripMenuItem->Text = L"Mode";
217
			// 
218
			// vanillaToolStripMenuItem
219
			// 
220
			this->vanillaToolStripMenuItem->Checked = true;
221
			this->vanillaToolStripMenuItem->CheckState = System::Windows::Forms::CheckState::Checked;
222
			this->vanillaToolStripMenuItem->Name = L"vanillaToolStripMenuItem";
223
			this->vanillaToolStripMenuItem->Size = System::Drawing::Size(122, 22);
224
			this->vanillaToolStripMenuItem->Text = L"Vanilla";
225
			// 
226
			// modifiedToolStripMenuItem
227
			// 
228
			this->modifiedToolStripMenuItem->Name = L"modifiedToolStripMenuItem";
229
			this->modifiedToolStripMenuItem->Size = System::Drawing::Size(122, 22);
230
			this->modifiedToolStripMenuItem->Text = L"Modified";
231
			// 
232
			// saveGameManagerToolStripMenuItem
233
			// 
234
			this->saveGameManagerToolStripMenuItem->DropDownItems->AddRange(gcnew cli::array< System::Windows::Forms::ToolStripItem^  >(1) {this->enabledToolStripMenuItem});
235
			this->saveGameManagerToolStripMenuItem->Name = L"saveGameManagerToolStripMenuItem";
236
			this->saveGameManagerToolStripMenuItem->Size = System::Drawing::Size(182, 22);
237
			this->saveGameManagerToolStripMenuItem->Text = L"Save Game Manager";
238
			// 
239
			// enabledToolStripMenuItem
240
			// 
241
			this->enabledToolStripMenuItem->CheckOnClick = true;
242
			this->enabledToolStripMenuItem->Name = L"enabledToolStripMenuItem";
243
			this->enabledToolStripMenuItem->Size = System::Drawing::Size(116, 22);
244
			this->enabledToolStripMenuItem->Text = L"Enabled";
245
			this->enabledToolStripMenuItem->Click += gcnew System::EventHandler(this, &MenuBar::enabledToolStripMenuItem_Click);
246
			// 
247
			// toolStripSeparator2
248
			// 
249
			this->toolStripSeparator2->Name = L"toolStripSeparator2";
250
			this->toolStripSeparator2->Size = System::Drawing::Size(179, 6);
251
			// 
252
			// addDirectoryToolStripMenuItem
253
			// 
254
			this->addDirectoryToolStripMenuItem->Image = (cli::safe_cast<System::Drawing::Image^  >(resources->GetObject(L"addDirectoryToolStripMenuItem.Image")));
255
			this->addDirectoryToolStripMenuItem->Name = L"addDirectoryToolStripMenuItem";
256
			this->addDirectoryToolStripMenuItem->Size = System::Drawing::Size(182, 22);
257
			this->addDirectoryToolStripMenuItem->Text = L"Add Directory";
258
			// 
259
			// removeDirectoryToolStripMenuItem
260
			// 
261
			this->removeDirectoryToolStripMenuItem->Image = (cli::safe_cast<System::Drawing::Image^  >(resources->GetObject(L"removeDirectoryToolStripMenuItem.Image")));
262
			this->removeDirectoryToolStripMenuItem->Name = L"removeDirectoryToolStripMenuItem";
263
			this->removeDirectoryToolStripMenuItem->Size = System::Drawing::Size(182, 22);
264
			this->removeDirectoryToolStripMenuItem->Text = L"Remove Directory";
265
			this->removeDirectoryToolStripMenuItem->Click += gcnew System::EventHandler(this, &MenuBar::removeDirectoryToolStripMenuItem_Click);
266
			// 
267
			// packagesToolStripMenuItem
268
			// 
269
			this->packagesToolStripMenuItem->DropDownItems->AddRange(gcnew cli::array< System::Windows::Forms::ToolStripItem^  >(5) {this->modSelectorToolStripMenuItem, 
270
				this->packageBrowserToolStripMenuItem, this->toolStripSeparator3, this->checkForUpdatesToolStripMenuItem, this->findPackagesOnlineToolStripMenuItem});
271
			this->packagesToolStripMenuItem->Name = L"packagesToolStripMenuItem";
272
			this->packagesToolStripMenuItem->Size = System::Drawing::Size(68, 20);
273
			this->packagesToolStripMenuItem->Text = L"Packages";
274
			// 
275
			// modSelectorToolStripMenuItem
276
			// 
277
			this->modSelectorToolStripMenuItem->Image = (cli::safe_cast<System::Drawing::Image^  >(resources->GetObject(L"modSelectorToolStripMenuItem.Image")));
278
			this->modSelectorToolStripMenuItem->Name = L"modSelectorToolStripMenuItem";
279
			this->modSelectorToolStripMenuItem->Size = System::Drawing::Size(187, 22);
280
			this->modSelectorToolStripMenuItem->Text = L"Mod Selector";
281
			// 
282
			// packageBrowserToolStripMenuItem
283
			// 
284
			this->packageBrowserToolStripMenuItem->Image = (cli::safe_cast<System::Drawing::Image^  >(resources->GetObject(L"packageBrowserToolStripMenuItem.Image")));
285
			this->packageBrowserToolStripMenuItem->Name = L"packageBrowserToolStripMenuItem";
286
			this->packageBrowserToolStripMenuItem->Size = System::Drawing::Size(187, 22);
287
			this->packageBrowserToolStripMenuItem->Text = L"Package Browser";
288
			// 
289
			// toolStripSeparator3
290
			// 
291
			this->toolStripSeparator3->Name = L"toolStripSeparator3";
292
			this->toolStripSeparator3->Size = System::Drawing::Size(184, 6);
293
			// 
294
			// checkForUpdatesToolStripMenuItem
295
			// 
296
			this->checkForUpdatesToolStripMenuItem->Image = (cli::safe_cast<System::Drawing::Image^  >(resources->GetObject(L"checkForUpdatesToolStripMenuItem.Image")));
297
			this->checkForUpdatesToolStripMenuItem->Name = L"checkForUpdatesToolStripMenuItem";
298
			this->checkForUpdatesToolStripMenuItem->Size = System::Drawing::Size(187, 22);
299
			this->checkForUpdatesToolStripMenuItem->Text = L"Check For Updates";
300
			this->checkForUpdatesToolStripMenuItem->Click += gcnew System::EventHandler(this, &MenuBar::checkForUpdatesToolStripMenuItem_Click);
301
			// 
302
			// findPackagesOnlineToolStripMenuItem
303
			// 
304
			this->findPackagesOnlineToolStripMenuItem->Image = (cli::safe_cast<System::Drawing::Image^  >(resources->GetObject(L"findPackagesOnlineToolStripMenuItem.Image")));
305
			this->findPackagesOnlineToolStripMenuItem->Name = L"findPackagesOnlineToolStripMenuItem";
306
			this->findPackagesOnlineToolStripMenuItem->Size = System::Drawing::Size(187, 22);
307
			this->findPackagesOnlineToolStripMenuItem->Text = L"Find Packages Online";
308
			this->findPackagesOnlineToolStripMenuItem->Click += gcnew System::EventHandler(this, &MenuBar::findPackagesOnlineToolStripMenuItem_Click);
309
			// 
310
			// advancedToolStripMenuItem
311
			// 
88 cycrow 312
			this->advancedToolStripMenuItem->DropDownItems->AddRange(gcnew cli::array< System::Windows::Forms::ToolStripItem^  >(8) {this->fakePatchControlToolStripMenuItem, 
1 cycrow 313
				this->checkFakePatchCompatabilityToolStripMenuItem, this->viewFakePatchAssignmentToolStripMenuItem, this->toolStripSeparator4, 
88 cycrow 314
				this->editGlobalsToolStripMenuItem, this->viewUsedWaresToolStripMenuItem, this->toolStripSeparator6, this->veryInstalledFilesToolStripMenuItem});
1 cycrow 315
			this->advancedToolStripMenuItem->Name = L"advancedToolStripMenuItem";
316
			this->advancedToolStripMenuItem->Size = System::Drawing::Size(72, 20);
317
			this->advancedToolStripMenuItem->Text = L"Advanced";
318
			// 
319
			// fakePatchControlToolStripMenuItem
320
			// 
321
			this->fakePatchControlToolStripMenuItem->Image = (cli::safe_cast<System::Drawing::Image^  >(resources->GetObject(L"fakePatchControlToolStripMenuItem.Image")));
322
			this->fakePatchControlToolStripMenuItem->Name = L"fakePatchControlToolStripMenuItem";
323
			this->fakePatchControlToolStripMenuItem->Size = System::Drawing::Size(245, 22);
324
			this->fakePatchControlToolStripMenuItem->Text = L"Fake Patch Control";
325
			this->fakePatchControlToolStripMenuItem->Click += gcnew System::EventHandler(this, &MenuBar::fakePatchControlToolStripMenuItem_Click);
326
			// 
327
			// checkFakePatchCompatabilityToolStripMenuItem
328
			// 
329
			this->checkFakePatchCompatabilityToolStripMenuItem->Image = (cli::safe_cast<System::Drawing::Image^  >(resources->GetObject(L"checkFakePatchCompatabilityToolStripMenuItem.Image")));
330
			this->checkFakePatchCompatabilityToolStripMenuItem->Name = L"checkFakePatchCompatabilityToolStripMenuItem";
331
			this->checkFakePatchCompatabilityToolStripMenuItem->Size = System::Drawing::Size(245, 22);
332
			this->checkFakePatchCompatabilityToolStripMenuItem->Text = L"Check Fake Patch Compatability";
333
			this->checkFakePatchCompatabilityToolStripMenuItem->Click += gcnew System::EventHandler(this, &MenuBar::checkFakePatchCompatabilityToolStripMenuItem_Click);
334
			// 
335
			// viewFakePatchAssignmentToolStripMenuItem
336
			// 
337
			this->viewFakePatchAssignmentToolStripMenuItem->Image = (cli::safe_cast<System::Drawing::Image^  >(resources->GetObject(L"viewFakePatchAssignmentToolStripMenuItem.Image")));
338
			this->viewFakePatchAssignmentToolStripMenuItem->Name = L"viewFakePatchAssignmentToolStripMenuItem";
339
			this->viewFakePatchAssignmentToolStripMenuItem->Size = System::Drawing::Size(245, 22);
340
			this->viewFakePatchAssignmentToolStripMenuItem->Text = L"View Fake Patch Assignment";
341
			this->viewFakePatchAssignmentToolStripMenuItem->Click += gcnew System::EventHandler(this, &MenuBar::viewFakePatchAssignmentToolStripMenuItem_Click);
342
			// 
343
			// toolStripSeparator4
344
			// 
345
			this->toolStripSeparator4->Name = L"toolStripSeparator4";
346
			this->toolStripSeparator4->Size = System::Drawing::Size(242, 6);
347
			// 
348
			// editGlobalsToolStripMenuItem
349
			// 
350
			this->editGlobalsToolStripMenuItem->Image = (cli::safe_cast<System::Drawing::Image^  >(resources->GetObject(L"editGlobalsToolStripMenuItem.Image")));
351
			this->editGlobalsToolStripMenuItem->Name = L"editGlobalsToolStripMenuItem";
352
			this->editGlobalsToolStripMenuItem->Size = System::Drawing::Size(245, 22);
353
			this->editGlobalsToolStripMenuItem->Text = L"Edit Game Globals";
354
			this->editGlobalsToolStripMenuItem->Click += gcnew System::EventHandler(this, &MenuBar::editGlobalsToolStripMenuItem_Click);
355
			// 
42 cycrow 356
			// toolStripSeparator6
357
			// 
358
			this->toolStripSeparator6->Name = L"toolStripSeparator6";
359
			this->toolStripSeparator6->Size = System::Drawing::Size(242, 6);
360
			// 
361
			// veryInstalledFilesToolStripMenuItem
362
			// 
363
			this->veryInstalledFilesToolStripMenuItem->Name = L"veryInstalledFilesToolStripMenuItem";
364
			this->veryInstalledFilesToolStripMenuItem->Size = System::Drawing::Size(245, 22);
365
			this->veryInstalledFilesToolStripMenuItem->Text = L"Verify Installed Files";
366
			this->veryInstalledFilesToolStripMenuItem->Click += gcnew System::EventHandler(this, &MenuBar::veryInstalledFilesToolStripMenuItem_Click);
367
			// 
1 cycrow 368
			// helpToolStripMenuItem
369
			// 
370
			this->helpToolStripMenuItem->DropDownItems->AddRange(gcnew cli::array< System::Windows::Forms::ToolStripItem^  >(4) {this->aboutToolStripMenuItem, 
371
				this->toolStripSeparator5, this->viewFileLogToolStripMenuItem, this->exportPackageListToolStripMenuItem});
372
			this->helpToolStripMenuItem->Name = L"helpToolStripMenuItem";
373
			this->helpToolStripMenuItem->Size = System::Drawing::Size(44, 20);
374
			this->helpToolStripMenuItem->Text = L"Help";
375
			// 
376
			// aboutToolStripMenuItem
377
			// 
378
			this->aboutToolStripMenuItem->Image = (cli::safe_cast<System::Drawing::Image^  >(resources->GetObject(L"aboutToolStripMenuItem.Image")));
379
			this->aboutToolStripMenuItem->Name = L"aboutToolStripMenuItem";
380
			this->aboutToolStripMenuItem->Size = System::Drawing::Size(175, 22);
381
			this->aboutToolStripMenuItem->Text = L"About";
382
			this->aboutToolStripMenuItem->Click += gcnew System::EventHandler(this, &MenuBar::aboutToolStripMenuItem_Click);
383
			// 
384
			// toolStripSeparator5
385
			// 
386
			this->toolStripSeparator5->Name = L"toolStripSeparator5";
387
			this->toolStripSeparator5->Size = System::Drawing::Size(172, 6);
388
			// 
389
			// viewFileLogToolStripMenuItem
390
			// 
391
			this->viewFileLogToolStripMenuItem->Image = (cli::safe_cast<System::Drawing::Image^  >(resources->GetObject(L"viewFileLogToolStripMenuItem.Image")));
392
			this->viewFileLogToolStripMenuItem->Name = L"viewFileLogToolStripMenuItem";
393
			this->viewFileLogToolStripMenuItem->Size = System::Drawing::Size(175, 22);
394
			this->viewFileLogToolStripMenuItem->Text = L"View File Log";
395
			this->viewFileLogToolStripMenuItem->Click += gcnew System::EventHandler(this, &MenuBar::viewFileLogToolStripMenuItem_Click);
396
			// 
397
			// exportPackageListToolStripMenuItem
398
			// 
399
			this->exportPackageListToolStripMenuItem->Image = (cli::safe_cast<System::Drawing::Image^  >(resources->GetObject(L"exportPackageListToolStripMenuItem.Image")));
400
			this->exportPackageListToolStripMenuItem->Name = L"exportPackageListToolStripMenuItem";
401
			this->exportPackageListToolStripMenuItem->Size = System::Drawing::Size(175, 22);
402
			this->exportPackageListToolStripMenuItem->Text = L"Export Package List";
403
			this->exportPackageListToolStripMenuItem->Click += gcnew System::EventHandler(this, &MenuBar::exportPackageListToolStripMenuItem_Click);
404
			// 
88 cycrow 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);
412
			// 
1 cycrow 413
			// MenuBar
414
			// 
415
			this->AutoScaleDimensions = System::Drawing::SizeF(6, 13);
416
			this->AutoScaleMode = System::Windows::Forms::AutoScaleMode::Font;
417
			this->Controls->Add(this->menuStrip1);
418
			this->Name = L"MenuBar";
419
			this->Size = System::Drawing::Size(520, 27);
420
			this->menuStrip1->ResumeLayout(false);
421
			this->menuStrip1->PerformLayout();
422
			this->ResumeLayout(false);
423
			this->PerformLayout();
424
 
425
		}
426
#pragma endregion
427
private: System::Void exitToolStripMenuItem_Click(System::Object^  sender, System::EventArgs^  e) {
428
			 SendEvent(MENUEVENT_EXIT);
429
		 }
430
private: System::Void removeDirectoryToolStripMenuItem_Click(System::Object^  sender, System::EventArgs^  e) {
431
			 SendEvent(MENUEVENT_REMOVEDIR);
432
		 }
433
private: System::Void checkForUpdatesToolStripMenuItem_Click(System::Object^  sender, System::EventArgs^  e) {
434
			 SendEvent(MENUEVENT_PACKAGEUPDATE);
435
		 }
436
private: System::Void fakePatchControlToolStripMenuItem_Click(System::Object^  sender, System::EventArgs^  e) {
437
			 SendEvent(MENUEVENT_FAKEPATCHCONTROL);
438
		 }
439
private: System::Void checkFakePatchCompatabilityToolStripMenuItem_Click(System::Object^  sender, System::EventArgs^  e) {
440
			 SendEvent(MENUEVENT_FAKEPATCHCOMPAT);
441
		 }
442
private: System::Void editGlobalsToolStripMenuItem_Click(System::Object^  sender, System::EventArgs^  e) {
443
			 SendEvent(MENUEVENT_EDITGLOBAL);
444
		 }
445
private: System::Void viewFakePatchAssignmentToolStripMenuItem_Click(System::Object^  sender, System::EventArgs^  e) {
446
			 this->ViewFakePatchs();
447
		 }
448
private: System::Void aboutToolStripMenuItem_Click(System::Object^  sender, System::EventArgs^  e) {
449
			 SendEvent(MENUEVENT_ABOUT);
450
		 }
451
private: System::Void viewFileLogToolStripMenuItem_Click(System::Object^  sender, System::EventArgs^  e) {
452
			 SendEvent(MENUEVENT_FILELOG);
453
		 }
454
private: System::Void findPackagesOnlineToolStripMenuItem_Click(System::Object^  sender, System::EventArgs^  e) {
455
			 SendEvent(MENUEVENT_FINDPACKAGE);
456
		 }
457
private: System::Void enabledToolStripMenuItem_Click(System::Object^  sender, System::EventArgs^  e) {
458
			 SendEvent(MENUEVENT_SAVEGAMEMANAGER);
459
		 }
460
private: System::Void installArchiveToolStripMenuItem_Click(System::Object^  sender, System::EventArgs^  e) {
461
			 SendEvent(MENUEVENT_INSTALLARCHIVE);
462
		 }
463
private: System::Void exportPackageListToolStripMenuItem_Click(System::Object^  sender, System::EventArgs^  e) {
464
			 SendEvent(MENUEVENT_EXPORTPACKAGE);
465
		 }
466
private: System::Void veryInstalledFilesToolStripMenuItem_Click(System::Object^  sender, System::EventArgs^  e) {
467
			 SendEvent(MENUEVENT_VERIFYFILES);
468
		 }
88 cycrow 469
private: System::Void viewUsedWaresToolStripMenuItem_Click(System::Object^  sender, System::EventArgs^  e) {
470
			 SendEvent(MENUEVENT_EDITWARES);
471
		 }
1 cycrow 472
};
473
}