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 |
|
|
|
10 |
#include "../../common/listviewsorter.h"
|
|
|
11 |
#include "../../SpkExplorer/src/Forms/DropFileDialog.h"
|
|
|
12 |
#include "../../SpkExplorer/src/Forms/AddDialog.h"
|
|
|
13 |
#include "InputBox.h"
|
|
|
14 |
#include "AddWare.h"
|
|
|
15 |
#include "AddWareText.h"
|
|
|
16 |
#include "AddShipText.h"
|
|
|
17 |
#include "LoadShip.h"
|
|
|
18 |
#include "AddShipPart.h"
|
|
|
19 |
#include "AddDepend.h"
|
|
|
20 |
|
|
|
21 |
#include "BaseForm.h"
|
|
|
22 |
#include "Options.h"
|
|
|
23 |
#include "CustomiseShip.h"
|
|
|
24 |
#include "SelectGame.h"
|
|
|
25 |
|
|
|
26 |
#undef GetTempPath
|
|
|
27 |
|
236 |
cycrow |
28 |
|
1 |
cycrow |
29 |
namespace Creator {
|
|
|
30 |
/// <summary>
|
|
|
31 |
/// Summary for PackageForm
|
|
|
32 |
///
|
|
|
33 |
/// WARNING: If you change the name of this class, you will need to change the
|
|
|
34 |
/// 'Resource File Name' property for the managed resource compiler tool
|
|
|
35 |
/// associated with all .resx files this class depends on. Otherwise,
|
|
|
36 |
/// the designers will not be able to interact properly with localized
|
|
|
37 |
/// resources associated with this form.
|
|
|
38 |
/// </summary>
|
236 |
cycrow |
39 |
///
|
238 |
cycrow |
40 |
|
|
|
41 |
/*
|
236 |
cycrow |
42 |
public ref class PackageForm : public System::Windows::Forms::Form
|
238 |
cycrow |
43 |
#define DESIGNER
|
|
|
44 |
*/
|
237 |
cycrow |
45 |
|
238 |
cycrow |
46 |
|
1 |
cycrow |
47 |
#ifdef DESIGNER
|
237 |
cycrow |
48 |
public ref class PackageForm : public System::Windows::Forms::Form
|
1 |
cycrow |
49 |
#else
|
|
|
50 |
public ref class PackageForm : public Creator::BaseForm
|
|
|
51 |
#endif
|
238 |
cycrow |
52 |
|
1 |
cycrow |
53 |
{
|
|
|
54 |
public:
|
237 |
cycrow |
55 |
PackageForm(System::Windows::Forms::Form ^parent, System::Windows::Forms::TabControl ^ctrl, System::Windows::Forms::TabPage ^page, System::Windows::Forms::ToolStripMenuItem ^tool, CPackages *p, Windows::Forms::ImageList ^imagelist, SSettings *set)
|
236 |
cycrow |
56 |
#ifndef DESIGNER
|
|
|
57 |
: BaseForm(parent, ctrl, page, tool, p, imagelist, set),
|
131 |
cycrow |
58 |
_addGameItem(nullptr),
|
|
|
59 |
_removeGameItem(nullptr)
|
236 |
cycrow |
60 |
#endif
|
237 |
cycrow |
61 |
|
1 |
cycrow |
62 |
{
|
131 |
cycrow |
63 |
InitializeComponent();
|
|
|
64 |
m_pSettings = set;
|
|
|
65 |
_init();
|
|
|
66 |
}
|
1 |
cycrow |
67 |
|
131 |
cycrow |
68 |
void _init();
|
1 |
cycrow |
69 |
|
131 |
cycrow |
70 |
void SetImageLists(ImageList ^smallList, ImageList ^largeList, ImageList ^gameList, ImageList ^fileList);
|
94 |
cycrow |
71 |
CGameDirectories *gameDirectories();
|
1 |
cycrow |
72 |
|
|
|
73 |
void CreateShip() {
|
|
|
74 |
if ( m_pPackage ) delete m_pPackage;
|
|
|
75 |
m_pPackage = new CXspFile;
|
217 |
cycrow |
76 |
((CXspFile *)m_pPackage)->setShipData(L"0;0;0;0;0;0;0;0;0;106;1;5;37;0;112;202;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;0;1;0;35;36;1;0;0;0;0;0;1;0;25;1;0;0;0;0;0;SC_NEW_SHIP;");
|
1 |
cycrow |
77 |
}
|
|
|
78 |
void CreatePackage() {
|
|
|
79 |
System::ComponentModel::ComponentResourceManager^ resources = (gcnew System::ComponentModel::ComponentResourceManager(PackageForm::typeid));
|
|
|
80 |
this->Icon = (cli::safe_cast<System::Drawing::Icon^ >(resources->GetObject(L"$this.Icon")));
|
|
|
81 |
if ( m_pPackage ) delete m_pPackage;
|
|
|
82 |
m_pPackage = new CSpkFile;
|
|
|
83 |
}
|
|
|
84 |
void CreateBase() { if ( m_pPackage ) delete m_pPackage; m_pPackage = new CBaseFile; this->UpdateView(); }
|
|
|
85 |
|
|
|
86 |
bool LoadPackage(CBaseFile *base, System::String ^filename);
|
|
|
87 |
CBaseFile *GetPackage() { return m_pPackage; }
|
|
|
88 |
|
|
|
89 |
virtual void Save() new;
|
|
|
90 |
virtual void SaveAs() new;
|
|
|
91 |
|
|
|
92 |
void UpdateChanged()
|
|
|
93 |
{
|
|
|
94 |
if ( m_bLoading )
|
|
|
95 |
return;
|
|
|
96 |
if ( !m_pPackage )
|
|
|
97 |
return;
|
|
|
98 |
|
158 |
cycrow |
99 |
String ^text = _US(CFileIO(m_pPackage->filename()).filename());
|
1 |
cycrow |
100 |
String ^addonText = "";
|
|
|
101 |
if ( text->Length < 1 )
|
|
|
102 |
{
|
|
|
103 |
if ( m_pPackage->GetType() == TYPE_XSP )
|
|
|
104 |
text = "New Ship";
|
|
|
105 |
else
|
|
|
106 |
text = "New Package";
|
|
|
107 |
}
|
|
|
108 |
|
50 |
cycrow |
109 |
if ( m_pPackage->hasChanged() )
|
1 |
cycrow |
110 |
addonText += "*";
|
|
|
111 |
if ( m_pPackage->IsSigned() )
|
|
|
112 |
addonText += " (Signed)";
|
|
|
113 |
m_pTabPage->Text = text + addonText;
|
|
|
114 |
this->Text = m_sFilename + addonText;
|
|
|
115 |
}
|
|
|
116 |
|
|
|
117 |
void Export()
|
|
|
118 |
{
|
|
|
119 |
int game = 0;
|
|
|
120 |
if ( m_pPackage->IsMultipleGamesInPackage() ) {
|
50 |
cycrow |
121 |
SelectGame ^selGame = gcnew SelectGame("Select game to extract package:\n" + _US(m_pPackage->filename()), m_pP);
|
1 |
cycrow |
122 |
if ( selGame->ShowDialog(this) == Windows::Forms::DialogResult::OK ) {
|
|
|
123 |
game = selGame->GetGame() + 1;
|
|
|
124 |
}
|
|
|
125 |
else
|
|
|
126 |
return;
|
|
|
127 |
}
|
|
|
128 |
else if ( m_pPackage->IsAnyGameInPackage() ) {
|
|
|
129 |
game = m_pPackage->FindFirstGameInPackage();
|
|
|
130 |
}
|
|
|
131 |
|
|
|
132 |
SaveFileDialog ^ofd = gcnew SaveFileDialog();
|
|
|
133 |
ofd->Filter = "Zip Archive (*.zip)|*.zip";
|
197 |
cycrow |
134 |
ofd->FileName = _US((CFileIO(m_pPackage->filename()).dir() + L"/" + CFileIO(m_pPackage->filename()).baseName() + L"_" + CBaseFile::ConvertGameToString(game) + L".zip").findReplace(L"/", L"\\"));
|
1 |
cycrow |
135 |
ofd->FilterIndex = 1;
|
|
|
136 |
ofd->RestoreDirectory = true;
|
|
|
137 |
ofd->AddExtension = true;
|
|
|
138 |
ofd->Title = "Select the archive to export to";
|
|
|
139 |
if ( ofd->ShowDialog(this) == Windows::Forms::DialogResult::OK )
|
|
|
140 |
{
|
224 |
cycrow |
141 |
if ( m_pPackage->saveToArchive(_WS(ofd->FileName), game, m_pP->GetGameExe()) )
|
1 |
cycrow |
142 |
MessageBox::Show(this, "Package saved to archive, " + ofd->FileName, "Package Exported", MessageBoxButtons::OK, MessageBoxIcon::Information);
|
|
|
143 |
else
|
|
|
144 |
MessageBox::Show(this, "Unable to export to archive, " + ofd->FileName, "Export Failed", MessageBoxButtons::OK, MessageBoxIcon::Error);
|
|
|
145 |
}
|
|
|
146 |
}
|
|
|
147 |
|
127 |
cycrow |
148 |
protected:
|
|
|
149 |
/// <summary>
|
|
|
150 |
/// Clean up any resources being used.
|
|
|
151 |
/// </summary>
|
|
|
152 |
~PackageForm();
|
|
|
153 |
|
1 |
cycrow |
154 |
private:
|
197 |
cycrow |
155 |
void DropGetDirectories(String ^dir, Utils::WStringList *list, bool packages);
|
1 |
cycrow |
156 |
void UpdateMirrors();
|
|
|
157 |
void UpdatePackageNames();
|
|
|
158 |
void UpdateView();
|
|
|
159 |
void Setup();
|
|
|
160 |
void AddFile(C_File *file);
|
|
|
161 |
void UpdateFileList();
|
|
|
162 |
void UpdateGamesList();
|
|
|
163 |
void AddNewFile();
|
|
|
164 |
bool CheckSave();
|
|
|
165 |
void UpdateGameVersion();
|
|
|
166 |
void AddDisplayPic();
|
|
|
167 |
void UpdateDisplayPic();
|
|
|
168 |
void UpdateDisplayIcon();
|
|
|
169 |
void AddDisplayIcon();
|
|
|
170 |
void UpdateRatings();
|
|
|
171 |
void UpdateText();
|
|
|
172 |
void UpdateTextLang();
|
|
|
173 |
void SaveText();
|
|
|
174 |
void UpdateWares();
|
|
|
175 |
void UpdateWareText();
|
|
|
176 |
void UpdateShipText();
|
|
|
177 |
void LoadShipData();
|
|
|
178 |
void UpdateShipPartList();
|
|
|
179 |
void UpdateDependacies();
|
237 |
cycrow |
180 |
void UpdateGlobals();
|
1 |
cycrow |
181 |
void DoToolTips();
|
|
|
182 |
void EditShipParts(bool edit);
|
|
|
183 |
void RemoveSelectedFiles();
|
|
|
184 |
void UpdateScriptType();
|
|
|
185 |
void ImportData(String ^file, int type);
|
|
|
186 |
void ImportAnimations(String ^file);
|
|
|
187 |
String ^ExtractImport(String ^text, String ^type);
|
|
|
188 |
void EditDepend();
|
237 |
cycrow |
189 |
void AddNewGlobal();
|
|
|
190 |
void EditGlobal();
|
1 |
cycrow |
191 |
|
|
|
192 |
Windows::Forms::ImageList ^imageListFiles;
|
|
|
193 |
CBaseFile *m_pPackage;
|
|
|
194 |
bool m_bSortingAsc;
|
|
|
195 |
int m_iSortingCol;
|
214 |
cycrow |
196 |
Utils::WStringList *m_pTypeList;
|
1 |
cycrow |
197 |
C_File *m_pDisplayFile;
|
|
|
198 |
int m_iSelectedGame;
|
127 |
cycrow |
199 |
CPackages *_pPackages;
|
1 |
cycrow |
200 |
|
127 |
cycrow |
201 |
ToolStripMenuItem ^_addGameItem;
|
|
|
202 |
ToolStripMenuItem ^_removeGameItem;
|
|
|
203 |
|
131 |
cycrow |
204 |
private: System::Windows::Forms::ContextMenuStrip^ ContextShipText;
|
|
|
205 |
private: System::Windows::Forms::ToolStripMenuItem^ addLanguageToolStripMenuItem;
|
|
|
206 |
private: System::Windows::Forms::ToolStripSeparator^ ContextShipTextSep1;
|
|
|
207 |
private: System::Windows::Forms::ToolStripMenuItem^ ContextShipTextEdit;
|
1 |
cycrow |
208 |
private: System::Windows::Forms::ToolStripMenuItem^ ContextShipTextRemove;
|
|
|
209 |
private: System::Windows::Forms::ToolStripSeparator^ ContextShipTextSep2;
|
|
|
210 |
private: System::Windows::Forms::ToolStripMenuItem^ ContextShipTextClear;
|
|
|
211 |
private: System::Windows::Forms::TabPage^ PageRaw;
|
|
|
212 |
private: System::Windows::Forms::Panel^ panel23;
|
|
|
213 |
private: System::Windows::Forms::RichTextBox^ TextShipData;
|
|
|
214 |
private: System::Windows::Forms::CheckBox^ checkBox1;
|
|
|
215 |
private: System::Windows::Forms::Button^ button3;
|
|
|
216 |
private: System::Windows::Forms::Panel^ panel24;
|
|
|
217 |
private: System::Windows::Forms::Label^ label17;
|
|
|
218 |
private: System::Windows::Forms::TabPage^ PageShipComp;
|
|
|
219 |
private: System::Windows::Forms::Panel^ panel25;
|
|
|
220 |
private: System::Windows::Forms::ComboBox^ ComboShipPart;
|
|
|
221 |
private: System::Windows::Forms::Label^ label18;
|
|
|
222 |
private: System::Windows::Forms::Panel^ panel26;
|
|
|
223 |
private: System::Windows::Forms::ListView^ ListShipPart;
|
|
|
224 |
private: System::Windows::Forms::ColumnHeader^ ColumnPart1;
|
|
|
225 |
private: System::Windows::Forms::ColumnHeader^ ColumnPart2;
|
|
|
226 |
private: System::Windows::Forms::ColumnHeader^ ColumnPart3;
|
|
|
227 |
private: System::Windows::Forms::ToolStrip^ toolStrip1;
|
|
|
228 |
private: System::Windows::Forms::ToolStripButton^ toolStripButton2;
|
|
|
229 |
private: System::Windows::Forms::ToolStripButton^ toolStripButton3;
|
|
|
230 |
private: System::Windows::Forms::ToolStripSeparator^ toolStripSeparator3;
|
|
|
231 |
private: System::Windows::Forms::ToolStripButton^ toolStripButton1;
|
|
|
232 |
private: System::Windows::Forms::ContextMenuStrip^ ContextShipPart;
|
|
|
233 |
private: System::Windows::Forms::ToolStripMenuItem^ ContextShipPartAdd;
|
|
|
234 |
private: System::Windows::Forms::ToolStripSeparator^ ContextShipPartSep1;
|
|
|
235 |
private: System::Windows::Forms::ToolStripMenuItem^ ContextShipPartRemove;
|
|
|
236 |
private: System::Windows::Forms::ToolStripMenuItem^ ContextShipPartEdit;
|
|
|
237 |
private: System::Windows::Forms::ToolStripSeparator^ ContextShipPartSep2;
|
|
|
238 |
private: System::Windows::Forms::TabPage^ tabPage4;
|
|
|
239 |
private: System::Windows::Forms::ListView^ ListDep;
|
|
|
240 |
private: System::Windows::Forms::ColumnHeader^ columnHeader22;
|
|
|
241 |
private: System::Windows::Forms::ColumnHeader^ columnHeader23;
|
|
|
242 |
private: System::Windows::Forms::ColumnHeader^ columnHeader24;
|
|
|
243 |
private: System::Windows::Forms::ContextMenuStrip^ ContextDep;
|
|
|
244 |
private: System::Windows::Forms::ToolStripSeparator^ ContextDepSep2;
|
|
|
245 |
private: System::Windows::Forms::ToolStripMenuItem^ ContextDepClear;
|
|
|
246 |
private: System::Windows::Forms::ToolStripMenuItem^ ContextDepRemove;
|
|
|
247 |
private: System::Windows::Forms::ToolStripMenuItem^ addToolStripMenuItem1;
|
|
|
248 |
private: System::Windows::Forms::ToolStripMenuItem^ manualToolStripMenuItem;
|
|
|
249 |
private: System::Windows::Forms::ToolStripSeparator^ ContextDepSep1;
|
|
|
250 |
private: System::Windows::Forms::ToolStripMenuItem^ fromPackageToolStripMenuItem;
|
|
|
251 |
private: System::Windows::Forms::ToolStripMenuItem^ editSelectedToolStripMenuItem;
|
|
|
252 |
private: System::Windows::Forms::ToolStripSeparator^ ContextFileSep2;
|
|
|
253 |
private: System::Windows::Forms::ToolStripMenuItem^ ContextFileClear;
|
|
|
254 |
private: System::Windows::Forms::ToolStripMenuItem^ ContextFileDelete;
|
|
|
255 |
private: System::Windows::Forms::ToolStripMenuItem^ addFileToolStripMenuItem;
|
|
|
256 |
private: System::Windows::Forms::ToolStripSeparator^ ContextFileSep1;
|
|
|
257 |
private: System::Windows::Forms::ToolStripMenuItem^ ContextFileEdit;
|
|
|
258 |
private: System::Windows::Forms::TextBox^ TextCustomType;
|
|
|
259 |
private: System::Windows::Forms::ToolStripMenuItem^ importTextToolStripMenuItem;
|
|
|
260 |
private: System::Windows::Forms::ToolStripMenuItem^ fromFileToolStripMenuItem;
|
|
|
261 |
private: System::Windows::Forms::ToolStripMenuItem^ fromDirectoryToolStripMenuItem;
|
|
|
262 |
private: System::Windows::Forms::ToolStripMenuItem^ fromModToolStripMenuItem;
|
|
|
263 |
private: System::Windows::Forms::ToolStripMenuItem^ importToolStripMenuItem;
|
|
|
264 |
private: System::Windows::Forms::ToolTip^ toolTip1;
|
|
|
265 |
private: System::Windows::Forms::ToolTip^ toolTip2;
|
|
|
266 |
private: System::Windows::Forms::ToolStripMenuItem^ packFileToolStripMenuItem;
|
|
|
267 |
private: System::Windows::Forms::ToolStripMenuItem^ unpackFileToolStripMenuItem;
|
|
|
268 |
private: System::Windows::Forms::ToolStripMenuItem^ convertToFakePatchToolStripMenuItem;
|
|
|
269 |
private: System::Windows::Forms::ToolStripMenuItem^ convertToNormalModToolStripMenuItem;
|
|
|
270 |
private: System::Windows::Forms::ToolStripMenuItem^ renameFileToolStripMenuItem;
|
|
|
271 |
private: System::Windows::Forms::ToolStripButton^ toolStripButton4;
|
|
|
272 |
private: System::Windows::Forms::Label^ LabelShipWarning;
|
|
|
273 |
private: System::Windows::Forms::FlowLayoutPanel^ flowLayoutPanel3;
|
|
|
274 |
private: System::Windows::Forms::Button^ button5;
|
|
|
275 |
private: System::Windows::Forms::ToolStripSeparator^ toolStripSeparator4;
|
|
|
276 |
private: System::Windows::Forms::ToolStripButton^ ToolCustomise;
|
|
|
277 |
private: System::Windows::Forms::ToolStripButton^ toolStripButton5;
|
|
|
278 |
private: System::Windows::Forms::ToolStripSeparator^ toolStripSeparator5;
|
|
|
279 |
private: System::Windows::Forms::ToolStripMenuItem^ convertToAutoTextFileToolStripMenuItem;
|
|
|
280 |
private: System::Windows::Forms::ColumnHeader^ columnHeader25;
|
|
|
281 |
private: System::Windows::Forms::TabPage^ tabPage5;
|
|
|
282 |
private: System::Windows::Forms::GroupBox^ groupBox8;
|
|
|
283 |
private: System::Windows::Forms::Panel^ panel10;
|
|
|
284 |
private: System::Windows::Forms::Panel^ panel21;
|
|
|
285 |
private: System::Windows::Forms::ComboBox^ ComboVersion;
|
|
|
286 |
private: System::Windows::Forms::TextBox^ TextExactVersion;
|
|
|
287 |
private: System::Windows::Forms::Button^ ButGame;
|
|
|
288 |
private: System::Windows::Forms::ListView^ ListGames;
|
|
|
289 |
private: System::Windows::Forms::ColumnHeader^ columnHeader26;
|
|
|
290 |
private: System::Windows::Forms::ColumnHeader^ columnHeader27;
|
|
|
291 |
private: System::Windows::Forms::Button^ ButGameAdd;
|
|
|
292 |
private: System::Windows::Forms::ColumnHeader^ columnHeader28;
|
|
|
293 |
private: System::Windows::Forms::ToolStripMenuItem^ ToolGame;
|
|
|
294 |
private: System::Windows::Forms::ComboBox^ ComboGameFilter;
|
|
|
295 |
private: System::Windows::Forms::ToolStripMenuItem^ ContextShipPartClear;
|
131 |
cycrow |
296 |
private: System::Windows::Forms::Panel^ panel6;
|
|
|
297 |
private: System::Windows::Forms::Button^ ButRemoveFile;
|
|
|
298 |
private: System::Windows::Forms::Button^ button2;
|
|
|
299 |
private: System::Windows::Forms::Button^ button1;
|
|
|
300 |
private: System::Windows::Forms::ColumnHeader^ columnHeader18;
|
|
|
301 |
private: System::Windows::Forms::Panel^ panel22;
|
|
|
302 |
private: System::Windows::Forms::Label^ label15;
|
|
|
303 |
private: System::Windows::Forms::ComboBox^ ComboPluginType;
|
|
|
304 |
private: System::Windows::Forms::TabPage^ PageShip;
|
|
|
305 |
private: System::Windows::Forms::CheckBox^ CheckShipID;
|
|
|
306 |
private: System::Windows::Forms::FlowLayoutPanel^ flowLayoutPanel2;
|
|
|
307 |
private: System::Windows::Forms::CheckBox^ CheckSYArgon;
|
|
|
308 |
private: System::Windows::Forms::CheckBox^ CheckSYBoron;
|
|
|
309 |
private: System::Windows::Forms::CheckBox^ CheckSYParanid;
|
|
|
310 |
private: System::Windows::Forms::CheckBox^ CheckSYTeladi;
|
|
|
311 |
private: System::Windows::Forms::CheckBox^ CheckSYSplit;
|
|
|
312 |
private: System::Windows::Forms::CheckBox^ CheckSYPirate;
|
|
|
313 |
private: System::Windows::Forms::CheckBox^ CheckSYFriend;
|
|
|
314 |
private: System::Windows::Forms::CheckBox^ CheckSYXenon;
|
|
|
315 |
private: System::Windows::Forms::CheckBox^ CheckSYTerran;
|
|
|
316 |
private: System::Windows::Forms::CheckBox^ CheckSYATF;
|
|
|
317 |
private: System::Windows::Forms::ListView^ ListShipText;
|
|
|
318 |
private: System::Windows::Forms::CheckBox^ CheckSYYaki;
|
|
|
319 |
private: System::Windows::Forms::CheckBox^ CheckExistingText;
|
|
|
320 |
private: System::Windows::Forms::ColumnHeader^ columnHeader19;
|
|
|
321 |
private: System::Windows::Forms::ColumnHeader^ columnHeader20;
|
|
|
322 |
private: System::Windows::Forms::ColumnHeader^ columnHeader21;
|
|
|
323 |
private: System::Windows::Forms::Panel^ PanelTextID;
|
|
|
324 |
private: System::Windows::Forms::NumericUpDown^ NumTextID;
|
|
|
325 |
private: System::Windows::Forms::Label^ label6;
|
|
|
326 |
private: System::Windows::Forms::Panel^ PanelShip;
|
|
|
327 |
private: System::Windows::Forms::TextBox^ TextShipID;
|
|
|
328 |
private: System::Windows::Forms::Label^ label16;
|
|
|
329 |
private: System::Windows::Forms::Panel^ panel7;
|
|
|
330 |
private: System::Windows::Forms::GroupBox^ groupBox2;
|
|
|
331 |
private: System::Windows::Forms::RichTextBox^ TextDesc;
|
|
|
332 |
private: System::Windows::Forms::Panel^ panel8;
|
|
|
333 |
private: System::Windows::Forms::Label^ label7;
|
|
|
334 |
private: System::Windows::Forms::RadioButton^ RadioTypeUpdate;
|
|
|
335 |
private: System::Windows::Forms::RadioButton^ RadioTypeStart;
|
|
|
336 |
private: System::Windows::Forms::RadioButton^ RadioTypeScript;
|
|
|
337 |
private: System::Windows::Forms::FlowLayoutPanel^ flowLayoutPanel1;
|
|
|
338 |
private: System::Windows::Forms::RadioButton^ RadioTypeLibrary;
|
|
|
339 |
private: System::Windows::Forms::RadioButton^ RadioTypePatch;
|
|
|
340 |
private: System::Windows::Forms::Panel^ panel9;
|
|
|
341 |
private: System::Windows::Forms::ComboBox^ ComboType;
|
|
|
342 |
private: System::Windows::Forms::TabPage^ PagePackage;
|
|
|
343 |
private: System::Windows::Forms::TabPage^ tabPage2;
|
|
|
344 |
private: System::Windows::Forms::Panel^ panel12;
|
|
|
345 |
private: System::Windows::Forms::Label^ label10;
|
|
|
346 |
private: System::Windows::Forms::Panel^ panel11;
|
|
|
347 |
private: System::Windows::Forms::Label^ label9;
|
|
|
348 |
private: System::Windows::Forms::Panel^ panel13;
|
|
|
349 |
private: System::Windows::Forms::Label^ label11;
|
1 |
cycrow |
350 |
private: System::Windows::Forms::TabPage^ tabPage3;
|
|
|
351 |
private: System::Windows::Forms::GroupBox^ groupBox3;
|
|
|
352 |
private: System::Windows::Forms::CheckBox^ CheckOther;
|
|
|
353 |
private: System::Windows::Forms::Label^ label13;
|
|
|
354 |
private: System::Windows::Forms::TextBox^ TextOtherName;
|
|
|
355 |
private: System::Windows::Forms::Label^ label12;
|
|
|
356 |
private: System::Windows::Forms::TextBox^ TextOtherAuthor;
|
|
|
357 |
private: System::Windows::Forms::Button^ ButFromFile;
|
|
|
358 |
private: System::Windows::Forms::GroupBox^ groupBox4;
|
|
|
359 |
private: System::Windows::Forms::Label^ label14;
|
|
|
360 |
private: System::Windows::Forms::ListView^ ListNames;
|
|
|
361 |
private: System::Windows::Forms::ColumnHeader^ columnHeader7;
|
|
|
362 |
private: System::Windows::Forms::ColumnHeader^ columnHeader8;
|
|
|
363 |
private: System::Windows::Forms::ListView^ ListMirrors;
|
|
|
364 |
private: System::Windows::Forms::ColumnHeader^ columnHeader6;
|
|
|
365 |
private: System::Windows::Forms::Panel^ panel14;
|
|
|
366 |
private: System::Windows::Forms::ContextMenuStrip^ ContextMirror;
|
|
|
367 |
private: System::Windows::Forms::ContextMenuStrip^ ContextLangName;
|
|
|
368 |
private: System::Windows::Forms::ToolStripMenuItem^ addMirrorToolStripMenuItem;
|
|
|
369 |
private: System::Windows::Forms::ToolStripSeparator^ toolStripSeparator1;
|
|
|
370 |
private: System::Windows::Forms::ToolStripMenuItem^ clearAllToolStripMenuItem;
|
|
|
371 |
private: System::Windows::Forms::ToolStripMenuItem^ ContextRemoveMirror;
|
|
|
372 |
private: System::Windows::Forms::ToolStripMenuItem^ addToolStripMenuItem;
|
|
|
373 |
private: System::Windows::Forms::ToolStripSeparator^ toolStripSeparator2;
|
|
|
374 |
private: System::Windows::Forms::ToolStripMenuItem^ ContextEditName;
|
|
|
375 |
private: System::Windows::Forms::ToolStripMenuItem^ ContextRemoveName;
|
|
|
376 |
private: System::Windows::Forms::ToolStripSeparator^ ContextNameSep;
|
|
|
377 |
private: System::Windows::Forms::ToolStripMenuItem^ clearAllToolStripMenuItem1;
|
|
|
378 |
private: System::Windows::Forms::Panel^ panel15;
|
|
|
379 |
private: System::Windows::Forms::Panel^ panel16;
|
|
|
380 |
private: System::Windows::Forms::Button^ ButPicAdd;
|
|
|
381 |
private: System::Windows::Forms::Button^ ButPicDel;
|
|
|
382 |
private: System::Windows::Forms::Button^ ButPicNext;
|
|
|
383 |
private: System::Windows::Forms::Button^ ButPicBack;
|
|
|
384 |
private: System::Windows::Forms::PictureBox^ DisplayPicture;
|
|
|
385 |
private: System::Windows::Forms::GroupBox^ groupBox5;
|
|
|
386 |
private: System::Windows::Forms::PictureBox^ DisplayIcon;
|
|
|
387 |
private: System::Windows::Forms::Button^ button4;
|
|
|
388 |
private: System::Windows::Forms::Button^ ButIconDel;
|
|
|
389 |
private: System::Windows::Forms::GroupBox^ groupBox6;
|
|
|
390 |
private: System::Windows::Forms::Panel^ panel17;
|
|
|
391 |
private: System::Windows::Forms::GroupBox^ GroupChange;
|
|
|
392 |
private: System::Windows::Forms::GroupBox^ GroupRec;
|
|
|
393 |
private: System::Windows::Forms::GroupBox^ GroupEase;
|
|
|
394 |
private: System::Windows::Forms::PictureBox^ PicRec4;
|
|
|
395 |
private: System::Windows::Forms::PictureBox^ PicRec3;
|
|
|
396 |
private: System::Windows::Forms::PictureBox^ PicRec2;
|
|
|
397 |
private: System::Windows::Forms::PictureBox^ PicRec1;
|
|
|
398 |
private: System::Windows::Forms::PictureBox^ PicEase5;
|
|
|
399 |
private: System::Windows::Forms::PictureBox^ PicEase4;
|
|
|
400 |
private: System::Windows::Forms::PictureBox^ PicEase3;
|
|
|
401 |
private: System::Windows::Forms::PictureBox^ PicEase2;
|
|
|
402 |
private: System::Windows::Forms::PictureBox^ PicEase1;
|
|
|
403 |
private: System::Windows::Forms::PictureBox^ PicChange4;
|
|
|
404 |
private: System::Windows::Forms::PictureBox^ PicChange3;
|
|
|
405 |
private: System::Windows::Forms::PictureBox^ PicChange2;
|
|
|
406 |
private: System::Windows::Forms::PictureBox^ PicChange5;
|
|
|
407 |
private: System::Windows::Forms::PictureBox^ PicChange1;
|
|
|
408 |
private: System::Windows::Forms::GroupBox^ groupBox7;
|
|
|
409 |
private: System::Windows::Forms::Panel^ panel19;
|
|
|
410 |
private: System::Windows::Forms::Button^ ButTextAdd;
|
|
|
411 |
private: System::Windows::Forms::Button^ ButTextDel;
|
|
|
412 |
private: System::Windows::Forms::ListBox^ ListLang;
|
|
|
413 |
private: System::Windows::Forms::RichTextBox^ TextText;
|
|
|
414 |
private: System::Windows::Forms::Panel^ panel18;
|
|
|
415 |
private: System::Windows::Forms::RadioButton^ RadioInstallAfter;
|
|
|
416 |
private: System::Windows::Forms::RadioButton^ RadioInstallBefore;
|
|
|
417 |
private: System::Windows::Forms::Panel^ panel20;
|
|
|
418 |
private: System::Windows::Forms::RadioButton^ RadioUninstallAfter;
|
|
|
419 |
private: System::Windows::Forms::RadioButton^ RadioUninstallBefore;
|
|
|
420 |
private: System::Windows::Forms::TabPage^ PageWares;
|
|
|
421 |
private: System::Windows::Forms::SplitContainer^ splitContainer1;
|
|
|
422 |
private: System::Windows::Forms::ListView^ ListWares;
|
|
|
423 |
private: System::Windows::Forms::ColumnHeader^ columnHeader9;
|
|
|
424 |
private: System::Windows::Forms::ColumnHeader^ columnHeader10;
|
|
|
425 |
private: System::Windows::Forms::ColumnHeader^ columnHeader11;
|
|
|
426 |
private: System::Windows::Forms::ColumnHeader^ columnHeader12;
|
|
|
427 |
private: System::Windows::Forms::ColumnHeader^ columnHeader13;
|
|
|
428 |
private: System::Windows::Forms::ColumnHeader^ columnHeader14;
|
|
|
429 |
private: System::Windows::Forms::ListView^ ListWareText;
|
|
|
430 |
private: System::Windows::Forms::ColumnHeader^ columnHeader15;
|
|
|
431 |
private: System::Windows::Forms::ColumnHeader^ columnHeader16;
|
|
|
432 |
private: System::Windows::Forms::ColumnHeader^ columnHeader17;
|
|
|
433 |
private: System::Windows::Forms::ContextMenuStrip^ ContextWare;
|
|
|
434 |
private: System::Windows::Forms::ToolStripMenuItem^ addWareToolStripMenuItem;
|
|
|
435 |
private: System::Windows::Forms::ToolStripSeparator^ ContextWareSep1;
|
|
|
436 |
private: System::Windows::Forms::ToolStripMenuItem^ ContextWareEdit;
|
|
|
437 |
private: System::Windows::Forms::ToolStripMenuItem^ ContextWareRemove;
|
|
|
438 |
private: System::Windows::Forms::ToolStripSeparator^ ContextWareSep2;
|
|
|
439 |
private: System::Windows::Forms::ToolStripMenuItem^ ContextWareClear;
|
|
|
440 |
private: System::Windows::Forms::ContextMenuStrip^ ContextWareText;
|
|
|
441 |
private: System::Windows::Forms::ToolStripMenuItem^ addTextToolStripMenuItem;
|
|
|
442 |
private: System::Windows::Forms::ToolStripSeparator^ ContextWTSep1;
|
|
|
443 |
private: System::Windows::Forms::ToolStripMenuItem^ ContextWTRemove;
|
|
|
444 |
private: System::Windows::Forms::ToolStripMenuItem^ ContextWTEdit;
|
|
|
445 |
private: System::Windows::Forms::ToolStripSeparator^ ContextWTSep2;
|
|
|
446 |
private: System::Windows::Forms::ToolStripMenuItem^ ContextWTClear;
|
|
|
447 |
private: System::Windows::Forms::PictureBox^ PicRec5;
|
|
|
448 |
private: System::Windows::Forms::RichTextBox^ TextForum;
|
|
|
449 |
private: System::Windows::Forms::RichTextBox^ TextEmail;
|
|
|
450 |
private: System::Windows::Forms::RichTextBox^ TextWebsite;
|
|
|
451 |
private: System::Windows::Forms::ContextMenuStrip^ ContextFiles;
|
|
|
452 |
private: System::Windows::Forms::RichTextBox^ TextWebAddress;
|
|
|
453 |
private: System::Windows::Forms::ContextMenuStrip^ ContextGames;
|
|
|
454 |
private: System::Windows::Forms::ToolStripMenuItem^ testToolStripMenuItem;
|
|
|
455 |
private: System::Windows::Forms::GroupBox^ groupBox1;
|
131 |
cycrow |
456 |
private: System::Windows::Forms::TabControl^ tabControl1;
|
|
|
457 |
private: System::Windows::Forms::TabPage^ tabPage1;
|
|
|
458 |
private: System::Windows::Forms::Panel^ panel1;
|
|
|
459 |
private: System::Windows::Forms::TextBox^ TextName;
|
|
|
460 |
private: System::Windows::Forms::Label^ label1;
|
|
|
461 |
private: System::Windows::Forms::Panel^ panel2;
|
|
|
462 |
private: System::Windows::Forms::TextBox^ TextAuthor;
|
|
|
463 |
private: System::Windows::Forms::Label^ label2;
|
|
|
464 |
private: System::Windows::Forms::Panel^ panel3;
|
|
|
465 |
private: System::Windows::Forms::TextBox^ TextVersion;
|
|
|
466 |
private: System::Windows::Forms::Label^ label3;
|
|
|
467 |
private: System::Windows::Forms::Panel^ panel4;
|
|
|
468 |
private: System::Windows::Forms::Label^ label4;
|
|
|
469 |
private: System::Windows::Forms::ListView^ ListFiles;
|
|
|
470 |
private: System::Windows::Forms::Panel^ panel5;
|
|
|
471 |
private: System::Windows::Forms::ComboBox^ ComboFileType;
|
|
|
472 |
private: System::Windows::Forms::Label^ label5;
|
|
|
473 |
private: System::Windows::Forms::DateTimePicker^ CreationDate;
|
|
|
474 |
private: System::Windows::Forms::ColumnHeader^ columnHeader1;
|
|
|
475 |
private: System::Windows::Forms::ColumnHeader^ columnHeader2;
|
|
|
476 |
private: System::Windows::Forms::ColumnHeader^ columnHeader3;
|
|
|
477 |
private: System::Windows::Forms::ColumnHeader^ columnHeader4;
|
|
|
478 |
private: System::Windows::Forms::ColumnHeader^ columnHeader5;
|
237 |
cycrow |
479 |
private: System::Windows::Forms::TabPage^ tabGlobals;
|
|
|
480 |
private: System::Windows::Forms::Button^ butGlobalClear;
|
|
|
481 |
private: System::Windows::Forms::Button^ butAddGlobal;
|
|
|
482 |
private: System::Windows::Forms::ListView^ listGlobals;
|
|
|
483 |
private: System::Windows::Forms::ColumnHeader^ ColGlobalName;
|
|
|
484 |
private: System::Windows::Forms::ColumnHeader^ ColGlobalValue;
|
|
|
485 |
private: System::Windows::Forms::ContextMenuStrip^ contextGlobal;
|
|
|
486 |
private: System::Windows::Forms::ToolStripMenuItem^ addNewToolStripMenuItem;
|
|
|
487 |
private: System::Windows::Forms::ToolStripSeparator^ toolStripSeparator6;
|
|
|
488 |
private: System::Windows::Forms::ToolStripMenuItem^ editSelectedToolStripMenuItem1;
|
|
|
489 |
private: System::Windows::Forms::ToolStripMenuItem^ removeSelectedToolStripMenuItem;
|
|
|
490 |
private: System::Windows::Forms::ToolStripSeparator^ toolStripSeparator7;
|
|
|
491 |
private: System::Windows::Forms::ToolStripMenuItem^ clearAllToolStripMenuItem2;
|
1 |
cycrow |
492 |
|
237 |
cycrow |
493 |
|
|
|
494 |
|
|
|
495 |
private: System::ComponentModel::IContainer^ components;
|
|
|
496 |
|
1 |
cycrow |
497 |
/// <summary>
|
|
|
498 |
/// Required designer variable.
|
|
|
499 |
/// </summary>
|
|
|
500 |
|
|
|
501 |
#pragma region Windows Form Designer generated code
|
|
|
502 |
/// <summary>
|
|
|
503 |
/// Required method for Designer support - do not modify
|
|
|
504 |
/// the contents of this method with the code editor.
|
|
|
505 |
/// </summary>
|
|
|
506 |
void InitializeComponent(void)
|
|
|
507 |
{
|
|
|
508 |
this->components = (gcnew System::ComponentModel::Container());
|
236 |
cycrow |
509 |
System::ComponentModel::ComponentResourceManager^ resources = (gcnew System::ComponentModel::ComponentResourceManager(PackageForm::typeid));
|
1 |
cycrow |
510 |
this->PicChange5 = (gcnew System::Windows::Forms::PictureBox());
|
|
|
511 |
this->PicChange1 = (gcnew System::Windows::Forms::PictureBox());
|
|
|
512 |
this->PicRec5 = (gcnew System::Windows::Forms::PictureBox());
|
|
|
513 |
this->groupBox1 = (gcnew System::Windows::Forms::GroupBox());
|
|
|
514 |
this->ListFiles = (gcnew System::Windows::Forms::ListView());
|
|
|
515 |
this->columnHeader1 = (gcnew System::Windows::Forms::ColumnHeader());
|
|
|
516 |
this->columnHeader2 = (gcnew System::Windows::Forms::ColumnHeader());
|
|
|
517 |
this->columnHeader3 = (gcnew System::Windows::Forms::ColumnHeader());
|
|
|
518 |
this->columnHeader4 = (gcnew System::Windows::Forms::ColumnHeader());
|
|
|
519 |
this->columnHeader5 = (gcnew System::Windows::Forms::ColumnHeader());
|
|
|
520 |
this->columnHeader25 = (gcnew System::Windows::Forms::ColumnHeader());
|
|
|
521 |
this->columnHeader28 = (gcnew System::Windows::Forms::ColumnHeader());
|
|
|
522 |
this->ContextFiles = (gcnew System::Windows::Forms::ContextMenuStrip(this->components));
|
|
|
523 |
this->addFileToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
|
|
|
524 |
this->ContextFileSep1 = (gcnew System::Windows::Forms::ToolStripSeparator());
|
|
|
525 |
this->ContextFileEdit = (gcnew System::Windows::Forms::ToolStripMenuItem());
|
|
|
526 |
this->ContextFileDelete = (gcnew System::Windows::Forms::ToolStripMenuItem());
|
|
|
527 |
this->renameFileToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
|
|
|
528 |
this->toolStripSeparator5 = (gcnew System::Windows::Forms::ToolStripSeparator());
|
|
|
529 |
this->ToolGame = (gcnew System::Windows::Forms::ToolStripMenuItem());
|
|
|
530 |
this->packFileToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
|
|
|
531 |
this->unpackFileToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
|
|
|
532 |
this->convertToFakePatchToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
|
|
|
533 |
this->convertToAutoTextFileToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
|
|
|
534 |
this->convertToNormalModToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
|
|
|
535 |
this->ContextFileSep2 = (gcnew System::Windows::Forms::ToolStripSeparator());
|
|
|
536 |
this->ContextFileClear = (gcnew System::Windows::Forms::ToolStripMenuItem());
|
|
|
537 |
this->panel6 = (gcnew System::Windows::Forms::Panel());
|
|
|
538 |
this->ButRemoveFile = (gcnew System::Windows::Forms::Button());
|
|
|
539 |
this->button2 = (gcnew System::Windows::Forms::Button());
|
|
|
540 |
this->button1 = (gcnew System::Windows::Forms::Button());
|
|
|
541 |
this->panel5 = (gcnew System::Windows::Forms::Panel());
|
|
|
542 |
this->ComboFileType = (gcnew System::Windows::Forms::ComboBox());
|
|
|
543 |
this->ComboGameFilter = (gcnew System::Windows::Forms::ComboBox());
|
|
|
544 |
this->label5 = (gcnew System::Windows::Forms::Label());
|
|
|
545 |
this->tabControl1 = (gcnew System::Windows::Forms::TabControl());
|
|
|
546 |
this->tabPage1 = (gcnew System::Windows::Forms::TabPage());
|
|
|
547 |
this->groupBox2 = (gcnew System::Windows::Forms::GroupBox());
|
|
|
548 |
this->TextDesc = (gcnew System::Windows::Forms::RichTextBox());
|
|
|
549 |
this->panel13 = (gcnew System::Windows::Forms::Panel());
|
|
|
550 |
this->TextForum = (gcnew System::Windows::Forms::RichTextBox());
|
|
|
551 |
this->label11 = (gcnew System::Windows::Forms::Label());
|
|
|
552 |
this->panel12 = (gcnew System::Windows::Forms::Panel());
|
|
|
553 |
this->TextEmail = (gcnew System::Windows::Forms::RichTextBox());
|
|
|
554 |
this->label10 = (gcnew System::Windows::Forms::Label());
|
|
|
555 |
this->panel11 = (gcnew System::Windows::Forms::Panel());
|
|
|
556 |
this->TextWebsite = (gcnew System::Windows::Forms::RichTextBox());
|
|
|
557 |
this->label9 = (gcnew System::Windows::Forms::Label());
|
|
|
558 |
this->LabelShipWarning = (gcnew System::Windows::Forms::Label());
|
|
|
559 |
this->tabPage5 = (gcnew System::Windows::Forms::TabPage());
|
|
|
560 |
this->ListGames = (gcnew System::Windows::Forms::ListView());
|
|
|
561 |
this->columnHeader26 = (gcnew System::Windows::Forms::ColumnHeader());
|
|
|
562 |
this->columnHeader27 = (gcnew System::Windows::Forms::ColumnHeader());
|
|
|
563 |
this->groupBox8 = (gcnew System::Windows::Forms::GroupBox());
|
|
|
564 |
this->panel10 = (gcnew System::Windows::Forms::Panel());
|
|
|
565 |
this->panel21 = (gcnew System::Windows::Forms::Panel());
|
|
|
566 |
this->ComboVersion = (gcnew System::Windows::Forms::ComboBox());
|
|
|
567 |
this->TextExactVersion = (gcnew System::Windows::Forms::TextBox());
|
|
|
568 |
this->ButGameAdd = (gcnew System::Windows::Forms::Button());
|
|
|
569 |
this->ButGame = (gcnew System::Windows::Forms::Button());
|
|
|
570 |
this->ContextGames = (gcnew System::Windows::Forms::ContextMenuStrip(this->components));
|
|
|
571 |
this->testToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
|
|
|
572 |
this->PagePackage = (gcnew System::Windows::Forms::TabPage());
|
|
|
573 |
this->groupBox3 = (gcnew System::Windows::Forms::GroupBox());
|
|
|
574 |
this->TextOtherName = (gcnew System::Windows::Forms::TextBox());
|
|
|
575 |
this->label13 = (gcnew System::Windows::Forms::Label());
|
|
|
576 |
this->label12 = (gcnew System::Windows::Forms::Label());
|
|
|
577 |
this->CheckOther = (gcnew System::Windows::Forms::CheckBox());
|
|
|
578 |
this->TextOtherAuthor = (gcnew System::Windows::Forms::TextBox());
|
|
|
579 |
this->ButFromFile = (gcnew System::Windows::Forms::Button());
|
|
|
580 |
this->panel22 = (gcnew System::Windows::Forms::Panel());
|
|
|
581 |
this->ComboPluginType = (gcnew System::Windows::Forms::ComboBox());
|
|
|
582 |
this->label15 = (gcnew System::Windows::Forms::Label());
|
|
|
583 |
this->panel7 = (gcnew System::Windows::Forms::Panel());
|
|
|
584 |
this->panel8 = (gcnew System::Windows::Forms::Panel());
|
|
|
585 |
this->flowLayoutPanel1 = (gcnew System::Windows::Forms::FlowLayoutPanel());
|
|
|
586 |
this->RadioTypeUpdate = (gcnew System::Windows::Forms::RadioButton());
|
|
|
587 |
this->RadioTypeLibrary = (gcnew System::Windows::Forms::RadioButton());
|
|
|
588 |
this->RadioTypeStart = (gcnew System::Windows::Forms::RadioButton());
|
|
|
589 |
this->RadioTypePatch = (gcnew System::Windows::Forms::RadioButton());
|
|
|
590 |
this->panel9 = (gcnew System::Windows::Forms::Panel());
|
|
|
591 |
this->TextCustomType = (gcnew System::Windows::Forms::TextBox());
|
|
|
592 |
this->ComboType = (gcnew System::Windows::Forms::ComboBox());
|
|
|
593 |
this->RadioTypeScript = (gcnew System::Windows::Forms::RadioButton());
|
|
|
594 |
this->label7 = (gcnew System::Windows::Forms::Label());
|
|
|
595 |
this->tabPage3 = (gcnew System::Windows::Forms::TabPage());
|
|
|
596 |
this->groupBox7 = (gcnew System::Windows::Forms::GroupBox());
|
|
|
597 |
this->TextText = (gcnew System::Windows::Forms::RichTextBox());
|
|
|
598 |
this->panel19 = (gcnew System::Windows::Forms::Panel());
|
|
|
599 |
this->ListLang = (gcnew System::Windows::Forms::ListBox());
|
|
|
600 |
this->panel20 = (gcnew System::Windows::Forms::Panel());
|
|
|
601 |
this->ButTextDel = (gcnew System::Windows::Forms::Button());
|
|
|
602 |
this->ButTextAdd = (gcnew System::Windows::Forms::Button());
|
|
|
603 |
this->panel18 = (gcnew System::Windows::Forms::Panel());
|
|
|
604 |
this->RadioUninstallAfter = (gcnew System::Windows::Forms::RadioButton());
|
|
|
605 |
this->RadioUninstallBefore = (gcnew System::Windows::Forms::RadioButton());
|
|
|
606 |
this->RadioInstallAfter = (gcnew System::Windows::Forms::RadioButton());
|
|
|
607 |
this->RadioInstallBefore = (gcnew System::Windows::Forms::RadioButton());
|
|
|
608 |
this->groupBox6 = (gcnew System::Windows::Forms::GroupBox());
|
|
|
609 |
this->panel17 = (gcnew System::Windows::Forms::Panel());
|
|
|
610 |
this->GroupChange = (gcnew System::Windows::Forms::GroupBox());
|
|
|
611 |
this->PicChange4 = (gcnew System::Windows::Forms::PictureBox());
|
|
|
612 |
this->PicChange3 = (gcnew System::Windows::Forms::PictureBox());
|
|
|
613 |
this->PicChange2 = (gcnew System::Windows::Forms::PictureBox());
|
|
|
614 |
this->GroupRec = (gcnew System::Windows::Forms::GroupBox());
|
|
|
615 |
this->PicRec4 = (gcnew System::Windows::Forms::PictureBox());
|
|
|
616 |
this->PicRec3 = (gcnew System::Windows::Forms::PictureBox());
|
|
|
617 |
this->PicRec2 = (gcnew System::Windows::Forms::PictureBox());
|
|
|
618 |
this->PicRec1 = (gcnew System::Windows::Forms::PictureBox());
|
|
|
619 |
this->GroupEase = (gcnew System::Windows::Forms::GroupBox());
|
|
|
620 |
this->PicEase5 = (gcnew System::Windows::Forms::PictureBox());
|
|
|
621 |
this->PicEase4 = (gcnew System::Windows::Forms::PictureBox());
|
|
|
622 |
this->PicEase3 = (gcnew System::Windows::Forms::PictureBox());
|
|
|
623 |
this->PicEase2 = (gcnew System::Windows::Forms::PictureBox());
|
|
|
624 |
this->PicEase1 = (gcnew System::Windows::Forms::PictureBox());
|
|
|
625 |
this->groupBox5 = (gcnew System::Windows::Forms::GroupBox());
|
|
|
626 |
this->ButIconDel = (gcnew System::Windows::Forms::Button());
|
|
|
627 |
this->DisplayIcon = (gcnew System::Windows::Forms::PictureBox());
|
|
|
628 |
this->button4 = (gcnew System::Windows::Forms::Button());
|
|
|
629 |
this->panel15 = (gcnew System::Windows::Forms::Panel());
|
|
|
630 |
this->DisplayPicture = (gcnew System::Windows::Forms::PictureBox());
|
|
|
631 |
this->panel16 = (gcnew System::Windows::Forms::Panel());
|
|
|
632 |
this->ButPicAdd = (gcnew System::Windows::Forms::Button());
|
|
|
633 |
this->ButPicDel = (gcnew System::Windows::Forms::Button());
|
|
|
634 |
this->ButPicNext = (gcnew System::Windows::Forms::Button());
|
|
|
635 |
this->ButPicBack = (gcnew System::Windows::Forms::Button());
|
|
|
636 |
this->tabPage2 = (gcnew System::Windows::Forms::TabPage());
|
|
|
637 |
this->ListNames = (gcnew System::Windows::Forms::ListView());
|
|
|
638 |
this->columnHeader7 = (gcnew System::Windows::Forms::ColumnHeader());
|
|
|
639 |
this->columnHeader8 = (gcnew System::Windows::Forms::ColumnHeader());
|
|
|
640 |
this->ContextLangName = (gcnew System::Windows::Forms::ContextMenuStrip(this->components));
|
|
|
641 |
this->addToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
|
|
|
642 |
this->toolStripSeparator2 = (gcnew System::Windows::Forms::ToolStripSeparator());
|
|
|
643 |
this->ContextEditName = (gcnew System::Windows::Forms::ToolStripMenuItem());
|
|
|
644 |
this->ContextRemoveName = (gcnew System::Windows::Forms::ToolStripMenuItem());
|
|
|
645 |
this->ContextNameSep = (gcnew System::Windows::Forms::ToolStripSeparator());
|
|
|
646 |
this->clearAllToolStripMenuItem1 = (gcnew System::Windows::Forms::ToolStripMenuItem());
|
|
|
647 |
this->groupBox4 = (gcnew System::Windows::Forms::GroupBox());
|
|
|
648 |
this->ListMirrors = (gcnew System::Windows::Forms::ListView());
|
|
|
649 |
this->columnHeader6 = (gcnew System::Windows::Forms::ColumnHeader());
|
|
|
650 |
this->ContextMirror = (gcnew System::Windows::Forms::ContextMenuStrip(this->components));
|
|
|
651 |
this->addMirrorToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
|
|
|
652 |
this->toolStripSeparator1 = (gcnew System::Windows::Forms::ToolStripSeparator());
|
|
|
653 |
this->ContextRemoveMirror = (gcnew System::Windows::Forms::ToolStripMenuItem());
|
|
|
654 |
this->clearAllToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
|
|
|
655 |
this->panel14 = (gcnew System::Windows::Forms::Panel());
|
|
|
656 |
this->TextWebAddress = (gcnew System::Windows::Forms::RichTextBox());
|
|
|
657 |
this->label14 = (gcnew System::Windows::Forms::Label());
|
|
|
658 |
this->tabPage4 = (gcnew System::Windows::Forms::TabPage());
|
|
|
659 |
this->ListDep = (gcnew System::Windows::Forms::ListView());
|
|
|
660 |
this->columnHeader22 = (gcnew System::Windows::Forms::ColumnHeader());
|
|
|
661 |
this->columnHeader23 = (gcnew System::Windows::Forms::ColumnHeader());
|
|
|
662 |
this->columnHeader24 = (gcnew System::Windows::Forms::ColumnHeader());
|
|
|
663 |
this->ContextDep = (gcnew System::Windows::Forms::ContextMenuStrip(this->components));
|
|
|
664 |
this->addToolStripMenuItem1 = (gcnew System::Windows::Forms::ToolStripMenuItem());
|
|
|
665 |
this->manualToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
|
|
|
666 |
this->fromPackageToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
|
|
|
667 |
this->ContextDepSep1 = (gcnew System::Windows::Forms::ToolStripSeparator());
|
|
|
668 |
this->editSelectedToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
|
|
|
669 |
this->ContextDepRemove = (gcnew System::Windows::Forms::ToolStripMenuItem());
|
|
|
670 |
this->ContextDepSep2 = (gcnew System::Windows::Forms::ToolStripSeparator());
|
|
|
671 |
this->ContextDepClear = (gcnew System::Windows::Forms::ToolStripMenuItem());
|
|
|
672 |
this->PageWares = (gcnew System::Windows::Forms::TabPage());
|
|
|
673 |
this->splitContainer1 = (gcnew System::Windows::Forms::SplitContainer());
|
|
|
674 |
this->ListWares = (gcnew System::Windows::Forms::ListView());
|
|
|
675 |
this->columnHeader9 = (gcnew System::Windows::Forms::ColumnHeader());
|
|
|
676 |
this->columnHeader10 = (gcnew System::Windows::Forms::ColumnHeader());
|
|
|
677 |
this->columnHeader11 = (gcnew System::Windows::Forms::ColumnHeader());
|
|
|
678 |
this->columnHeader12 = (gcnew System::Windows::Forms::ColumnHeader());
|
|
|
679 |
this->columnHeader13 = (gcnew System::Windows::Forms::ColumnHeader());
|
|
|
680 |
this->columnHeader14 = (gcnew System::Windows::Forms::ColumnHeader());
|
|
|
681 |
this->columnHeader18 = (gcnew System::Windows::Forms::ColumnHeader());
|
|
|
682 |
this->ContextWare = (gcnew System::Windows::Forms::ContextMenuStrip(this->components));
|
|
|
683 |
this->addWareToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
|
|
|
684 |
this->ContextWareSep1 = (gcnew System::Windows::Forms::ToolStripSeparator());
|
|
|
685 |
this->ContextWareEdit = (gcnew System::Windows::Forms::ToolStripMenuItem());
|
|
|
686 |
this->ContextWareRemove = (gcnew System::Windows::Forms::ToolStripMenuItem());
|
|
|
687 |
this->ContextWareSep2 = (gcnew System::Windows::Forms::ToolStripSeparator());
|
|
|
688 |
this->ContextWareClear = (gcnew System::Windows::Forms::ToolStripMenuItem());
|
|
|
689 |
this->ListWareText = (gcnew System::Windows::Forms::ListView());
|
|
|
690 |
this->columnHeader15 = (gcnew System::Windows::Forms::ColumnHeader());
|
|
|
691 |
this->columnHeader16 = (gcnew System::Windows::Forms::ColumnHeader());
|
|
|
692 |
this->columnHeader17 = (gcnew System::Windows::Forms::ColumnHeader());
|
|
|
693 |
this->ContextWareText = (gcnew System::Windows::Forms::ContextMenuStrip(this->components));
|
|
|
694 |
this->addTextToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
|
|
|
695 |
this->ContextWTSep1 = (gcnew System::Windows::Forms::ToolStripSeparator());
|
|
|
696 |
this->ContextWTRemove = (gcnew System::Windows::Forms::ToolStripMenuItem());
|
|
|
697 |
this->ContextWTEdit = (gcnew System::Windows::Forms::ToolStripMenuItem());
|
|
|
698 |
this->ContextWTSep2 = (gcnew System::Windows::Forms::ToolStripSeparator());
|
|
|
699 |
this->ContextWTClear = (gcnew System::Windows::Forms::ToolStripMenuItem());
|
|
|
700 |
this->PageShip = (gcnew System::Windows::Forms::TabPage());
|
|
|
701 |
this->ListShipText = (gcnew System::Windows::Forms::ListView());
|
|
|
702 |
this->columnHeader19 = (gcnew System::Windows::Forms::ColumnHeader());
|
|
|
703 |
this->columnHeader20 = (gcnew System::Windows::Forms::ColumnHeader());
|
|
|
704 |
this->columnHeader21 = (gcnew System::Windows::Forms::ColumnHeader());
|
|
|
705 |
this->ContextShipText = (gcnew System::Windows::Forms::ContextMenuStrip(this->components));
|
|
|
706 |
this->importTextToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
|
|
|
707 |
this->fromFileToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
|
|
|
708 |
this->fromDirectoryToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
|
|
|
709 |
this->fromModToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
|
|
|
710 |
this->addLanguageToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
|
|
|
711 |
this->ContextShipTextSep1 = (gcnew System::Windows::Forms::ToolStripSeparator());
|
|
|
712 |
this->ContextShipTextEdit = (gcnew System::Windows::Forms::ToolStripMenuItem());
|
|
|
713 |
this->ContextShipTextRemove = (gcnew System::Windows::Forms::ToolStripMenuItem());
|
|
|
714 |
this->ContextShipTextSep2 = (gcnew System::Windows::Forms::ToolStripSeparator());
|
|
|
715 |
this->ContextShipTextClear = (gcnew System::Windows::Forms::ToolStripMenuItem());
|
|
|
716 |
this->PanelTextID = (gcnew System::Windows::Forms::Panel());
|
|
|
717 |
this->NumTextID = (gcnew System::Windows::Forms::NumericUpDown());
|
|
|
718 |
this->CheckExistingText = (gcnew System::Windows::Forms::CheckBox());
|
|
|
719 |
this->flowLayoutPanel2 = (gcnew System::Windows::Forms::FlowLayoutPanel());
|
|
|
720 |
this->label16 = (gcnew System::Windows::Forms::Label());
|
|
|
721 |
this->CheckSYArgon = (gcnew System::Windows::Forms::CheckBox());
|
|
|
722 |
this->CheckSYBoron = (gcnew System::Windows::Forms::CheckBox());
|
|
|
723 |
this->CheckSYParanid = (gcnew System::Windows::Forms::CheckBox());
|
|
|
724 |
this->CheckSYTeladi = (gcnew System::Windows::Forms::CheckBox());
|
|
|
725 |
this->CheckSYSplit = (gcnew System::Windows::Forms::CheckBox());
|
|
|
726 |
this->CheckSYPirate = (gcnew System::Windows::Forms::CheckBox());
|
|
|
727 |
this->CheckSYFriend = (gcnew System::Windows::Forms::CheckBox());
|
|
|
728 |
this->CheckSYXenon = (gcnew System::Windows::Forms::CheckBox());
|
|
|
729 |
this->CheckSYTerran = (gcnew System::Windows::Forms::CheckBox());
|
|
|
730 |
this->CheckSYATF = (gcnew System::Windows::Forms::CheckBox());
|
|
|
731 |
this->CheckSYYaki = (gcnew System::Windows::Forms::CheckBox());
|
|
|
732 |
this->PageRaw = (gcnew System::Windows::Forms::TabPage());
|
|
|
733 |
this->panel23 = (gcnew System::Windows::Forms::Panel());
|
|
|
734 |
this->TextShipData = (gcnew System::Windows::Forms::RichTextBox());
|
|
|
735 |
this->panel24 = (gcnew System::Windows::Forms::Panel());
|
|
|
736 |
this->label17 = (gcnew System::Windows::Forms::Label());
|
|
|
737 |
this->checkBox1 = (gcnew System::Windows::Forms::CheckBox());
|
|
|
738 |
this->flowLayoutPanel3 = (gcnew System::Windows::Forms::FlowLayoutPanel());
|
|
|
739 |
this->button3 = (gcnew System::Windows::Forms::Button());
|
|
|
740 |
this->button5 = (gcnew System::Windows::Forms::Button());
|
|
|
741 |
this->PageShipComp = (gcnew System::Windows::Forms::TabPage());
|
|
|
742 |
this->panel26 = (gcnew System::Windows::Forms::Panel());
|
|
|
743 |
this->ListShipPart = (gcnew System::Windows::Forms::ListView());
|
|
|
744 |
this->ColumnPart1 = (gcnew System::Windows::Forms::ColumnHeader());
|
|
|
745 |
this->ColumnPart2 = (gcnew System::Windows::Forms::ColumnHeader());
|
|
|
746 |
this->ColumnPart3 = (gcnew System::Windows::Forms::ColumnHeader());
|
|
|
747 |
this->ContextShipPart = (gcnew System::Windows::Forms::ContextMenuStrip(this->components));
|
|
|
748 |
this->importToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
|
|
|
749 |
this->ContextShipPartAdd = (gcnew System::Windows::Forms::ToolStripMenuItem());
|
|
|
750 |
this->ContextShipPartSep1 = (gcnew System::Windows::Forms::ToolStripSeparator());
|
|
|
751 |
this->ContextShipPartRemove = (gcnew System::Windows::Forms::ToolStripMenuItem());
|
|
|
752 |
this->ContextShipPartEdit = (gcnew System::Windows::Forms::ToolStripMenuItem());
|
|
|
753 |
this->ContextShipPartSep2 = (gcnew System::Windows::Forms::ToolStripSeparator());
|
|
|
754 |
this->ContextShipPartClear = (gcnew System::Windows::Forms::ToolStripMenuItem());
|
|
|
755 |
this->panel25 = (gcnew System::Windows::Forms::Panel());
|
|
|
756 |
this->ComboShipPart = (gcnew System::Windows::Forms::ComboBox());
|
|
|
757 |
this->label18 = (gcnew System::Windows::Forms::Label());
|
237 |
cycrow |
758 |
this->tabGlobals = (gcnew System::Windows::Forms::TabPage());
|
|
|
759 |
this->butGlobalClear = (gcnew System::Windows::Forms::Button());
|
|
|
760 |
this->butAddGlobal = (gcnew System::Windows::Forms::Button());
|
|
|
761 |
this->listGlobals = (gcnew System::Windows::Forms::ListView());
|
|
|
762 |
this->ColGlobalName = (gcnew System::Windows::Forms::ColumnHeader());
|
|
|
763 |
this->ColGlobalValue = (gcnew System::Windows::Forms::ColumnHeader());
|
|
|
764 |
this->contextGlobal = (gcnew System::Windows::Forms::ContextMenuStrip(this->components));
|
|
|
765 |
this->addNewToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
|
|
|
766 |
this->toolStripSeparator6 = (gcnew System::Windows::Forms::ToolStripSeparator());
|
|
|
767 |
this->editSelectedToolStripMenuItem1 = (gcnew System::Windows::Forms::ToolStripMenuItem());
|
|
|
768 |
this->removeSelectedToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
|
|
|
769 |
this->toolStripSeparator7 = (gcnew System::Windows::Forms::ToolStripSeparator());
|
|
|
770 |
this->clearAllToolStripMenuItem2 = (gcnew System::Windows::Forms::ToolStripMenuItem());
|
1 |
cycrow |
771 |
this->CheckShipID = (gcnew System::Windows::Forms::CheckBox());
|
|
|
772 |
this->panel1 = (gcnew System::Windows::Forms::Panel());
|
|
|
773 |
this->TextName = (gcnew System::Windows::Forms::TextBox());
|
|
|
774 |
this->label1 = (gcnew System::Windows::Forms::Label());
|
|
|
775 |
this->panel2 = (gcnew System::Windows::Forms::Panel());
|
|
|
776 |
this->TextAuthor = (gcnew System::Windows::Forms::TextBox());
|
|
|
777 |
this->label2 = (gcnew System::Windows::Forms::Label());
|
|
|
778 |
this->panel3 = (gcnew System::Windows::Forms::Panel());
|
|
|
779 |
this->TextVersion = (gcnew System::Windows::Forms::TextBox());
|
|
|
780 |
this->label3 = (gcnew System::Windows::Forms::Label());
|
|
|
781 |
this->panel4 = (gcnew System::Windows::Forms::Panel());
|
|
|
782 |
this->CreationDate = (gcnew System::Windows::Forms::DateTimePicker());
|
|
|
783 |
this->label4 = (gcnew System::Windows::Forms::Label());
|
|
|
784 |
this->label6 = (gcnew System::Windows::Forms::Label());
|
|
|
785 |
this->PanelShip = (gcnew System::Windows::Forms::Panel());
|
|
|
786 |
this->TextShipID = (gcnew System::Windows::Forms::TextBox());
|
|
|
787 |
this->toolStrip1 = (gcnew System::Windows::Forms::ToolStrip());
|
|
|
788 |
this->toolStripButton2 = (gcnew System::Windows::Forms::ToolStripButton());
|
|
|
789 |
this->toolStripButton3 = (gcnew System::Windows::Forms::ToolStripButton());
|
|
|
790 |
this->toolStripButton5 = (gcnew System::Windows::Forms::ToolStripButton());
|
|
|
791 |
this->toolStripSeparator3 = (gcnew System::Windows::Forms::ToolStripSeparator());
|
|
|
792 |
this->toolStripButton1 = (gcnew System::Windows::Forms::ToolStripButton());
|
|
|
793 |
this->toolStripButton4 = (gcnew System::Windows::Forms::ToolStripButton());
|
|
|
794 |
this->toolStripSeparator4 = (gcnew System::Windows::Forms::ToolStripSeparator());
|
|
|
795 |
this->ToolCustomise = (gcnew System::Windows::Forms::ToolStripButton());
|
|
|
796 |
this->toolTip1 = (gcnew System::Windows::Forms::ToolTip(this->components));
|
|
|
797 |
this->toolTip2 = (gcnew System::Windows::Forms::ToolTip(this->components));
|
126 |
cycrow |
798 |
(cli::safe_cast<System::ComponentModel::ISupportInitialize^>(this->PicChange5))->BeginInit();
|
|
|
799 |
(cli::safe_cast<System::ComponentModel::ISupportInitialize^>(this->PicChange1))->BeginInit();
|
|
|
800 |
(cli::safe_cast<System::ComponentModel::ISupportInitialize^>(this->PicRec5))->BeginInit();
|
1 |
cycrow |
801 |
this->groupBox1->SuspendLayout();
|
|
|
802 |
this->ContextFiles->SuspendLayout();
|
|
|
803 |
this->panel6->SuspendLayout();
|
|
|
804 |
this->panel5->SuspendLayout();
|
|
|
805 |
this->tabControl1->SuspendLayout();
|
|
|
806 |
this->tabPage1->SuspendLayout();
|
|
|
807 |
this->groupBox2->SuspendLayout();
|
|
|
808 |
this->panel13->SuspendLayout();
|
|
|
809 |
this->panel12->SuspendLayout();
|
|
|
810 |
this->panel11->SuspendLayout();
|
|
|
811 |
this->tabPage5->SuspendLayout();
|
|
|
812 |
this->groupBox8->SuspendLayout();
|
|
|
813 |
this->panel10->SuspendLayout();
|
|
|
814 |
this->panel21->SuspendLayout();
|
|
|
815 |
this->ContextGames->SuspendLayout();
|
|
|
816 |
this->PagePackage->SuspendLayout();
|
|
|
817 |
this->groupBox3->SuspendLayout();
|
|
|
818 |
this->panel22->SuspendLayout();
|
|
|
819 |
this->panel7->SuspendLayout();
|
|
|
820 |
this->panel8->SuspendLayout();
|
|
|
821 |
this->flowLayoutPanel1->SuspendLayout();
|
|
|
822 |
this->panel9->SuspendLayout();
|
|
|
823 |
this->tabPage3->SuspendLayout();
|
|
|
824 |
this->groupBox7->SuspendLayout();
|
|
|
825 |
this->panel19->SuspendLayout();
|
|
|
826 |
this->panel20->SuspendLayout();
|
|
|
827 |
this->panel18->SuspendLayout();
|
|
|
828 |
this->groupBox6->SuspendLayout();
|
|
|
829 |
this->panel17->SuspendLayout();
|
|
|
830 |
this->GroupChange->SuspendLayout();
|
126 |
cycrow |
831 |
(cli::safe_cast<System::ComponentModel::ISupportInitialize^>(this->PicChange4))->BeginInit();
|
|
|
832 |
(cli::safe_cast<System::ComponentModel::ISupportInitialize^>(this->PicChange3))->BeginInit();
|
|
|
833 |
(cli::safe_cast<System::ComponentModel::ISupportInitialize^>(this->PicChange2))->BeginInit();
|
1 |
cycrow |
834 |
this->GroupRec->SuspendLayout();
|
126 |
cycrow |
835 |
(cli::safe_cast<System::ComponentModel::ISupportInitialize^>(this->PicRec4))->BeginInit();
|
|
|
836 |
(cli::safe_cast<System::ComponentModel::ISupportInitialize^>(this->PicRec3))->BeginInit();
|
|
|
837 |
(cli::safe_cast<System::ComponentModel::ISupportInitialize^>(this->PicRec2))->BeginInit();
|
|
|
838 |
(cli::safe_cast<System::ComponentModel::ISupportInitialize^>(this->PicRec1))->BeginInit();
|
1 |
cycrow |
839 |
this->GroupEase->SuspendLayout();
|
126 |
cycrow |
840 |
(cli::safe_cast<System::ComponentModel::ISupportInitialize^>(this->PicEase5))->BeginInit();
|
|
|
841 |
(cli::safe_cast<System::ComponentModel::ISupportInitialize^>(this->PicEase4))->BeginInit();
|
|
|
842 |
(cli::safe_cast<System::ComponentModel::ISupportInitialize^>(this->PicEase3))->BeginInit();
|
|
|
843 |
(cli::safe_cast<System::ComponentModel::ISupportInitialize^>(this->PicEase2))->BeginInit();
|
|
|
844 |
(cli::safe_cast<System::ComponentModel::ISupportInitialize^>(this->PicEase1))->BeginInit();
|
1 |
cycrow |
845 |
this->groupBox5->SuspendLayout();
|
126 |
cycrow |
846 |
(cli::safe_cast<System::ComponentModel::ISupportInitialize^>(this->DisplayIcon))->BeginInit();
|
1 |
cycrow |
847 |
this->panel15->SuspendLayout();
|
126 |
cycrow |
848 |
(cli::safe_cast<System::ComponentModel::ISupportInitialize^>(this->DisplayPicture))->BeginInit();
|
1 |
cycrow |
849 |
this->panel16->SuspendLayout();
|
|
|
850 |
this->tabPage2->SuspendLayout();
|
|
|
851 |
this->ContextLangName->SuspendLayout();
|
|
|
852 |
this->groupBox4->SuspendLayout();
|
|
|
853 |
this->ContextMirror->SuspendLayout();
|
|
|
854 |
this->panel14->SuspendLayout();
|
|
|
855 |
this->tabPage4->SuspendLayout();
|
|
|
856 |
this->ContextDep->SuspendLayout();
|
|
|
857 |
this->PageWares->SuspendLayout();
|
126 |
cycrow |
858 |
(cli::safe_cast<System::ComponentModel::ISupportInitialize^>(this->splitContainer1))->BeginInit();
|
1 |
cycrow |
859 |
this->splitContainer1->Panel1->SuspendLayout();
|
|
|
860 |
this->splitContainer1->Panel2->SuspendLayout();
|
|
|
861 |
this->splitContainer1->SuspendLayout();
|
|
|
862 |
this->ContextWare->SuspendLayout();
|
|
|
863 |
this->ContextWareText->SuspendLayout();
|
|
|
864 |
this->PageShip->SuspendLayout();
|
|
|
865 |
this->ContextShipText->SuspendLayout();
|
|
|
866 |
this->PanelTextID->SuspendLayout();
|
126 |
cycrow |
867 |
(cli::safe_cast<System::ComponentModel::ISupportInitialize^>(this->NumTextID))->BeginInit();
|
1 |
cycrow |
868 |
this->flowLayoutPanel2->SuspendLayout();
|
|
|
869 |
this->PageRaw->SuspendLayout();
|
|
|
870 |
this->panel23->SuspendLayout();
|
|
|
871 |
this->panel24->SuspendLayout();
|
|
|
872 |
this->flowLayoutPanel3->SuspendLayout();
|
|
|
873 |
this->PageShipComp->SuspendLayout();
|
|
|
874 |
this->panel26->SuspendLayout();
|
|
|
875 |
this->ContextShipPart->SuspendLayout();
|
|
|
876 |
this->panel25->SuspendLayout();
|
237 |
cycrow |
877 |
this->tabGlobals->SuspendLayout();
|
|
|
878 |
this->contextGlobal->SuspendLayout();
|
1 |
cycrow |
879 |
this->panel1->SuspendLayout();
|
|
|
880 |
this->panel2->SuspendLayout();
|
|
|
881 |
this->panel3->SuspendLayout();
|
|
|
882 |
this->panel4->SuspendLayout();
|
|
|
883 |
this->PanelShip->SuspendLayout();
|
|
|
884 |
this->toolStrip1->SuspendLayout();
|
|
|
885 |
this->SuspendLayout();
|
|
|
886 |
//
|
|
|
887 |
// PicChange5
|
|
|
888 |
//
|
|
|
889 |
this->PicChange5->Dock = System::Windows::Forms::DockStyle::Left;
|
126 |
cycrow |
890 |
this->PicChange5->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"PicChange5.Image")));
|
236 |
cycrow |
891 |
this->PicChange5->Location = System::Drawing::Point(99, 16);
|
1 |
cycrow |
892 |
this->PicChange5->Name = L"PicChange5";
|
236 |
cycrow |
893 |
this->PicChange5->Size = System::Drawing::Size(24, 25);
|
1 |
cycrow |
894 |
this->PicChange5->SizeMode = System::Windows::Forms::PictureBoxSizeMode::StretchImage;
|
|
|
895 |
this->PicChange5->TabIndex = 18;
|
|
|
896 |
this->PicChange5->TabStop = false;
|
|
|
897 |
this->PicChange5->Click += gcnew System::EventHandler(this, &PackageForm::PicChange5_Click);
|
|
|
898 |
//
|
|
|
899 |
// PicChange1
|
|
|
900 |
//
|
|
|
901 |
this->PicChange1->Dock = System::Windows::Forms::DockStyle::Left;
|
126 |
cycrow |
902 |
this->PicChange1->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"PicChange1.Image")));
|
236 |
cycrow |
903 |
this->PicChange1->Location = System::Drawing::Point(3, 16);
|
1 |
cycrow |
904 |
this->PicChange1->Name = L"PicChange1";
|
236 |
cycrow |
905 |
this->PicChange1->Size = System::Drawing::Size(24, 25);
|
1 |
cycrow |
906 |
this->PicChange1->SizeMode = System::Windows::Forms::PictureBoxSizeMode::StretchImage;
|
|
|
907 |
this->PicChange1->TabIndex = 14;
|
|
|
908 |
this->PicChange1->TabStop = false;
|
|
|
909 |
this->PicChange1->Click += gcnew System::EventHandler(this, &PackageForm::PicChange1_Click);
|
|
|
910 |
//
|
|
|
911 |
// PicRec5
|
|
|
912 |
//
|
|
|
913 |
this->PicRec5->Dock = System::Windows::Forms::DockStyle::Left;
|
126 |
cycrow |
914 |
this->PicRec5->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"PicRec5.Image")));
|
236 |
cycrow |
915 |
this->PicRec5->Location = System::Drawing::Point(99, 16);
|
1 |
cycrow |
916 |
this->PicRec5->Name = L"PicRec5";
|
236 |
cycrow |
917 |
this->PicRec5->Size = System::Drawing::Size(24, 25);
|
1 |
cycrow |
918 |
this->PicRec5->SizeMode = System::Windows::Forms::PictureBoxSizeMode::StretchImage;
|
|
|
919 |
this->PicRec5->TabIndex = 18;
|
|
|
920 |
this->PicRec5->TabStop = false;
|
|
|
921 |
this->PicRec5->Click += gcnew System::EventHandler(this, &PackageForm::PicRec5_Click);
|
|
|
922 |
//
|
|
|
923 |
// groupBox1
|
|
|
924 |
//
|
|
|
925 |
this->groupBox1->Controls->Add(this->ListFiles);
|
|
|
926 |
this->groupBox1->Controls->Add(this->panel6);
|
|
|
927 |
this->groupBox1->Controls->Add(this->panel5);
|
|
|
928 |
this->groupBox1->Dock = System::Windows::Forms::DockStyle::Fill;
|
236 |
cycrow |
929 |
this->groupBox1->Location = System::Drawing::Point(5, 375);
|
1 |
cycrow |
930 |
this->groupBox1->Name = L"groupBox1";
|
236 |
cycrow |
931 |
this->groupBox1->Size = System::Drawing::Size(756, 330);
|
1 |
cycrow |
932 |
this->groupBox1->TabIndex = 0;
|
|
|
933 |
this->groupBox1->TabStop = false;
|
|
|
934 |
this->groupBox1->Text = L"Files";
|
|
|
935 |
//
|
|
|
936 |
// ListFiles
|
|
|
937 |
//
|
|
|
938 |
this->ListFiles->AllowDrop = true;
|
126 |
cycrow |
939 |
this->ListFiles->Columns->AddRange(gcnew cli::array< System::Windows::Forms::ColumnHeader^ >(7) {
|
|
|
940 |
this->columnHeader1, this->columnHeader2,
|
|
|
941 |
this->columnHeader3, this->columnHeader4, this->columnHeader5, this->columnHeader25, this->columnHeader28
|
|
|
942 |
});
|
1 |
cycrow |
943 |
this->ListFiles->ContextMenuStrip = this->ContextFiles;
|
|
|
944 |
this->ListFiles->Dock = System::Windows::Forms::DockStyle::Fill;
|
|
|
945 |
this->ListFiles->FullRowSelect = true;
|
|
|
946 |
this->ListFiles->HideSelection = false;
|
236 |
cycrow |
947 |
this->ListFiles->Location = System::Drawing::Point(3, 41);
|
1 |
cycrow |
948 |
this->ListFiles->Name = L"ListFiles";
|
236 |
cycrow |
949 |
this->ListFiles->Size = System::Drawing::Size(750, 246);
|
1 |
cycrow |
950 |
this->ListFiles->Sorting = System::Windows::Forms::SortOrder::Ascending;
|
|
|
951 |
this->ListFiles->TabIndex = 1;
|
|
|
952 |
this->ListFiles->UseCompatibleStateImageBehavior = false;
|
|
|
953 |
this->ListFiles->View = System::Windows::Forms::View::Details;
|
|
|
954 |
this->ListFiles->SelectedIndexChanged += gcnew System::EventHandler(this, &PackageForm::ListFiles_SelectedIndexChanged);
|
|
|
955 |
this->ListFiles->DragDrop += gcnew System::Windows::Forms::DragEventHandler(this, &PackageForm::ListFiles_DragDrop);
|
|
|
956 |
this->ListFiles->DragOver += gcnew System::Windows::Forms::DragEventHandler(this, &PackageForm::ListFiles_DragOver);
|
126 |
cycrow |
957 |
this->ListFiles->MouseDoubleClick += gcnew System::Windows::Forms::MouseEventHandler(this, &PackageForm::ListFiles_MouseDoubleClick);
|
1 |
cycrow |
958 |
//
|
|
|
959 |
// columnHeader1
|
|
|
960 |
//
|
|
|
961 |
this->columnHeader1->Text = L"";
|
|
|
962 |
this->columnHeader1->Width = 53;
|
|
|
963 |
//
|
|
|
964 |
// columnHeader2
|
|
|
965 |
//
|
|
|
966 |
this->columnHeader2->Text = L"Filename";
|
|
|
967 |
//
|
|
|
968 |
// columnHeader3
|
|
|
969 |
//
|
|
|
970 |
this->columnHeader3->Text = L"Size";
|
|
|
971 |
this->columnHeader3->TextAlign = System::Windows::Forms::HorizontalAlignment::Right;
|
|
|
972 |
//
|
|
|
973 |
// columnHeader4
|
|
|
974 |
//
|
|
|
975 |
this->columnHeader4->Text = L"Filetype";
|
|
|
976 |
//
|
|
|
977 |
// columnHeader5
|
|
|
978 |
//
|
|
|
979 |
this->columnHeader5->Text = L"Directory";
|
|
|
980 |
//
|
|
|
981 |
// columnHeader25
|
|
|
982 |
//
|
|
|
983 |
this->columnHeader25->Text = L"Signed";
|
|
|
984 |
//
|
|
|
985 |
// columnHeader28
|
|
|
986 |
//
|
|
|
987 |
this->columnHeader28->Text = L"Game";
|
|
|
988 |
//
|
|
|
989 |
// ContextFiles
|
|
|
990 |
//
|
126 |
cycrow |
991 |
this->ContextFiles->ImageScalingSize = System::Drawing::Size(20, 20);
|
|
|
992 |
this->ContextFiles->Items->AddRange(gcnew cli::array< System::Windows::Forms::ToolStripItem^ >(14) {
|
|
|
993 |
this->addFileToolStripMenuItem,
|
|
|
994 |
this->ContextFileSep1, this->ContextFileEdit, this->ContextFileDelete, this->renameFileToolStripMenuItem, this->toolStripSeparator5,
|
|
|
995 |
this->ToolGame, this->packFileToolStripMenuItem, this->unpackFileToolStripMenuItem, this->convertToFakePatchToolStripMenuItem,
|
|
|
996 |
this->convertToAutoTextFileToolStripMenuItem, this->convertToNormalModToolStripMenuItem, this->ContextFileSep2, this->ContextFileClear
|
|
|
997 |
});
|
1 |
cycrow |
998 |
this->ContextFiles->Name = L"ContextFiles";
|
236 |
cycrow |
999 |
this->ContextFiles->Size = System::Drawing::Size(222, 440);
|
1 |
cycrow |
1000 |
this->ContextFiles->Opening += gcnew System::ComponentModel::CancelEventHandler(this, &PackageForm::ContextFiles_Opening);
|
|
|
1001 |
//
|
|
|
1002 |
// addFileToolStripMenuItem
|
|
|
1003 |
//
|
126 |
cycrow |
1004 |
this->addFileToolStripMenuItem->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"addFileToolStripMenuItem.Image")));
|
1 |
cycrow |
1005 |
this->addFileToolStripMenuItem->ImageScaling = System::Windows::Forms::ToolStripItemImageScaling::None;
|
|
|
1006 |
this->addFileToolStripMenuItem->Name = L"addFileToolStripMenuItem";
|
236 |
cycrow |
1007 |
this->addFileToolStripMenuItem->Size = System::Drawing::Size(221, 38);
|
1 |
cycrow |
1008 |
this->addFileToolStripMenuItem->Text = L"Add File";
|
|
|
1009 |
this->addFileToolStripMenuItem->Click += gcnew System::EventHandler(this, &PackageForm::addFileToolStripMenuItem_Click);
|
|
|
1010 |
//
|
|
|
1011 |
// ContextFileSep1
|
|
|
1012 |
//
|
|
|
1013 |
this->ContextFileSep1->Name = L"ContextFileSep1";
|
236 |
cycrow |
1014 |
this->ContextFileSep1->Size = System::Drawing::Size(218, 6);
|
1 |
cycrow |
1015 |
//
|
|
|
1016 |
// ContextFileEdit
|
|
|
1017 |
//
|
126 |
cycrow |
1018 |
this->ContextFileEdit->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"ContextFileEdit.Image")));
|
1 |
cycrow |
1019 |
this->ContextFileEdit->ImageScaling = System::Windows::Forms::ToolStripItemImageScaling::None;
|
|
|
1020 |
this->ContextFileEdit->Name = L"ContextFileEdit";
|
236 |
cycrow |
1021 |
this->ContextFileEdit->Size = System::Drawing::Size(221, 38);
|
1 |
cycrow |
1022 |
this->ContextFileEdit->Text = L"Edit Directory";
|
|
|
1023 |
this->ContextFileEdit->Click += gcnew System::EventHandler(this, &PackageForm::ContextFileEdit_Click);
|
|
|
1024 |
//
|
|
|
1025 |
// ContextFileDelete
|
|
|
1026 |
//
|
126 |
cycrow |
1027 |
this->ContextFileDelete->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"ContextFileDelete.Image")));
|
1 |
cycrow |
1028 |
this->ContextFileDelete->ImageScaling = System::Windows::Forms::ToolStripItemImageScaling::None;
|
|
|
1029 |
this->ContextFileDelete->Name = L"ContextFileDelete";
|
236 |
cycrow |
1030 |
this->ContextFileDelete->Size = System::Drawing::Size(221, 38);
|
1 |
cycrow |
1031 |
this->ContextFileDelete->Text = L"Remove Selected";
|
|
|
1032 |
this->ContextFileDelete->Click += gcnew System::EventHandler(this, &PackageForm::ContextFileDelete_Click);
|
|
|
1033 |
//
|
|
|
1034 |
// renameFileToolStripMenuItem
|
|
|
1035 |
//
|
126 |
cycrow |
1036 |
this->renameFileToolStripMenuItem->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"renameFileToolStripMenuItem.Image")));
|
1 |
cycrow |
1037 |
this->renameFileToolStripMenuItem->ImageScaling = System::Windows::Forms::ToolStripItemImageScaling::None;
|
|
|
1038 |
this->renameFileToolStripMenuItem->Name = L"renameFileToolStripMenuItem";
|
236 |
cycrow |
1039 |
this->renameFileToolStripMenuItem->Size = System::Drawing::Size(221, 38);
|
1 |
cycrow |
1040 |
this->renameFileToolStripMenuItem->Text = L"Rename File";
|
|
|
1041 |
this->renameFileToolStripMenuItem->Click += gcnew System::EventHandler(this, &PackageForm::renameFileToolStripMenuItem_Click);
|
|
|
1042 |
//
|
|
|
1043 |
// toolStripSeparator5
|
|
|
1044 |
//
|
|
|
1045 |
this->toolStripSeparator5->Name = L"toolStripSeparator5";
|
236 |
cycrow |
1046 |
this->toolStripSeparator5->Size = System::Drawing::Size(218, 6);
|
1 |
cycrow |
1047 |
//
|
|
|
1048 |
// ToolGame
|
|
|
1049 |
//
|
126 |
cycrow |
1050 |
this->ToolGame->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"ToolGame.Image")));
|
1 |
cycrow |
1051 |
this->ToolGame->ImageScaling = System::Windows::Forms::ToolStripItemImageScaling::None;
|
|
|
1052 |
this->ToolGame->Name = L"ToolGame";
|
236 |
cycrow |
1053 |
this->ToolGame->Size = System::Drawing::Size(221, 38);
|
1 |
cycrow |
1054 |
this->ToolGame->Text = L"Set Game";
|
|
|
1055 |
//
|
|
|
1056 |
// packFileToolStripMenuItem
|
|
|
1057 |
//
|
126 |
cycrow |
1058 |
this->packFileToolStripMenuItem->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"packFileToolStripMenuItem.Image")));
|
1 |
cycrow |
1059 |
this->packFileToolStripMenuItem->ImageScaling = System::Windows::Forms::ToolStripItemImageScaling::None;
|
|
|
1060 |
this->packFileToolStripMenuItem->Name = L"packFileToolStripMenuItem";
|
236 |
cycrow |
1061 |
this->packFileToolStripMenuItem->Size = System::Drawing::Size(221, 38);
|
1 |
cycrow |
1062 |
this->packFileToolStripMenuItem->Text = L"Pack File";
|
|
|
1063 |
this->packFileToolStripMenuItem->Click += gcnew System::EventHandler(this, &PackageForm::packFileToolStripMenuItem_Click);
|
|
|
1064 |
//
|
|
|
1065 |
// unpackFileToolStripMenuItem
|
|
|
1066 |
//
|
126 |
cycrow |
1067 |
this->unpackFileToolStripMenuItem->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"unpackFileToolStripMenuItem.Image")));
|
1 |
cycrow |
1068 |
this->unpackFileToolStripMenuItem->ImageScaling = System::Windows::Forms::ToolStripItemImageScaling::None;
|
|
|
1069 |
this->unpackFileToolStripMenuItem->Name = L"unpackFileToolStripMenuItem";
|
236 |
cycrow |
1070 |
this->unpackFileToolStripMenuItem->Size = System::Drawing::Size(221, 38);
|
1 |
cycrow |
1071 |
this->unpackFileToolStripMenuItem->Text = L"Unpack File";
|
|
|
1072 |
this->unpackFileToolStripMenuItem->Click += gcnew System::EventHandler(this, &PackageForm::unpackFileToolStripMenuItem_Click);
|
|
|
1073 |
//
|
|
|
1074 |
// convertToFakePatchToolStripMenuItem
|
|
|
1075 |
//
|
126 |
cycrow |
1076 |
this->convertToFakePatchToolStripMenuItem->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"convertToFakePatchToolStripMenuItem.Image")));
|
1 |
cycrow |
1077 |
this->convertToFakePatchToolStripMenuItem->ImageScaling = System::Windows::Forms::ToolStripItemImageScaling::None;
|
|
|
1078 |
this->convertToFakePatchToolStripMenuItem->Name = L"convertToFakePatchToolStripMenuItem";
|
236 |
cycrow |
1079 |
this->convertToFakePatchToolStripMenuItem->Size = System::Drawing::Size(221, 38);
|
1 |
cycrow |
1080 |
this->convertToFakePatchToolStripMenuItem->Text = L"Convert To Fake Patch";
|
|
|
1081 |
this->convertToFakePatchToolStripMenuItem->Click += gcnew System::EventHandler(this, &PackageForm::convertToFakePatchToolStripMenuItem_Click);
|
|
|
1082 |
//
|
|
|
1083 |
// convertToAutoTextFileToolStripMenuItem
|
|
|
1084 |
//
|
126 |
cycrow |
1085 |
this->convertToAutoTextFileToolStripMenuItem->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"convertToAutoTextFileToolStripMenuItem.Image")));
|
1 |
cycrow |
1086 |
this->convertToAutoTextFileToolStripMenuItem->ImageScaling = System::Windows::Forms::ToolStripItemImageScaling::None;
|
|
|
1087 |
this->convertToAutoTextFileToolStripMenuItem->Name = L"convertToAutoTextFileToolStripMenuItem";
|
236 |
cycrow |
1088 |
this->convertToAutoTextFileToolStripMenuItem->Size = System::Drawing::Size(221, 38);
|
1 |
cycrow |
1089 |
this->convertToAutoTextFileToolStripMenuItem->Text = L"Convert To Auto Text File";
|
|
|
1090 |
this->convertToAutoTextFileToolStripMenuItem->Click += gcnew System::EventHandler(this, &PackageForm::convertToAutoTextFileToolStripMenuItem_Click);
|
|
|
1091 |
//
|
|
|
1092 |
// convertToNormalModToolStripMenuItem
|
|
|
1093 |
//
|
126 |
cycrow |
1094 |
this->convertToNormalModToolStripMenuItem->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"convertToNormalModToolStripMenuItem.Image")));
|
1 |
cycrow |
1095 |
this->convertToNormalModToolStripMenuItem->ImageScaling = System::Windows::Forms::ToolStripItemImageScaling::None;
|
|
|
1096 |
this->convertToNormalModToolStripMenuItem->Name = L"convertToNormalModToolStripMenuItem";
|
236 |
cycrow |
1097 |
this->convertToNormalModToolStripMenuItem->Size = System::Drawing::Size(221, 38);
|
1 |
cycrow |
1098 |
this->convertToNormalModToolStripMenuItem->Text = L"Convert To Normal Mod";
|
|
|
1099 |
this->convertToNormalModToolStripMenuItem->Click += gcnew System::EventHandler(this, &PackageForm::convertToNormalModToolStripMenuItem_Click);
|
|
|
1100 |
//
|
|
|
1101 |
// ContextFileSep2
|
|
|
1102 |
//
|
|
|
1103 |
this->ContextFileSep2->Name = L"ContextFileSep2";
|
236 |
cycrow |
1104 |
this->ContextFileSep2->Size = System::Drawing::Size(218, 6);
|
1 |
cycrow |
1105 |
//
|
|
|
1106 |
// ContextFileClear
|
|
|
1107 |
//
|
126 |
cycrow |
1108 |
this->ContextFileClear->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"ContextFileClear.Image")));
|
1 |
cycrow |
1109 |
this->ContextFileClear->ImageScaling = System::Windows::Forms::ToolStripItemImageScaling::None;
|
|
|
1110 |
this->ContextFileClear->Name = L"ContextFileClear";
|
236 |
cycrow |
1111 |
this->ContextFileClear->Size = System::Drawing::Size(221, 38);
|
1 |
cycrow |
1112 |
this->ContextFileClear->Text = L"Clear All";
|
|
|
1113 |
this->ContextFileClear->Click += gcnew System::EventHandler(this, &PackageForm::ContextFileClear_Click);
|
|
|
1114 |
//
|
|
|
1115 |
// panel6
|
|
|
1116 |
//
|
|
|
1117 |
this->panel6->Controls->Add(this->ButRemoveFile);
|
|
|
1118 |
this->panel6->Controls->Add(this->button2);
|
|
|
1119 |
this->panel6->Controls->Add(this->button1);
|
|
|
1120 |
this->panel6->Dock = System::Windows::Forms::DockStyle::Bottom;
|
236 |
cycrow |
1121 |
this->panel6->Location = System::Drawing::Point(3, 287);
|
1 |
cycrow |
1122 |
this->panel6->Name = L"panel6";
|
237 |
cycrow |
1123 |
this->panel6->Padding = System::Windows::Forms::Padding(5);
|
236 |
cycrow |
1124 |
this->panel6->Size = System::Drawing::Size(750, 40);
|
1 |
cycrow |
1125 |
this->panel6->TabIndex = 2;
|
|
|
1126 |
//
|
|
|
1127 |
// ButRemoveFile
|
|
|
1128 |
//
|
|
|
1129 |
this->ButRemoveFile->Dock = System::Windows::Forms::DockStyle::Right;
|
236 |
cycrow |
1130 |
this->ButRemoveFile->Location = System::Drawing::Point(492, 5);
|
1 |
cycrow |
1131 |
this->ButRemoveFile->Name = L"ButRemoveFile";
|
236 |
cycrow |
1132 |
this->ButRemoveFile->Size = System::Drawing::Size(130, 30);
|
1 |
cycrow |
1133 |
this->ButRemoveFile->TabIndex = 2;
|
|
|
1134 |
this->ButRemoveFile->Text = L"Remove Selected";
|
|
|
1135 |
this->ButRemoveFile->UseVisualStyleBackColor = true;
|
|
|
1136 |
this->ButRemoveFile->Click += gcnew System::EventHandler(this, &PackageForm::ButRemoveFile_Click);
|
|
|
1137 |
//
|
|
|
1138 |
// button2
|
|
|
1139 |
//
|
|
|
1140 |
this->button2->Dock = System::Windows::Forms::DockStyle::Right;
|
236 |
cycrow |
1141 |
this->button2->Location = System::Drawing::Point(622, 5);
|
1 |
cycrow |
1142 |
this->button2->Name = L"button2";
|
236 |
cycrow |
1143 |
this->button2->Size = System::Drawing::Size(123, 30);
|
1 |
cycrow |
1144 |
this->button2->TabIndex = 1;
|
|
|
1145 |
this->button2->Text = L"Clear All";
|
|
|
1146 |
this->button2->UseVisualStyleBackColor = true;
|
|
|
1147 |
this->button2->Click += gcnew System::EventHandler(this, &PackageForm::button2_Click);
|
|
|
1148 |
//
|
|
|
1149 |
// button1
|
|
|
1150 |
//
|
|
|
1151 |
this->button1->Dock = System::Windows::Forms::DockStyle::Left;
|
236 |
cycrow |
1152 |
this->button1->Location = System::Drawing::Point(5, 5);
|
1 |
cycrow |
1153 |
this->button1->Name = L"button1";
|
236 |
cycrow |
1154 |
this->button1->Size = System::Drawing::Size(113, 30);
|
1 |
cycrow |
1155 |
this->button1->TabIndex = 0;
|
|
|
1156 |
this->button1->Text = L"Add File(s)";
|
|
|
1157 |
this->button1->UseVisualStyleBackColor = true;
|
|
|
1158 |
this->button1->Click += gcnew System::EventHandler(this, &PackageForm::button1_Click);
|
|
|
1159 |
//
|
|
|
1160 |
// panel5
|
|
|
1161 |
//
|
|
|
1162 |
this->panel5->Controls->Add(this->ComboFileType);
|
|
|
1163 |
this->panel5->Controls->Add(this->ComboGameFilter);
|
|
|
1164 |
this->panel5->Controls->Add(this->label5);
|
|
|
1165 |
this->panel5->Dock = System::Windows::Forms::DockStyle::Top;
|
236 |
cycrow |
1166 |
this->panel5->Location = System::Drawing::Point(3, 16);
|
1 |
cycrow |
1167 |
this->panel5->Name = L"panel5";
|
236 |
cycrow |
1168 |
this->panel5->Size = System::Drawing::Size(750, 25);
|
1 |
cycrow |
1169 |
this->panel5->TabIndex = 0;
|
|
|
1170 |
//
|
|
|
1171 |
// ComboFileType
|
|
|
1172 |
//
|
|
|
1173 |
this->ComboFileType->Dock = System::Windows::Forms::DockStyle::Fill;
|
|
|
1174 |
this->ComboFileType->DropDownStyle = System::Windows::Forms::ComboBoxStyle::DropDownList;
|
|
|
1175 |
this->ComboFileType->FormattingEnabled = true;
|
236 |
cycrow |
1176 |
this->ComboFileType->Location = System::Drawing::Point(100, 0);
|
1 |
cycrow |
1177 |
this->ComboFileType->Name = L"ComboFileType";
|
236 |
cycrow |
1178 |
this->ComboFileType->Size = System::Drawing::Size(444, 21);
|
1 |
cycrow |
1179 |
this->ComboFileType->TabIndex = 1;
|
|
|
1180 |
this->ComboFileType->SelectedIndexChanged += gcnew System::EventHandler(this, &PackageForm::ComboFileType_SelectedIndexChanged);
|
|
|
1181 |
//
|
|
|
1182 |
// ComboGameFilter
|
|
|
1183 |
//
|
|
|
1184 |
this->ComboGameFilter->Dock = System::Windows::Forms::DockStyle::Right;
|
|
|
1185 |
this->ComboGameFilter->DropDownStyle = System::Windows::Forms::ComboBoxStyle::DropDownList;
|
|
|
1186 |
this->ComboGameFilter->FormattingEnabled = true;
|
236 |
cycrow |
1187 |
this->ComboGameFilter->Location = System::Drawing::Point(544, 0);
|
1 |
cycrow |
1188 |
this->ComboGameFilter->Name = L"ComboGameFilter";
|
236 |
cycrow |
1189 |
this->ComboGameFilter->Size = System::Drawing::Size(206, 21);
|
1 |
cycrow |
1190 |
this->ComboGameFilter->TabIndex = 2;
|
|
|
1191 |
this->ComboGameFilter->SelectedIndexChanged += gcnew System::EventHandler(this, &PackageForm::ComboGameFilter_SelectedIndexChanged);
|
|
|
1192 |
//
|
|
|
1193 |
// label5
|
|
|
1194 |
//
|
|
|
1195 |
this->label5->Dock = System::Windows::Forms::DockStyle::Left;
|
126 |
cycrow |
1196 |
this->label5->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 9.75F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point,
|
1 |
cycrow |
1197 |
static_cast<System::Byte>(0)));
|
|
|
1198 |
this->label5->Location = System::Drawing::Point(0, 0);
|
|
|
1199 |
this->label5->Name = L"label5";
|
236 |
cycrow |
1200 |
this->label5->Size = System::Drawing::Size(100, 25);
|
1 |
cycrow |
1201 |
this->label5->TabIndex = 0;
|
|
|
1202 |
this->label5->Text = L"Filters";
|
|
|
1203 |
this->label5->TextAlign = System::Drawing::ContentAlignment::MiddleLeft;
|
|
|
1204 |
//
|
|
|
1205 |
// tabControl1
|
|
|
1206 |
//
|
|
|
1207 |
this->tabControl1->Controls->Add(this->tabPage1);
|
|
|
1208 |
this->tabControl1->Controls->Add(this->tabPage5);
|
|
|
1209 |
this->tabControl1->Controls->Add(this->PagePackage);
|
|
|
1210 |
this->tabControl1->Controls->Add(this->tabPage3);
|
|
|
1211 |
this->tabControl1->Controls->Add(this->tabPage2);
|
|
|
1212 |
this->tabControl1->Controls->Add(this->tabPage4);
|
|
|
1213 |
this->tabControl1->Controls->Add(this->PageWares);
|
|
|
1214 |
this->tabControl1->Controls->Add(this->PageShip);
|
|
|
1215 |
this->tabControl1->Controls->Add(this->PageRaw);
|
|
|
1216 |
this->tabControl1->Controls->Add(this->PageShipComp);
|
237 |
cycrow |
1217 |
this->tabControl1->Controls->Add(this->tabGlobals);
|
1 |
cycrow |
1218 |
this->tabControl1->Dock = System::Windows::Forms::DockStyle::Top;
|
236 |
cycrow |
1219 |
this->tabControl1->Location = System::Drawing::Point(5, 133);
|
237 |
cycrow |
1220 |
this->tabControl1->Margin = System::Windows::Forms::Padding(6);
|
1 |
cycrow |
1221 |
this->tabControl1->Multiline = true;
|
|
|
1222 |
this->tabControl1->Name = L"tabControl1";
|
|
|
1223 |
this->tabControl1->SelectedIndex = 0;
|
236 |
cycrow |
1224 |
this->tabControl1->Size = System::Drawing::Size(756, 242);
|
1 |
cycrow |
1225 |
this->tabControl1->TabIndex = 1;
|
|
|
1226 |
//
|
|
|
1227 |
// tabPage1
|
|
|
1228 |
//
|
|
|
1229 |
this->tabPage1->Controls->Add(this->groupBox2);
|
|
|
1230 |
this->tabPage1->Controls->Add(this->panel13);
|
|
|
1231 |
this->tabPage1->Controls->Add(this->panel12);
|
|
|
1232 |
this->tabPage1->Controls->Add(this->panel11);
|
|
|
1233 |
this->tabPage1->Controls->Add(this->LabelShipWarning);
|
237 |
cycrow |
1234 |
this->tabPage1->Location = System::Drawing::Point(4, 40);
|
1 |
cycrow |
1235 |
this->tabPage1->Name = L"tabPage1";
|
237 |
cycrow |
1236 |
this->tabPage1->Padding = System::Windows::Forms::Padding(8);
|
|
|
1237 |
this->tabPage1->Size = System::Drawing::Size(748, 198);
|
1 |
cycrow |
1238 |
this->tabPage1->TabIndex = 0;
|
|
|
1239 |
this->tabPage1->Text = L"Basic Settings";
|
|
|
1240 |
this->tabPage1->UseVisualStyleBackColor = true;
|
|
|
1241 |
//
|
|
|
1242 |
// groupBox2
|
|
|
1243 |
//
|
|
|
1244 |
this->groupBox2->Controls->Add(this->TextDesc);
|
|
|
1245 |
this->groupBox2->Dock = System::Windows::Forms::DockStyle::Fill;
|
236 |
cycrow |
1246 |
this->groupBox2->Location = System::Drawing::Point(8, 89);
|
1 |
cycrow |
1247 |
this->groupBox2->Name = L"groupBox2";
|
237 |
cycrow |
1248 |
this->groupBox2->Padding = System::Windows::Forms::Padding(5);
|
|
|
1249 |
this->groupBox2->Size = System::Drawing::Size(732, 101);
|
1 |
cycrow |
1250 |
this->groupBox2->TabIndex = 1;
|
|
|
1251 |
this->groupBox2->TabStop = false;
|
|
|
1252 |
this->groupBox2->Text = L"Description";
|
|
|
1253 |
//
|
|
|
1254 |
// TextDesc
|
|
|
1255 |
//
|
|
|
1256 |
this->TextDesc->Dock = System::Windows::Forms::DockStyle::Fill;
|
236 |
cycrow |
1257 |
this->TextDesc->Location = System::Drawing::Point(5, 18);
|
1 |
cycrow |
1258 |
this->TextDesc->Name = L"TextDesc";
|
237 |
cycrow |
1259 |
this->TextDesc->Size = System::Drawing::Size(722, 78);
|
1 |
cycrow |
1260 |
this->TextDesc->TabIndex = 0;
|
|
|
1261 |
this->TextDesc->Text = L"";
|
|
|
1262 |
this->TextDesc->TextChanged += gcnew System::EventHandler(this, &PackageForm::TextDesc_TextChanged);
|
|
|
1263 |
//
|
|
|
1264 |
// panel13
|
|
|
1265 |
//
|
|
|
1266 |
this->panel13->Controls->Add(this->TextForum);
|
|
|
1267 |
this->panel13->Controls->Add(this->label11);
|
|
|
1268 |
this->panel13->Dock = System::Windows::Forms::DockStyle::Top;
|
236 |
cycrow |
1269 |
this->panel13->Location = System::Drawing::Point(8, 67);
|
1 |
cycrow |
1270 |
this->panel13->Name = L"panel13";
|
236 |
cycrow |
1271 |
this->panel13->Size = System::Drawing::Size(732, 22);
|
1 |
cycrow |
1272 |
this->panel13->TabIndex = 46;
|
|
|
1273 |
//
|
|
|
1274 |
// TextForum
|
|
|
1275 |
//
|
|
|
1276 |
this->TextForum->DetectUrls = false;
|
|
|
1277 |
this->TextForum->Dock = System::Windows::Forms::DockStyle::Fill;
|
236 |
cycrow |
1278 |
this->TextForum->Location = System::Drawing::Point(125, 0);
|
1 |
cycrow |
1279 |
this->TextForum->Name = L"TextForum";
|
236 |
cycrow |
1280 |
this->TextForum->Size = System::Drawing::Size(607, 22);
|
1 |
cycrow |
1281 |
this->TextForum->TabIndex = 43;
|
|
|
1282 |
this->TextForum->Text = L"";
|
|
|
1283 |
this->TextForum->TextChanged += gcnew System::EventHandler(this, &PackageForm::TextForum_TextChanged);
|
|
|
1284 |
//
|
|
|
1285 |
// label11
|
|
|
1286 |
//
|
|
|
1287 |
this->label11->Dock = System::Windows::Forms::DockStyle::Left;
|
126 |
cycrow |
1288 |
this->label11->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 9.75F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point,
|
1 |
cycrow |
1289 |
static_cast<System::Byte>(0)));
|
|
|
1290 |
this->label11->Location = System::Drawing::Point(0, 0);
|
|
|
1291 |
this->label11->Name = L"label11";
|
236 |
cycrow |
1292 |
this->label11->Size = System::Drawing::Size(125, 22);
|
1 |
cycrow |
1293 |
this->label11->TabIndex = 42;
|
|
|
1294 |
this->label11->Text = L"Forum Link";
|
|
|
1295 |
//
|
|
|
1296 |
// panel12
|
|
|
1297 |
//
|
|
|
1298 |
this->panel12->Controls->Add(this->TextEmail);
|
|
|
1299 |
this->panel12->Controls->Add(this->label10);
|
|
|
1300 |
this->panel12->Dock = System::Windows::Forms::DockStyle::Top;
|
236 |
cycrow |
1301 |
this->panel12->Location = System::Drawing::Point(8, 45);
|
1 |
cycrow |
1302 |
this->panel12->Name = L"panel12";
|
236 |
cycrow |
1303 |
this->panel12->Size = System::Drawing::Size(732, 22);
|
1 |
cycrow |
1304 |
this->panel12->TabIndex = 45;
|
|
|
1305 |
//
|
|
|
1306 |
// TextEmail
|
|
|
1307 |
//
|
|
|
1308 |
this->TextEmail->DetectUrls = false;
|
|
|
1309 |
this->TextEmail->Dock = System::Windows::Forms::DockStyle::Fill;
|
236 |
cycrow |
1310 |
this->TextEmail->Location = System::Drawing::Point(125, 0);
|
1 |
cycrow |
1311 |
this->TextEmail->Name = L"TextEmail";
|
236 |
cycrow |
1312 |
this->TextEmail->Size = System::Drawing::Size(607, 22);
|
1 |
cycrow |
1313 |
this->TextEmail->TabIndex = 43;
|
|
|
1314 |
this->TextEmail->Text = L"";
|
|
|
1315 |
this->TextEmail->TextChanged += gcnew System::EventHandler(this, &PackageForm::TextEmail_TextChanged);
|
|
|
1316 |
//
|
|
|
1317 |
// label10
|
|
|
1318 |
//
|
|
|
1319 |
this->label10->Dock = System::Windows::Forms::DockStyle::Left;
|
126 |
cycrow |
1320 |
this->label10->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 9.75F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point,
|
1 |
cycrow |
1321 |
static_cast<System::Byte>(0)));
|
|
|
1322 |
this->label10->Location = System::Drawing::Point(0, 0);
|
|
|
1323 |
this->label10->Name = L"label10";
|
236 |
cycrow |
1324 |
this->label10->Size = System::Drawing::Size(125, 22);
|
1 |
cycrow |
1325 |
this->label10->TabIndex = 42;
|
|
|
1326 |
this->label10->Text = L"Email Address";
|
|
|
1327 |
//
|
|
|
1328 |
// panel11
|
|
|
1329 |
//
|
|
|
1330 |
this->panel11->Controls->Add(this->TextWebsite);
|
|
|
1331 |
this->panel11->Controls->Add(this->label9);
|
|
|
1332 |
this->panel11->Dock = System::Windows::Forms::DockStyle::Top;
|
236 |
cycrow |
1333 |
this->panel11->Location = System::Drawing::Point(8, 26);
|
1 |
cycrow |
1334 |
this->panel11->Name = L"panel11";
|
236 |
cycrow |
1335 |
this->panel11->Size = System::Drawing::Size(732, 19);
|
1 |
cycrow |
1336 |
this->panel11->TabIndex = 44;
|
|
|
1337 |
//
|
|
|
1338 |
// TextWebsite
|
|
|
1339 |
//
|
|
|
1340 |
this->TextWebsite->DetectUrls = false;
|
|
|
1341 |
this->TextWebsite->Dock = System::Windows::Forms::DockStyle::Fill;
|
236 |
cycrow |
1342 |
this->TextWebsite->Location = System::Drawing::Point(125, 0);
|
1 |
cycrow |
1343 |
this->TextWebsite->Name = L"TextWebsite";
|
236 |
cycrow |
1344 |
this->TextWebsite->Size = System::Drawing::Size(607, 19);
|
1 |
cycrow |
1345 |
this->TextWebsite->TabIndex = 41;
|
|
|
1346 |
this->TextWebsite->Text = L"";
|
|
|
1347 |
this->TextWebsite->TextChanged += gcnew System::EventHandler(this, &PackageForm::TextWebsite_TextChanged);
|
|
|
1348 |
//
|
|
|
1349 |
// label9
|
|
|
1350 |
//
|
|
|
1351 |
this->label9->Dock = System::Windows::Forms::DockStyle::Left;
|
126 |
cycrow |
1352 |
this->label9->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 9.75F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point,
|
1 |
cycrow |
1353 |
static_cast<System::Byte>(0)));
|
|
|
1354 |
this->label9->Location = System::Drawing::Point(0, 0);
|
|
|
1355 |
this->label9->Name = L"label9";
|
236 |
cycrow |
1356 |
this->label9->Size = System::Drawing::Size(125, 19);
|
1 |
cycrow |
1357 |
this->label9->TabIndex = 40;
|
|
|
1358 |
this->label9->Text = L"Web Site";
|
|
|
1359 |
//
|
|
|
1360 |
// LabelShipWarning
|
|
|
1361 |
//
|
|
|
1362 |
this->LabelShipWarning->Dock = System::Windows::Forms::DockStyle::Top;
|
126 |
cycrow |
1363 |
this->LabelShipWarning->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 8.25F, System::Drawing::FontStyle::Italic, System::Drawing::GraphicsUnit::Point,
|
1 |
cycrow |
1364 |
static_cast<System::Byte>(0)));
|
|
|
1365 |
this->LabelShipWarning->ForeColor = System::Drawing::Color::Red;
|
236 |
cycrow |
1366 |
this->LabelShipWarning->Location = System::Drawing::Point(8, 8);
|
1 |
cycrow |
1367 |
this->LabelShipWarning->Name = L"LabelShipWarning";
|
236 |
cycrow |
1368 |
this->LabelShipWarning->Size = System::Drawing::Size(732, 18);
|
1 |
cycrow |
1369 |
this->LabelShipWarning->TabIndex = 47;
|
|
|
1370 |
this->LabelShipWarning->Text = L"NOTE: Ship files are not valid for X2, and only work in later games";
|
|
|
1371 |
this->LabelShipWarning->TextAlign = System::Drawing::ContentAlignment::MiddleCenter;
|
|
|
1372 |
//
|
|
|
1373 |
// tabPage5
|
|
|
1374 |
//
|
|
|
1375 |
this->tabPage5->Controls->Add(this->ListGames);
|
|
|
1376 |
this->tabPage5->Controls->Add(this->groupBox8);
|
237 |
cycrow |
1377 |
this->tabPage5->Location = System::Drawing::Point(4, 40);
|
1 |
cycrow |
1378 |
this->tabPage5->Name = L"tabPage5";
|
237 |
cycrow |
1379 |
this->tabPage5->Padding = System::Windows::Forms::Padding(3);
|
|
|
1380 |
this->tabPage5->Size = System::Drawing::Size(748, 198);
|
1 |
cycrow |
1381 |
this->tabPage5->TabIndex = 10;
|
|
|
1382 |
this->tabPage5->Text = L"Game Compatability";
|
|
|
1383 |
this->tabPage5->UseVisualStyleBackColor = true;
|
|
|
1384 |
//
|
|
|
1385 |
// ListGames
|
|
|
1386 |
//
|
126 |
cycrow |
1387 |
this->ListGames->Columns->AddRange(gcnew cli::array< System::Windows::Forms::ColumnHeader^ >(2) { this->columnHeader26, this->columnHeader27 });
|
1 |
cycrow |
1388 |
this->ListGames->Dock = System::Windows::Forms::DockStyle::Fill;
|
|
|
1389 |
this->ListGames->FullRowSelect = true;
|
126 |
cycrow |
1390 |
this->ListGames->HideSelection = false;
|
236 |
cycrow |
1391 |
this->ListGames->Location = System::Drawing::Point(3, 3);
|
1 |
cycrow |
1392 |
this->ListGames->MultiSelect = false;
|
|
|
1393 |
this->ListGames->Name = L"ListGames";
|
237 |
cycrow |
1394 |
this->ListGames->Size = System::Drawing::Size(742, 122);
|
1 |
cycrow |
1395 |
this->ListGames->TabIndex = 2;
|
|
|
1396 |
this->ListGames->UseCompatibleStateImageBehavior = false;
|
|
|
1397 |
this->ListGames->View = System::Windows::Forms::View::Details;
|
|
|
1398 |
this->ListGames->SelectedIndexChanged += gcnew System::EventHandler(this, &PackageForm::ListGames_SelectedIndexChanged);
|
|
|
1399 |
this->ListGames->DoubleClick += gcnew System::EventHandler(this, &PackageForm::ListGames_DoubleClick);
|
|
|
1400 |
//
|
|
|
1401 |
// columnHeader26
|
|
|
1402 |
//
|
|
|
1403 |
this->columnHeader26->Text = L"Game";
|
|
|
1404 |
//
|
|
|
1405 |
// columnHeader27
|
|
|
1406 |
//
|
|
|
1407 |
this->columnHeader27->Text = L"Version";
|
|
|
1408 |
//
|
|
|
1409 |
// groupBox8
|
|
|
1410 |
//
|
|
|
1411 |
this->groupBox8->Controls->Add(this->panel10);
|
|
|
1412 |
this->groupBox8->Dock = System::Windows::Forms::DockStyle::Bottom;
|
237 |
cycrow |
1413 |
this->groupBox8->Location = System::Drawing::Point(3, 125);
|
1 |
cycrow |
1414 |
this->groupBox8->Name = L"groupBox8";
|
237 |
cycrow |
1415 |
this->groupBox8->Size = System::Drawing::Size(742, 70);
|
1 |
cycrow |
1416 |
this->groupBox8->TabIndex = 1;
|
|
|
1417 |
this->groupBox8->TabStop = false;
|
|
|
1418 |
this->groupBox8->Text = L"Add/Edit Game";
|
|
|
1419 |
//
|
|
|
1420 |
// panel10
|
|
|
1421 |
//
|
|
|
1422 |
this->panel10->Controls->Add(this->panel21);
|
|
|
1423 |
this->panel10->Controls->Add(this->ButGame);
|
|
|
1424 |
this->panel10->Dock = System::Windows::Forms::DockStyle::Top;
|
236 |
cycrow |
1425 |
this->panel10->Location = System::Drawing::Point(3, 16);
|
1 |
cycrow |
1426 |
this->panel10->Name = L"panel10";
|
237 |
cycrow |
1427 |
this->panel10->Size = System::Drawing::Size(736, 43);
|
1 |
cycrow |
1428 |
this->panel10->TabIndex = 44;
|
|
|
1429 |
//
|
|
|
1430 |
// panel21
|
|
|
1431 |
//
|
|
|
1432 |
this->panel21->Controls->Add(this->ComboVersion);
|
|
|
1433 |
this->panel21->Controls->Add(this->TextExactVersion);
|
|
|
1434 |
this->panel21->Controls->Add(this->ButGameAdd);
|
|
|
1435 |
this->panel21->Dock = System::Windows::Forms::DockStyle::Fill;
|
236 |
cycrow |
1436 |
this->panel21->Location = System::Drawing::Point(218, 0);
|
1 |
cycrow |
1437 |
this->panel21->Name = L"panel21";
|
237 |
cycrow |
1438 |
this->panel21->Size = System::Drawing::Size(518, 43);
|
1 |
cycrow |
1439 |
this->panel21->TabIndex = 44;
|
|
|
1440 |
//
|
|
|
1441 |
// ComboVersion
|
|
|
1442 |
//
|
|
|
1443 |
this->ComboVersion->Dock = System::Windows::Forms::DockStyle::Fill;
|
|
|
1444 |
this->ComboVersion->DropDownStyle = System::Windows::Forms::ComboBoxStyle::DropDownList;
|
|
|
1445 |
this->ComboVersion->Enabled = false;
|
|
|
1446 |
this->ComboVersion->FormattingEnabled = true;
|
|
|
1447 |
this->ComboVersion->Location = System::Drawing::Point(0, 0);
|
|
|
1448 |
this->ComboVersion->Name = L"ComboVersion";
|
237 |
cycrow |
1449 |
this->ComboVersion->Size = System::Drawing::Size(465, 21);
|
1 |
cycrow |
1450 |
this->ComboVersion->TabIndex = 41;
|
|
|
1451 |
this->ComboVersion->SelectedIndexChanged += gcnew System::EventHandler(this, &PackageForm::ComboVersion_SelectedIndexChanged);
|
|
|
1452 |
//
|
|
|
1453 |
// TextExactVersion
|
|
|
1454 |
//
|
|
|
1455 |
this->TextExactVersion->Dock = System::Windows::Forms::DockStyle::Bottom;
|
236 |
cycrow |
1456 |
this->TextExactVersion->Location = System::Drawing::Point(0, 23);
|
1 |
cycrow |
1457 |
this->TextExactVersion->Name = L"TextExactVersion";
|
237 |
cycrow |
1458 |
this->TextExactVersion->Size = System::Drawing::Size(465, 20);
|
1 |
cycrow |
1459 |
this->TextExactVersion->TabIndex = 42;
|
|
|
1460 |
//
|
|
|
1461 |
// ButGameAdd
|
|
|
1462 |
//
|
|
|
1463 |
this->ButGameAdd->Dock = System::Windows::Forms::DockStyle::Right;
|
|
|
1464 |
this->ButGameAdd->ForeColor = System::Drawing::Color::Green;
|
237 |
cycrow |
1465 |
this->ButGameAdd->Location = System::Drawing::Point(465, 0);
|
1 |
cycrow |
1466 |
this->ButGameAdd->Name = L"ButGameAdd";
|
236 |
cycrow |
1467 |
this->ButGameAdd->Size = System::Drawing::Size(53, 43);
|
1 |
cycrow |
1468 |
this->ButGameAdd->TabIndex = 43;
|
|
|
1469 |
this->ButGameAdd->Text = L"Save!";
|
|
|
1470 |
this->ButGameAdd->UseVisualStyleBackColor = true;
|
|
|
1471 |
this->ButGameAdd->Click += gcnew System::EventHandler(this, &PackageForm::ButGameAdd_Click);
|
|
|
1472 |
//
|
|
|
1473 |
// ButGame
|
|
|
1474 |
//
|
|
|
1475 |
this->ButGame->ContextMenuStrip = this->ContextGames;
|
|
|
1476 |
this->ButGame->Dock = System::Windows::Forms::DockStyle::Left;
|
|
|
1477 |
this->ButGame->ImageAlign = System::Drawing::ContentAlignment::MiddleLeft;
|
|
|
1478 |
this->ButGame->Location = System::Drawing::Point(0, 0);
|
|
|
1479 |
this->ButGame->Name = L"ButGame";
|
236 |
cycrow |
1480 |
this->ButGame->Size = System::Drawing::Size(218, 43);
|
1 |
cycrow |
1481 |
this->ButGame->TabIndex = 43;
|
|
|
1482 |
this->ButGame->UseVisualStyleBackColor = true;
|
|
|
1483 |
this->ButGame->Click += gcnew System::EventHandler(this, &PackageForm::ButGame_Click);
|
|
|
1484 |
//
|
|
|
1485 |
// ContextGames
|
|
|
1486 |
//
|
|
|
1487 |
this->ContextGames->ImageScalingSize = System::Drawing::Size(32, 32);
|
126 |
cycrow |
1488 |
this->ContextGames->Items->AddRange(gcnew cli::array< System::Windows::Forms::ToolStripItem^ >(1) { this->testToolStripMenuItem });
|
1 |
cycrow |
1489 |
this->ContextGames->Name = L"ContextGames";
|
236 |
cycrow |
1490 |
this->ContextGames->Size = System::Drawing::Size(95, 26);
|
1 |
cycrow |
1491 |
//
|
|
|
1492 |
// testToolStripMenuItem
|
|
|
1493 |
//
|
|
|
1494 |
this->testToolStripMenuItem->Name = L"testToolStripMenuItem";
|
236 |
cycrow |
1495 |
this->testToolStripMenuItem->Size = System::Drawing::Size(94, 22);
|
1 |
cycrow |
1496 |
this->testToolStripMenuItem->Text = L"Test";
|
|
|
1497 |
//
|
|
|
1498 |
// PagePackage
|
|
|
1499 |
//
|
|
|
1500 |
this->PagePackage->Controls->Add(this->groupBox3);
|
|
|
1501 |
this->PagePackage->Controls->Add(this->panel22);
|
|
|
1502 |
this->PagePackage->Controls->Add(this->panel7);
|
237 |
cycrow |
1503 |
this->PagePackage->Location = System::Drawing::Point(4, 40);
|
1 |
cycrow |
1504 |
this->PagePackage->Name = L"PagePackage";
|
237 |
cycrow |
1505 |
this->PagePackage->Padding = System::Windows::Forms::Padding(3);
|
|
|
1506 |
this->PagePackage->Size = System::Drawing::Size(748, 198);
|
1 |
cycrow |
1507 |
this->PagePackage->TabIndex = 2;
|
|
|
1508 |
this->PagePackage->Text = L"Package Settings";
|
|
|
1509 |
this->PagePackage->UseVisualStyleBackColor = true;
|
|
|
1510 |
//
|
|
|
1511 |
// groupBox3
|
|
|
1512 |
//
|
|
|
1513 |
this->groupBox3->Controls->Add(this->TextOtherName);
|
|
|
1514 |
this->groupBox3->Controls->Add(this->label13);
|
|
|
1515 |
this->groupBox3->Controls->Add(this->label12);
|
|
|
1516 |
this->groupBox3->Controls->Add(this->CheckOther);
|
|
|
1517 |
this->groupBox3->Controls->Add(this->TextOtherAuthor);
|
|
|
1518 |
this->groupBox3->Controls->Add(this->ButFromFile);
|
|
|
1519 |
this->groupBox3->Dock = System::Windows::Forms::DockStyle::Top;
|
236 |
cycrow |
1520 |
this->groupBox3->Location = System::Drawing::Point(3, 95);
|
237 |
cycrow |
1521 |
this->groupBox3->Margin = System::Windows::Forms::Padding(10);
|
1 |
cycrow |
1522 |
this->groupBox3->Name = L"groupBox3";
|
237 |
cycrow |
1523 |
this->groupBox3->Padding = System::Windows::Forms::Padding(10);
|
|
|
1524 |
this->groupBox3->Size = System::Drawing::Size(742, 53);
|
1 |
cycrow |
1525 |
this->groupBox3->TabIndex = 1;
|
|
|
1526 |
this->groupBox3->TabStop = false;
|
|
|
1527 |
this->groupBox3->Text = L"Requires Parent Mod/Package";
|
|
|
1528 |
//
|
|
|
1529 |
// TextOtherName
|
|
|
1530 |
//
|
|
|
1531 |
this->TextOtherName->Dock = System::Windows::Forms::DockStyle::Fill;
|
236 |
cycrow |
1532 |
this->TextOtherName->Location = System::Drawing::Point(107, 23);
|
1 |
cycrow |
1533 |
this->TextOtherName->Name = L"TextOtherName";
|
237 |
cycrow |
1534 |
this->TextOtherName->Size = System::Drawing::Size(334, 20);
|
1 |
cycrow |
1535 |
this->TextOtherName->TabIndex = 1;
|
|
|
1536 |
this->TextOtherName->TextChanged += gcnew System::EventHandler(this, &PackageForm::TextOtherName_TextChanged);
|
|
|
1537 |
//
|
|
|
1538 |
// label13
|
|
|
1539 |
//
|
|
|
1540 |
this->label13->Dock = System::Windows::Forms::DockStyle::Right;
|
126 |
cycrow |
1541 |
this->label13->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 9, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point,
|
1 |
cycrow |
1542 |
static_cast<System::Byte>(0)));
|
237 |
cycrow |
1543 |
this->label13->Location = System::Drawing::Point(441, 23);
|
1 |
cycrow |
1544 |
this->label13->Name = L"label13";
|
236 |
cycrow |
1545 |
this->label13->Size = System::Drawing::Size(77, 20);
|
1 |
cycrow |
1546 |
this->label13->TabIndex = 3;
|
|
|
1547 |
this->label13->Text = L"Author";
|
|
|
1548 |
this->label13->TextAlign = System::Drawing::ContentAlignment::MiddleRight;
|
|
|
1549 |
//
|
|
|
1550 |
// label12
|
|
|
1551 |
//
|
|
|
1552 |
this->label12->Dock = System::Windows::Forms::DockStyle::Left;
|
126 |
cycrow |
1553 |
this->label12->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 9, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point,
|
1 |
cycrow |
1554 |
static_cast<System::Byte>(0)));
|
|
|
1555 |
this->label12->ImageAlign = System::Drawing::ContentAlignment::MiddleRight;
|
236 |
cycrow |
1556 |
this->label12->Location = System::Drawing::Point(25, 23);
|
1 |
cycrow |
1557 |
this->label12->Name = L"label12";
|
|
|
1558 |
this->label12->RightToLeft = System::Windows::Forms::RightToLeft::No;
|
236 |
cycrow |
1559 |
this->label12->Size = System::Drawing::Size(82, 20);
|
1 |
cycrow |
1560 |
this->label12->TabIndex = 2;
|
|
|
1561 |
this->label12->Text = L"Package";
|
|
|
1562 |
this->label12->TextAlign = System::Drawing::ContentAlignment::MiddleRight;
|
|
|
1563 |
//
|
|
|
1564 |
// CheckOther
|
|
|
1565 |
//
|
|
|
1566 |
this->CheckOther->AutoSize = true;
|
|
|
1567 |
this->CheckOther->Dock = System::Windows::Forms::DockStyle::Left;
|
236 |
cycrow |
1568 |
this->CheckOther->Location = System::Drawing::Point(10, 23);
|
1 |
cycrow |
1569 |
this->CheckOther->Name = L"CheckOther";
|
236 |
cycrow |
1570 |
this->CheckOther->Size = System::Drawing::Size(15, 20);
|
1 |
cycrow |
1571 |
this->CheckOther->TabIndex = 0;
|
|
|
1572 |
this->CheckOther->UseVisualStyleBackColor = true;
|
|
|
1573 |
this->CheckOther->CheckedChanged += gcnew System::EventHandler(this, &PackageForm::CheckOther_CheckedChanged);
|
|
|
1574 |
//
|
|
|
1575 |
// TextOtherAuthor
|
|
|
1576 |
//
|
|
|
1577 |
this->TextOtherAuthor->Dock = System::Windows::Forms::DockStyle::Right;
|
237 |
cycrow |
1578 |
this->TextOtherAuthor->Location = System::Drawing::Point(518, 23);
|
1 |
cycrow |
1579 |
this->TextOtherAuthor->Name = L"TextOtherAuthor";
|
236 |
cycrow |
1580 |
this->TextOtherAuthor->Size = System::Drawing::Size(139, 20);
|
1 |
cycrow |
1581 |
this->TextOtherAuthor->TabIndex = 4;
|
|
|
1582 |
this->TextOtherAuthor->TextChanged += gcnew System::EventHandler(this, &PackageForm::TextOtherName_TextChanged);
|
|
|
1583 |
//
|
|
|
1584 |
// ButFromFile
|
|
|
1585 |
//
|
|
|
1586 |
this->ButFromFile->Dock = System::Windows::Forms::DockStyle::Right;
|
237 |
cycrow |
1587 |
this->ButFromFile->Location = System::Drawing::Point(657, 23);
|
1 |
cycrow |
1588 |
this->ButFromFile->Name = L"ButFromFile";
|
236 |
cycrow |
1589 |
this->ButFromFile->Size = System::Drawing::Size(75, 20);
|
1 |
cycrow |
1590 |
this->ButFromFile->TabIndex = 5;
|
|
|
1591 |
this->ButFromFile->Text = L"From File";
|
|
|
1592 |
this->ButFromFile->UseVisualStyleBackColor = true;
|
|
|
1593 |
this->ButFromFile->Click += gcnew System::EventHandler(this, &PackageForm::ButFromFile_Click);
|
|
|
1594 |
//
|
|
|
1595 |
// panel22
|
|
|
1596 |
//
|
|
|
1597 |
this->panel22->Controls->Add(this->ComboPluginType);
|
|
|
1598 |
this->panel22->Controls->Add(this->label15);
|
|
|
1599 |
this->panel22->Dock = System::Windows::Forms::DockStyle::Top;
|
236 |
cycrow |
1600 |
this->panel22->Location = System::Drawing::Point(3, 63);
|
1 |
cycrow |
1601 |
this->panel22->Name = L"panel22";
|
237 |
cycrow |
1602 |
this->panel22->Size = System::Drawing::Size(742, 32);
|
1 |
cycrow |
1603 |
this->panel22->TabIndex = 2;
|
|
|
1604 |
//
|
|
|
1605 |
// ComboPluginType
|
|
|
1606 |
//
|
|
|
1607 |
this->ComboPluginType->Dock = System::Windows::Forms::DockStyle::Fill;
|
|
|
1608 |
this->ComboPluginType->DropDownStyle = System::Windows::Forms::ComboBoxStyle::DropDownList;
|
|
|
1609 |
this->ComboPluginType->FormattingEnabled = true;
|
126 |
cycrow |
1610 |
this->ComboPluginType->Items->AddRange(gcnew cli::array< System::Object^ >(5) {
|
|
|
1611 |
L"Normal", L"Stable", L"Experimental", L"Cheat",
|
|
|
1612 |
L"Mod"
|
|
|
1613 |
});
|
236 |
cycrow |
1614 |
this->ComboPluginType->Location = System::Drawing::Point(157, 0);
|
1 |
cycrow |
1615 |
this->ComboPluginType->Name = L"ComboPluginType";
|
237 |
cycrow |
1616 |
this->ComboPluginType->Size = System::Drawing::Size(585, 21);
|
1 |
cycrow |
1617 |
this->ComboPluginType->TabIndex = 7;
|
|
|
1618 |
this->ComboPluginType->SelectedIndexChanged += gcnew System::EventHandler(this, &PackageForm::ComboPluginType_SelectedIndexChanged);
|
|
|
1619 |
//
|
|
|
1620 |
// label15
|
|
|
1621 |
//
|
|
|
1622 |
this->label15->Dock = System::Windows::Forms::DockStyle::Left;
|
126 |
cycrow |
1623 |
this->label15->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 9.75F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point,
|
1 |
cycrow |
1624 |
static_cast<System::Byte>(0)));
|
|
|
1625 |
this->label15->Location = System::Drawing::Point(0, 0);
|
|
|
1626 |
this->label15->Name = L"label15";
|
236 |
cycrow |
1627 |
this->label15->Size = System::Drawing::Size(157, 32);
|
1 |
cycrow |
1628 |
this->label15->TabIndex = 2;
|
|
|
1629 |
this->label15->Text = L"Plugin Type";
|
|
|
1630 |
//
|
|
|
1631 |
// panel7
|
|
|
1632 |
//
|
|
|
1633 |
this->panel7->Controls->Add(this->panel8);
|
|
|
1634 |
this->panel7->Controls->Add(this->label7);
|
|
|
1635 |
this->panel7->Dock = System::Windows::Forms::DockStyle::Top;
|
236 |
cycrow |
1636 |
this->panel7->Location = System::Drawing::Point(3, 3);
|
1 |
cycrow |
1637 |
this->panel7->Name = L"panel7";
|
236 |
cycrow |
1638 |
this->panel7->Padding = System::Windows::Forms::Padding(5, 5, 5, 10);
|
237 |
cycrow |
1639 |
this->panel7->Size = System::Drawing::Size(742, 60);
|
1 |
cycrow |
1640 |
this->panel7->TabIndex = 0;
|
|
|
1641 |
//
|
|
|
1642 |
// panel8
|
|
|
1643 |
//
|
|
|
1644 |
this->panel8->Controls->Add(this->flowLayoutPanel1);
|
|
|
1645 |
this->panel8->Controls->Add(this->panel9);
|
|
|
1646 |
this->panel8->Dock = System::Windows::Forms::DockStyle::Fill;
|
236 |
cycrow |
1647 |
this->panel8->Location = System::Drawing::Point(162, 5);
|
1 |
cycrow |
1648 |
this->panel8->Name = L"panel8";
|
237 |
cycrow |
1649 |
this->panel8->Size = System::Drawing::Size(575, 45);
|
1 |
cycrow |
1650 |
this->panel8->TabIndex = 2;
|
|
|
1651 |
//
|
|
|
1652 |
// flowLayoutPanel1
|
|
|
1653 |
//
|
|
|
1654 |
this->flowLayoutPanel1->Controls->Add(this->RadioTypeUpdate);
|
|
|
1655 |
this->flowLayoutPanel1->Controls->Add(this->RadioTypeLibrary);
|
|
|
1656 |
this->flowLayoutPanel1->Controls->Add(this->RadioTypeStart);
|
|
|
1657 |
this->flowLayoutPanel1->Controls->Add(this->RadioTypePatch);
|
|
|
1658 |
this->flowLayoutPanel1->Dock = System::Windows::Forms::DockStyle::Fill;
|
|
|
1659 |
this->flowLayoutPanel1->Location = System::Drawing::Point(0, 0);
|
|
|
1660 |
this->flowLayoutPanel1->Name = L"flowLayoutPanel1";
|
237 |
cycrow |
1661 |
this->flowLayoutPanel1->Size = System::Drawing::Size(575, 22);
|
1 |
cycrow |
1662 |
this->flowLayoutPanel1->TabIndex = 4;
|
|
|
1663 |
//
|
|
|
1664 |
// RadioTypeUpdate
|
|
|
1665 |
//
|
|
|
1666 |
this->RadioTypeUpdate->AutoSize = true;
|
236 |
cycrow |
1667 |
this->RadioTypeUpdate->Location = System::Drawing::Point(3, 3);
|
1 |
cycrow |
1668 |
this->RadioTypeUpdate->Name = L"RadioTypeUpdate";
|
236 |
cycrow |
1669 |
this->RadioTypeUpdate->Size = System::Drawing::Size(106, 17);
|
1 |
cycrow |
1670 |
this->RadioTypeUpdate->TabIndex = 1;
|
|
|
1671 |
this->RadioTypeUpdate->TabStop = true;
|
|
|
1672 |
this->RadioTypeUpdate->Text = L"Update Package";
|
|
|
1673 |
this->RadioTypeUpdate->UseVisualStyleBackColor = true;
|
|
|
1674 |
this->RadioTypeUpdate->CheckedChanged += gcnew System::EventHandler(this, &PackageForm::RadioTypeUpdate_CheckedChanged);
|
|
|
1675 |
//
|
|
|
1676 |
// RadioTypeLibrary
|
|
|
1677 |
//
|
|
|
1678 |
this->RadioTypeLibrary->AutoSize = true;
|
236 |
cycrow |
1679 |
this->RadioTypeLibrary->Location = System::Drawing::Point(115, 3);
|
1 |
cycrow |
1680 |
this->RadioTypeLibrary->Name = L"RadioTypeLibrary";
|
236 |
cycrow |
1681 |
this->RadioTypeLibrary->Size = System::Drawing::Size(86, 17);
|
1 |
cycrow |
1682 |
this->RadioTypeLibrary->TabIndex = 3;
|
|
|
1683 |
this->RadioTypeLibrary->TabStop = true;
|
|
|
1684 |
this->RadioTypeLibrary->Text = L"Script Library";
|
|
|
1685 |
this->RadioTypeLibrary->UseVisualStyleBackColor = true;
|
|
|
1686 |
this->RadioTypeLibrary->CheckedChanged += gcnew System::EventHandler(this, &PackageForm::RadioTypeLibrary_CheckedChanged);
|
|
|
1687 |
//
|
|
|
1688 |
// RadioTypeStart
|
|
|
1689 |
//
|
|
|
1690 |
this->RadioTypeStart->AutoSize = true;
|
236 |
cycrow |
1691 |
this->RadioTypeStart->Location = System::Drawing::Point(207, 3);
|
1 |
cycrow |
1692 |
this->RadioTypeStart->Name = L"RadioTypeStart";
|
236 |
cycrow |
1693 |
this->RadioTypeStart->Size = System::Drawing::Size(85, 17);
|
1 |
cycrow |
1694 |
this->RadioTypeStart->TabIndex = 0;
|
|
|
1695 |
this->RadioTypeStart->TabStop = true;
|
|
|
1696 |
this->RadioTypeStart->Text = L"Custom Start";
|
|
|
1697 |
this->RadioTypeStart->UseVisualStyleBackColor = true;
|
|
|
1698 |
this->RadioTypeStart->CheckedChanged += gcnew System::EventHandler(this, &PackageForm::RadioTypeStart_CheckedChanged);
|
|
|
1699 |
//
|
|
|
1700 |
// RadioTypePatch
|
|
|
1701 |
//
|
|
|
1702 |
this->RadioTypePatch->AutoSize = true;
|
236 |
cycrow |
1703 |
this->RadioTypePatch->Location = System::Drawing::Point(298, 3);
|
1 |
cycrow |
1704 |
this->RadioTypePatch->Name = L"RadioTypePatch";
|
236 |
cycrow |
1705 |
this->RadioTypePatch->Size = System::Drawing::Size(77, 17);
|
1 |
cycrow |
1706 |
this->RadioTypePatch->TabIndex = 2;
|
|
|
1707 |
this->RadioTypePatch->TabStop = true;
|
|
|
1708 |
this->RadioTypePatch->Text = L"Mod Patch";
|
|
|
1709 |
this->RadioTypePatch->UseVisualStyleBackColor = true;
|
|
|
1710 |
this->RadioTypePatch->CheckedChanged += gcnew System::EventHandler(this, &PackageForm::RadioTypePatch_CheckedChanged);
|
|
|
1711 |
//
|
|
|
1712 |
// panel9
|
|
|
1713 |
//
|
|
|
1714 |
this->panel9->Controls->Add(this->TextCustomType);
|
|
|
1715 |
this->panel9->Controls->Add(this->ComboType);
|
|
|
1716 |
this->panel9->Controls->Add(this->RadioTypeScript);
|
|
|
1717 |
this->panel9->Dock = System::Windows::Forms::DockStyle::Bottom;
|
236 |
cycrow |
1718 |
this->panel9->Location = System::Drawing::Point(0, 22);
|
1 |
cycrow |
1719 |
this->panel9->Name = L"panel9";
|
237 |
cycrow |
1720 |
this->panel9->Size = System::Drawing::Size(575, 23);
|
1 |
cycrow |
1721 |
this->panel9->TabIndex = 6;
|
|
|
1722 |
//
|
|
|
1723 |
// TextCustomType
|
|
|
1724 |
//
|
|
|
1725 |
this->TextCustomType->Dock = System::Windows::Forms::DockStyle::Fill;
|
236 |
cycrow |
1726 |
this->TextCustomType->Location = System::Drawing::Point(146, 0);
|
1 |
cycrow |
1727 |
this->TextCustomType->Name = L"TextCustomType";
|
237 |
cycrow |
1728 |
this->TextCustomType->Size = System::Drawing::Size(429, 20);
|
1 |
cycrow |
1729 |
this->TextCustomType->TabIndex = 7;
|
|
|
1730 |
this->TextCustomType->TextChanged += gcnew System::EventHandler(this, &PackageForm::TextCustomType_TextChanged);
|
|
|
1731 |
//
|
|
|
1732 |
// ComboType
|
|
|
1733 |
//
|
|
|
1734 |
this->ComboType->Dock = System::Windows::Forms::DockStyle::Left;
|
|
|
1735 |
this->ComboType->DropDownStyle = System::Windows::Forms::ComboBoxStyle::DropDownList;
|
|
|
1736 |
this->ComboType->FormattingEnabled = true;
|
236 |
cycrow |
1737 |
this->ComboType->Location = System::Drawing::Point(14, 0);
|
1 |
cycrow |
1738 |
this->ComboType->Name = L"ComboType";
|
236 |
cycrow |
1739 |
this->ComboType->Size = System::Drawing::Size(132, 21);
|
1 |
cycrow |
1740 |
this->ComboType->TabIndex = 6;
|
|
|
1741 |
this->ComboType->SelectedIndexChanged += gcnew System::EventHandler(this, &PackageForm::ComboType_SelectedIndexChanged);
|
|
|
1742 |
//
|
|
|
1743 |
// RadioTypeScript
|
|
|
1744 |
//
|
|
|
1745 |
this->RadioTypeScript->AutoSize = true;
|
|
|
1746 |
this->RadioTypeScript->Dock = System::Windows::Forms::DockStyle::Left;
|
|
|
1747 |
this->RadioTypeScript->Location = System::Drawing::Point(0, 0);
|
|
|
1748 |
this->RadioTypeScript->Name = L"RadioTypeScript";
|
236 |
cycrow |
1749 |
this->RadioTypeScript->Size = System::Drawing::Size(14, 23);
|
1 |
cycrow |
1750 |
this->RadioTypeScript->TabIndex = 5;
|
|
|
1751 |
this->RadioTypeScript->TabStop = true;
|
|
|
1752 |
this->RadioTypeScript->UseVisualStyleBackColor = true;
|
|
|
1753 |
this->RadioTypeScript->CheckedChanged += gcnew System::EventHandler(this, &PackageForm::RadioTypeScript_CheckedChanged);
|
|
|
1754 |
//
|
|
|
1755 |
// label7
|
|
|
1756 |
//
|
|
|
1757 |
this->label7->Dock = System::Windows::Forms::DockStyle::Left;
|
126 |
cycrow |
1758 |
this->label7->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 9.75F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point,
|
1 |
cycrow |
1759 |
static_cast<System::Byte>(0)));
|
236 |
cycrow |
1760 |
this->label7->Location = System::Drawing::Point(5, 5);
|
1 |
cycrow |
1761 |
this->label7->Name = L"label7";
|
236 |
cycrow |
1762 |
this->label7->Size = System::Drawing::Size(157, 45);
|
1 |
cycrow |
1763 |
this->label7->TabIndex = 1;
|
|
|
1764 |
this->label7->Text = L"Package Type";
|
|
|
1765 |
this->label7->TextAlign = System::Drawing::ContentAlignment::MiddleLeft;
|
|
|
1766 |
//
|
|
|
1767 |
// tabPage3
|
|
|
1768 |
//
|
|
|
1769 |
this->tabPage3->Controls->Add(this->groupBox7);
|
|
|
1770 |
this->tabPage3->Controls->Add(this->groupBox6);
|
|
|
1771 |
this->tabPage3->Controls->Add(this->groupBox5);
|
|
|
1772 |
this->tabPage3->Controls->Add(this->panel15);
|
237 |
cycrow |
1773 |
this->tabPage3->Location = System::Drawing::Point(4, 40);
|
1 |
cycrow |
1774 |
this->tabPage3->Name = L"tabPage3";
|
237 |
cycrow |
1775 |
this->tabPage3->Padding = System::Windows::Forms::Padding(3);
|
|
|
1776 |
this->tabPage3->Size = System::Drawing::Size(748, 198);
|
1 |
cycrow |
1777 |
this->tabPage3->TabIndex = 4;
|
|
|
1778 |
this->tabPage3->Text = L"Display";
|
|
|
1779 |
this->tabPage3->UseVisualStyleBackColor = true;
|
|
|
1780 |
//
|
|
|
1781 |
// groupBox7
|
|
|
1782 |
//
|
|
|
1783 |
this->groupBox7->Controls->Add(this->TextText);
|
|
|
1784 |
this->groupBox7->Controls->Add(this->panel19);
|
|
|
1785 |
this->groupBox7->Controls->Add(this->panel18);
|
|
|
1786 |
this->groupBox7->Dock = System::Windows::Forms::DockStyle::Fill;
|
236 |
cycrow |
1787 |
this->groupBox7->Location = System::Drawing::Point(210, 66);
|
1 |
cycrow |
1788 |
this->groupBox7->Name = L"groupBox7";
|
236 |
cycrow |
1789 |
this->groupBox7->Padding = System::Windows::Forms::Padding(5, 0, 5, 5);
|
237 |
cycrow |
1790 |
this->groupBox7->Size = System::Drawing::Size(535, 129);
|
1 |
cycrow |
1791 |
this->groupBox7->TabIndex = 4;
|
|
|
1792 |
this->groupBox7->TabStop = false;
|
|
|
1793 |
this->groupBox7->Text = L"Text";
|
|
|
1794 |
//
|
|
|
1795 |
// TextText
|
|
|
1796 |
//
|
|
|
1797 |
this->TextText->Dock = System::Windows::Forms::DockStyle::Fill;
|
236 |
cycrow |
1798 |
this->TextText->Location = System::Drawing::Point(104, 40);
|
1 |
cycrow |
1799 |
this->TextText->Name = L"TextText";
|
237 |
cycrow |
1800 |
this->TextText->Size = System::Drawing::Size(426, 84);
|
1 |
cycrow |
1801 |
this->TextText->TabIndex = 3;
|
|
|
1802 |
this->TextText->Text = L"";
|
|
|
1803 |
this->TextText->TextChanged += gcnew System::EventHandler(this, &PackageForm::TextText_TextChanged);
|
|
|
1804 |
//
|
|
|
1805 |
// panel19
|
|
|
1806 |
//
|
|
|
1807 |
this->panel19->Controls->Add(this->ListLang);
|
|
|
1808 |
this->panel19->Controls->Add(this->panel20);
|
|
|
1809 |
this->panel19->Dock = System::Windows::Forms::DockStyle::Left;
|
236 |
cycrow |
1810 |
this->panel19->Location = System::Drawing::Point(5, 40);
|
1 |
cycrow |
1811 |
this->panel19->Name = L"panel19";
|
237 |
cycrow |
1812 |
this->panel19->Size = System::Drawing::Size(99, 84);
|
1 |
cycrow |
1813 |
this->panel19->TabIndex = 5;
|
|
|
1814 |
//
|
|
|
1815 |
// ListLang
|
|
|
1816 |
//
|
|
|
1817 |
this->ListLang->Dock = System::Windows::Forms::DockStyle::Fill;
|
|
|
1818 |
this->ListLang->FormattingEnabled = true;
|
126 |
cycrow |
1819 |
this->ListLang->Items->AddRange(gcnew cli::array< System::Object^ >(1) { L"- Default -" });
|
1 |
cycrow |
1820 |
this->ListLang->Location = System::Drawing::Point(0, 0);
|
|
|
1821 |
this->ListLang->Name = L"ListLang";
|
237 |
cycrow |
1822 |
this->ListLang->Size = System::Drawing::Size(99, 64);
|
1 |
cycrow |
1823 |
this->ListLang->TabIndex = 4;
|
|
|
1824 |
this->ListLang->SelectedIndexChanged += gcnew System::EventHandler(this, &PackageForm::ListLang_SelectedIndexChanged);
|
|
|
1825 |
//
|
|
|
1826 |
// panel20
|
|
|
1827 |
//
|
|
|
1828 |
this->panel20->Controls->Add(this->ButTextDel);
|
|
|
1829 |
this->panel20->Controls->Add(this->ButTextAdd);
|
|
|
1830 |
this->panel20->Dock = System::Windows::Forms::DockStyle::Bottom;
|
237 |
cycrow |
1831 |
this->panel20->Location = System::Drawing::Point(0, 64);
|
1 |
cycrow |
1832 |
this->panel20->Name = L"panel20";
|
236 |
cycrow |
1833 |
this->panel20->Size = System::Drawing::Size(99, 20);
|
1 |
cycrow |
1834 |
this->panel20->TabIndex = 7;
|
|
|
1835 |
//
|
|
|
1836 |
// ButTextDel
|
|
|
1837 |
//
|
|
|
1838 |
this->ButTextDel->Dock = System::Windows::Forms::DockStyle::Left;
|
236 |
cycrow |
1839 |
this->ButTextDel->Location = System::Drawing::Point(51, 0);
|
1 |
cycrow |
1840 |
this->ButTextDel->Name = L"ButTextDel";
|
236 |
cycrow |
1841 |
this->ButTextDel->Size = System::Drawing::Size(46, 20);
|
1 |
cycrow |
1842 |
this->ButTextDel->TabIndex = 5;
|
|
|
1843 |
this->ButTextDel->Text = L"-";
|
|
|
1844 |
this->ButTextDel->UseVisualStyleBackColor = true;
|
|
|
1845 |
this->ButTextDel->Click += gcnew System::EventHandler(this, &PackageForm::ButTextDel_Click);
|
|
|
1846 |
//
|
|
|
1847 |
// ButTextAdd
|
|
|
1848 |
//
|
|
|
1849 |
this->ButTextAdd->Dock = System::Windows::Forms::DockStyle::Left;
|
|
|
1850 |
this->ButTextAdd->Location = System::Drawing::Point(0, 0);
|
|
|
1851 |
this->ButTextAdd->Name = L"ButTextAdd";
|
236 |
cycrow |
1852 |
this->ButTextAdd->Size = System::Drawing::Size(51, 20);
|
1 |
cycrow |
1853 |
this->ButTextAdd->TabIndex = 6;
|
|
|
1854 |
this->ButTextAdd->Text = L"+";
|
|
|
1855 |
this->ButTextAdd->UseVisualStyleBackColor = true;
|
|
|
1856 |
this->ButTextAdd->Click += gcnew System::EventHandler(this, &PackageForm::ButTextAdd_Click);
|
|
|
1857 |
//
|
|
|
1858 |
// panel18
|
|
|
1859 |
//
|
|
|
1860 |
this->panel18->Controls->Add(this->RadioUninstallAfter);
|
|
|
1861 |
this->panel18->Controls->Add(this->RadioUninstallBefore);
|
|
|
1862 |
this->panel18->Controls->Add(this->RadioInstallAfter);
|
|
|
1863 |
this->panel18->Controls->Add(this->RadioInstallBefore);
|
|
|
1864 |
this->panel18->Dock = System::Windows::Forms::DockStyle::Top;
|
236 |
cycrow |
1865 |
this->panel18->Location = System::Drawing::Point(5, 13);
|
1 |
cycrow |
1866 |
this->panel18->Name = L"panel18";
|
237 |
cycrow |
1867 |
this->panel18->Size = System::Drawing::Size(525, 27);
|
1 |
cycrow |
1868 |
this->panel18->TabIndex = 2;
|
|
|
1869 |
//
|
|
|
1870 |
// RadioUninstallAfter
|
|
|
1871 |
//
|
|
|
1872 |
this->RadioUninstallAfter->AutoSize = true;
|
|
|
1873 |
this->RadioUninstallAfter->Dock = System::Windows::Forms::DockStyle::Left;
|
236 |
cycrow |
1874 |
this->RadioUninstallAfter->Location = System::Drawing::Point(262, 0);
|
1 |
cycrow |
1875 |
this->RadioUninstallAfter->Name = L"RadioUninstallAfter";
|
236 |
cycrow |
1876 |
this->RadioUninstallAfter->Size = System::Drawing::Size(90, 27);
|
1 |
cycrow |
1877 |
this->RadioUninstallAfter->TabIndex = 3;
|
|
|
1878 |
this->RadioUninstallAfter->TabStop = true;
|
|
|
1879 |
this->RadioUninstallAfter->Text = L"Uninstall After";
|
|
|
1880 |
this->RadioUninstallAfter->UseVisualStyleBackColor = true;
|
|
|
1881 |
this->RadioUninstallAfter->CheckedChanged += gcnew System::EventHandler(this, &PackageForm::RadioUninstallAfter_CheckedChanged);
|
|
|
1882 |
//
|
|
|
1883 |
// RadioUninstallBefore
|
|
|
1884 |
//
|
|
|
1885 |
this->RadioUninstallBefore->AutoSize = true;
|
|
|
1886 |
this->RadioUninstallBefore->Dock = System::Windows::Forms::DockStyle::Left;
|
236 |
cycrow |
1887 |
this->RadioUninstallBefore->Location = System::Drawing::Point(163, 0);
|
1 |
cycrow |
1888 |
this->RadioUninstallBefore->Name = L"RadioUninstallBefore";
|
236 |
cycrow |
1889 |
this->RadioUninstallBefore->Size = System::Drawing::Size(99, 27);
|
1 |
cycrow |
1890 |
this->RadioUninstallBefore->TabIndex = 2;
|
|
|
1891 |
this->RadioUninstallBefore->TabStop = true;
|
|
|
1892 |
this->RadioUninstallBefore->Text = L"Uninstall Before";
|
|
|
1893 |
this->RadioUninstallBefore->UseVisualStyleBackColor = true;
|
|
|
1894 |
this->RadioUninstallBefore->CheckedChanged += gcnew System::EventHandler(this, &PackageForm::RadioUninstallBefore_CheckedChanged);
|
|
|
1895 |
//
|
|
|
1896 |
// RadioInstallAfter
|
|
|
1897 |
//
|
|
|
1898 |
this->RadioInstallAfter->AutoSize = true;
|
|
|
1899 |
this->RadioInstallAfter->Dock = System::Windows::Forms::DockStyle::Left;
|
236 |
cycrow |
1900 |
this->RadioInstallAfter->Location = System::Drawing::Point(86, 0);
|
1 |
cycrow |
1901 |
this->RadioInstallAfter->Name = L"RadioInstallAfter";
|
236 |
cycrow |
1902 |
this->RadioInstallAfter->Size = System::Drawing::Size(77, 27);
|
1 |
cycrow |
1903 |
this->RadioInstallAfter->TabIndex = 1;
|
|
|
1904 |
this->RadioInstallAfter->TabStop = true;
|
|
|
1905 |
this->RadioInstallAfter->Text = L"Install After";
|
|
|
1906 |
this->RadioInstallAfter->UseVisualStyleBackColor = true;
|
|
|
1907 |
this->RadioInstallAfter->CheckedChanged += gcnew System::EventHandler(this, &PackageForm::RadioInstallAfter_CheckedChanged);
|
|
|
1908 |
//
|
|
|
1909 |
// RadioInstallBefore
|
|
|
1910 |
//
|
|
|
1911 |
this->RadioInstallBefore->AutoSize = true;
|
|
|
1912 |
this->RadioInstallBefore->Dock = System::Windows::Forms::DockStyle::Left;
|
|
|
1913 |
this->RadioInstallBefore->Location = System::Drawing::Point(0, 0);
|
|
|
1914 |
this->RadioInstallBefore->Name = L"RadioInstallBefore";
|
236 |
cycrow |
1915 |
this->RadioInstallBefore->Size = System::Drawing::Size(86, 27);
|
1 |
cycrow |
1916 |
this->RadioInstallBefore->TabIndex = 0;
|
|
|
1917 |
this->RadioInstallBefore->TabStop = true;
|
|
|
1918 |
this->RadioInstallBefore->Text = L"Install Before";
|
|
|
1919 |
this->RadioInstallBefore->UseVisualStyleBackColor = true;
|
|
|
1920 |
this->RadioInstallBefore->CheckedChanged += gcnew System::EventHandler(this, &PackageForm::RadioInstallBefore_CheckedChanged);
|
|
|
1921 |
//
|
|
|
1922 |
// groupBox6
|
|
|
1923 |
//
|
|
|
1924 |
this->groupBox6->Controls->Add(this->panel17);
|
|
|
1925 |
this->groupBox6->Dock = System::Windows::Forms::DockStyle::Top;
|
236 |
cycrow |
1926 |
this->groupBox6->Location = System::Drawing::Point(210, 3);
|
1 |
cycrow |
1927 |
this->groupBox6->Name = L"groupBox6";
|
237 |
cycrow |
1928 |
this->groupBox6->Size = System::Drawing::Size(535, 63);
|
1 |
cycrow |
1929 |
this->groupBox6->TabIndex = 3;
|
|
|
1930 |
this->groupBox6->TabStop = false;
|
|
|
1931 |
this->groupBox6->Text = L"Ratings";
|
|
|
1932 |
//
|
|
|
1933 |
// panel17
|
|
|
1934 |
//
|
|
|
1935 |
this->panel17->Controls->Add(this->GroupChange);
|
|
|
1936 |
this->panel17->Controls->Add(this->GroupRec);
|
|
|
1937 |
this->panel17->Controls->Add(this->GroupEase);
|
|
|
1938 |
this->panel17->Dock = System::Windows::Forms::DockStyle::Fill;
|
236 |
cycrow |
1939 |
this->panel17->Location = System::Drawing::Point(3, 16);
|
1 |
cycrow |
1940 |
this->panel17->Name = L"panel17";
|
237 |
cycrow |
1941 |
this->panel17->Size = System::Drawing::Size(529, 44);
|
1 |
cycrow |
1942 |
this->panel17->TabIndex = 4;
|
|
|
1943 |
//
|
|
|
1944 |
// GroupChange
|
|
|
1945 |
//
|
|
|
1946 |
this->GroupChange->Controls->Add(this->PicChange5);
|
|
|
1947 |
this->GroupChange->Controls->Add(this->PicChange4);
|
|
|
1948 |
this->GroupChange->Controls->Add(this->PicChange3);
|
|
|
1949 |
this->GroupChange->Controls->Add(this->PicChange2);
|
|
|
1950 |
this->GroupChange->Controls->Add(this->PicChange1);
|
|
|
1951 |
this->GroupChange->Dock = System::Windows::Forms::DockStyle::Left;
|
236 |
cycrow |
1952 |
this->GroupChange->Location = System::Drawing::Point(251, 0);
|
1 |
cycrow |
1953 |
this->GroupChange->Name = L"GroupChange";
|
236 |
cycrow |
1954 |
this->GroupChange->Size = System::Drawing::Size(126, 44);
|
1 |
cycrow |
1955 |
this->GroupChange->TabIndex = 2;
|
|
|
1956 |
this->GroupChange->TabStop = false;
|
|
|
1957 |
this->GroupChange->Text = L"Game Changing";
|
|
|
1958 |
//
|
|
|
1959 |
// PicChange4
|
|
|
1960 |
//
|
|
|
1961 |
this->PicChange4->Dock = System::Windows::Forms::DockStyle::Left;
|
126 |
cycrow |
1962 |
this->PicChange4->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"PicChange4.Image")));
|
236 |
cycrow |
1963 |
this->PicChange4->Location = System::Drawing::Point(75, 16);
|
1 |
cycrow |
1964 |
this->PicChange4->Name = L"PicChange4";
|
236 |
cycrow |
1965 |
this->PicChange4->Size = System::Drawing::Size(24, 25);
|
1 |
cycrow |
1966 |
this->PicChange4->SizeMode = System::Windows::Forms::PictureBoxSizeMode::StretchImage;
|
|
|
1967 |
this->PicChange4->TabIndex = 17;
|
|
|
1968 |
this->PicChange4->TabStop = false;
|
|
|
1969 |
this->PicChange4->Click += gcnew System::EventHandler(this, &PackageForm::PicChange4_Click);
|
|
|
1970 |
//
|
|
|
1971 |
// PicChange3
|
|
|
1972 |
//
|
|
|
1973 |
this->PicChange3->Dock = System::Windows::Forms::DockStyle::Left;
|
126 |
cycrow |
1974 |
this->PicChange3->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"PicChange3.Image")));
|
236 |
cycrow |
1975 |
this->PicChange3->Location = System::Drawing::Point(51, 16);
|
1 |
cycrow |
1976 |
this->PicChange3->Name = L"PicChange3";
|
236 |
cycrow |
1977 |
this->PicChange3->Size = System::Drawing::Size(24, 25);
|
1 |
cycrow |
1978 |
this->PicChange3->SizeMode = System::Windows::Forms::PictureBoxSizeMode::StretchImage;
|
|
|
1979 |
this->PicChange3->TabIndex = 16;
|
|
|
1980 |
this->PicChange3->TabStop = false;
|
|
|
1981 |
this->PicChange3->Click += gcnew System::EventHandler(this, &PackageForm::PicChange3_Click);
|
|
|
1982 |
//
|
|
|
1983 |
// PicChange2
|
|
|
1984 |
//
|
|
|
1985 |
this->PicChange2->Dock = System::Windows::Forms::DockStyle::Left;
|
126 |
cycrow |
1986 |
this->PicChange2->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"PicChange2.Image")));
|
236 |
cycrow |
1987 |
this->PicChange2->Location = System::Drawing::Point(27, 16);
|
1 |
cycrow |
1988 |
this->PicChange2->Name = L"PicChange2";
|
236 |
cycrow |
1989 |
this->PicChange2->Size = System::Drawing::Size(24, 25);
|
1 |
cycrow |
1990 |
this->PicChange2->SizeMode = System::Windows::Forms::PictureBoxSizeMode::StretchImage;
|
|
|
1991 |
this->PicChange2->TabIndex = 15;
|
|
|
1992 |
this->PicChange2->TabStop = false;
|
|
|
1993 |
this->PicChange2->Click += gcnew System::EventHandler(this, &PackageForm::PicChange2_Click);
|
|
|
1994 |
//
|
|
|
1995 |
// GroupRec
|
|
|
1996 |
//
|
|
|
1997 |
this->GroupRec->Controls->Add(this->PicRec5);
|
|
|
1998 |
this->GroupRec->Controls->Add(this->PicRec4);
|
|
|
1999 |
this->GroupRec->Controls->Add(this->PicRec3);
|
|
|
2000 |
this->GroupRec->Controls->Add(this->PicRec2);
|
|
|
2001 |
this->GroupRec->Controls->Add(this->PicRec1);
|
|
|
2002 |
this->GroupRec->Dock = System::Windows::Forms::DockStyle::Left;
|
236 |
cycrow |
2003 |
this->GroupRec->Location = System::Drawing::Point(126, 0);
|
1 |
cycrow |
2004 |
this->GroupRec->Name = L"GroupRec";
|
236 |
cycrow |
2005 |
this->GroupRec->Size = System::Drawing::Size(125, 44);
|
1 |
cycrow |
2006 |
this->GroupRec->TabIndex = 3;
|
|
|
2007 |
this->GroupRec->TabStop = false;
|
|
|
2008 |
this->GroupRec->Text = L"Recommended";
|
|
|
2009 |
//
|
|
|
2010 |
// PicRec4
|
|
|
2011 |
//
|
|
|
2012 |
this->PicRec4->Dock = System::Windows::Forms::DockStyle::Left;
|
126 |
cycrow |
2013 |
this->PicRec4->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"PicRec4.Image")));
|
236 |
cycrow |
2014 |
this->PicRec4->Location = System::Drawing::Point(75, 16);
|
1 |
cycrow |
2015 |
this->PicRec4->Name = L"PicRec4";
|
236 |
cycrow |
2016 |
this->PicRec4->Size = System::Drawing::Size(24, 25);
|
1 |
cycrow |
2017 |
this->PicRec4->SizeMode = System::Windows::Forms::PictureBoxSizeMode::StretchImage;
|
|
|
2018 |
this->PicRec4->TabIndex = 17;
|
|
|
2019 |
this->PicRec4->TabStop = false;
|
|
|
2020 |
this->PicRec4->Click += gcnew System::EventHandler(this, &PackageForm::PicRec4_Click);
|
|
|
2021 |
//
|
|
|
2022 |
// PicRec3
|
|
|
2023 |
//
|
|
|
2024 |
this->PicRec3->Dock = System::Windows::Forms::DockStyle::Left;
|
126 |
cycrow |
2025 |
this->PicRec3->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"PicRec3.Image")));
|
236 |
cycrow |
2026 |
this->PicRec3->Location = System::Drawing::Point(51, 16);
|
1 |
cycrow |
2027 |
this->PicRec3->Name = L"PicRec3";
|
236 |
cycrow |
2028 |
this->PicRec3->Size = System::Drawing::Size(24, 25);
|
1 |
cycrow |
2029 |
this->PicRec3->SizeMode = System::Windows::Forms::PictureBoxSizeMode::StretchImage;
|
|
|
2030 |
this->PicRec3->TabIndex = 16;
|
|
|
2031 |
this->PicRec3->TabStop = false;
|
|
|
2032 |
this->PicRec3->Click += gcnew System::EventHandler(this, &PackageForm::PicRec3_Click);
|
|
|
2033 |
//
|
|
|
2034 |
// PicRec2
|
|
|
2035 |
//
|
|
|
2036 |
this->PicRec2->Dock = System::Windows::Forms::DockStyle::Left;
|
126 |
cycrow |
2037 |
this->PicRec2->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"PicRec2.Image")));
|
236 |
cycrow |
2038 |
this->PicRec2->Location = System::Drawing::Point(27, 16);
|
1 |
cycrow |
2039 |
this->PicRec2->Name = L"PicRec2";
|
236 |
cycrow |
2040 |
this->PicRec2->Size = System::Drawing::Size(24, 25);
|
1 |
cycrow |
2041 |
this->PicRec2->SizeMode = System::Windows::Forms::PictureBoxSizeMode::StretchImage;
|
|
|
2042 |
this->PicRec2->TabIndex = 15;
|
|
|
2043 |
this->PicRec2->TabStop = false;
|
|
|
2044 |
this->PicRec2->Click += gcnew System::EventHandler(this, &PackageForm::PicRec2_Click);
|
|
|
2045 |
//
|
|
|
2046 |
// PicRec1
|
|
|
2047 |
//
|
|
|
2048 |
this->PicRec1->Dock = System::Windows::Forms::DockStyle::Left;
|
126 |
cycrow |
2049 |
this->PicRec1->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"PicRec1.Image")));
|
236 |
cycrow |
2050 |
this->PicRec1->Location = System::Drawing::Point(3, 16);
|
1 |
cycrow |
2051 |
this->PicRec1->Name = L"PicRec1";
|
236 |
cycrow |
2052 |
this->PicRec1->Size = System::Drawing::Size(24, 25);
|
1 |
cycrow |
2053 |
this->PicRec1->SizeMode = System::Windows::Forms::PictureBoxSizeMode::StretchImage;
|
|
|
2054 |
this->PicRec1->TabIndex = 14;
|
|
|
2055 |
this->PicRec1->TabStop = false;
|
|
|
2056 |
this->PicRec1->Click += gcnew System::EventHandler(this, &PackageForm::PicRec1_Click);
|
|
|
2057 |
//
|
|
|
2058 |
// GroupEase
|
|
|
2059 |
//
|
|
|
2060 |
this->GroupEase->Controls->Add(this->PicEase5);
|
|
|
2061 |
this->GroupEase->Controls->Add(this->PicEase4);
|
|
|
2062 |
this->GroupEase->Controls->Add(this->PicEase3);
|
|
|
2063 |
this->GroupEase->Controls->Add(this->PicEase2);
|
|
|
2064 |
this->GroupEase->Controls->Add(this->PicEase1);
|
|
|
2065 |
this->GroupEase->Dock = System::Windows::Forms::DockStyle::Left;
|
|
|
2066 |
this->GroupEase->Location = System::Drawing::Point(0, 0);
|
|
|
2067 |
this->GroupEase->Name = L"GroupEase";
|
236 |
cycrow |
2068 |
this->GroupEase->Size = System::Drawing::Size(126, 44);
|
1 |
cycrow |
2069 |
this->GroupEase->TabIndex = 1;
|
|
|
2070 |
this->GroupEase->TabStop = false;
|
|
|
2071 |
this->GroupEase->Text = L"Ease of Use";
|
|
|
2072 |
//
|
|
|
2073 |
// PicEase5
|
|
|
2074 |
//
|
|
|
2075 |
this->PicEase5->Dock = System::Windows::Forms::DockStyle::Left;
|
126 |
cycrow |
2076 |
this->PicEase5->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"PicEase5.Image")));
|
236 |
cycrow |
2077 |
this->PicEase5->Location = System::Drawing::Point(99, 16);
|
1 |
cycrow |
2078 |
this->PicEase5->Name = L"PicEase5";
|
236 |
cycrow |
2079 |
this->PicEase5->Size = System::Drawing::Size(24, 25);
|
1 |
cycrow |
2080 |
this->PicEase5->SizeMode = System::Windows::Forms::PictureBoxSizeMode::StretchImage;
|
|
|
2081 |
this->PicEase5->TabIndex = 17;
|
|
|
2082 |
this->PicEase5->TabStop = false;
|
|
|
2083 |
this->PicEase5->Click += gcnew System::EventHandler(this, &PackageForm::PicEase5_Click);
|
|
|
2084 |
//
|
|
|
2085 |
// PicEase4
|
|
|
2086 |
//
|
|
|
2087 |
this->PicEase4->Dock = System::Windows::Forms::DockStyle::Left;
|
126 |
cycrow |
2088 |
this->PicEase4->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"PicEase4.Image")));
|
236 |
cycrow |
2089 |
this->PicEase4->Location = System::Drawing::Point(75, 16);
|
1 |
cycrow |
2090 |
this->PicEase4->Name = L"PicEase4";
|
236 |
cycrow |
2091 |
this->PicEase4->Size = System::Drawing::Size(24, 25);
|
1 |
cycrow |
2092 |
this->PicEase4->SizeMode = System::Windows::Forms::PictureBoxSizeMode::StretchImage;
|
|
|
2093 |
this->PicEase4->TabIndex = 16;
|
|
|
2094 |
this->PicEase4->TabStop = false;
|
|
|
2095 |
this->PicEase4->Click += gcnew System::EventHandler(this, &PackageForm::PicEase4_Click);
|
|
|
2096 |
//
|
|
|
2097 |
// PicEase3
|
|
|
2098 |
//
|
|
|
2099 |
this->PicEase3->Dock = System::Windows::Forms::DockStyle::Left;
|
126 |
cycrow |
2100 |
this->PicEase3->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"PicEase3.Image")));
|
236 |
cycrow |
2101 |
this->PicEase3->Location = System::Drawing::Point(51, 16);
|
1 |
cycrow |
2102 |
this->PicEase3->Name = L"PicEase3";
|
236 |
cycrow |
2103 |
this->PicEase3->Size = System::Drawing::Size(24, 25);
|
1 |
cycrow |
2104 |
this->PicEase3->SizeMode = System::Windows::Forms::PictureBoxSizeMode::StretchImage;
|
|
|
2105 |
this->PicEase3->TabIndex = 15;
|
|
|
2106 |
this->PicEase3->TabStop = false;
|
|
|
2107 |
this->PicEase3->Click += gcnew System::EventHandler(this, &PackageForm::PicEase3_Click);
|
|
|
2108 |
//
|
|
|
2109 |
// PicEase2
|
|
|
2110 |
//
|
|
|
2111 |
this->PicEase2->Dock = System::Windows::Forms::DockStyle::Left;
|
126 |
cycrow |
2112 |
this->PicEase2->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"PicEase2.Image")));
|
236 |
cycrow |
2113 |
this->PicEase2->Location = System::Drawing::Point(27, 16);
|
1 |
cycrow |
2114 |
this->PicEase2->Name = L"PicEase2";
|
236 |
cycrow |
2115 |
this->PicEase2->Size = System::Drawing::Size(24, 25);
|
1 |
cycrow |
2116 |
this->PicEase2->SizeMode = System::Windows::Forms::PictureBoxSizeMode::StretchImage;
|
|
|
2117 |
this->PicEase2->TabIndex = 14;
|
|
|
2118 |
this->PicEase2->TabStop = false;
|
|
|
2119 |
this->PicEase2->Click += gcnew System::EventHandler(this, &PackageForm::PicEase2_Click);
|
|
|
2120 |
//
|
|
|
2121 |
// PicEase1
|
|
|
2122 |
//
|
|
|
2123 |
this->PicEase1->Dock = System::Windows::Forms::DockStyle::Left;
|
126 |
cycrow |
2124 |
this->PicEase1->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"PicEase1.Image")));
|
236 |
cycrow |
2125 |
this->PicEase1->Location = System::Drawing::Point(3, 16);
|
1 |
cycrow |
2126 |
this->PicEase1->Name = L"PicEase1";
|
236 |
cycrow |
2127 |
this->PicEase1->Size = System::Drawing::Size(24, 25);
|
1 |
cycrow |
2128 |
this->PicEase1->SizeMode = System::Windows::Forms::PictureBoxSizeMode::StretchImage;
|
|
|
2129 |
this->PicEase1->TabIndex = 13;
|
|
|
2130 |
this->PicEase1->TabStop = false;
|
|
|
2131 |
this->PicEase1->Click += gcnew System::EventHandler(this, &PackageForm::PicEase1_Click);
|
|
|
2132 |
//
|
|
|
2133 |
// groupBox5
|
|
|
2134 |
//
|
|
|
2135 |
this->groupBox5->Controls->Add(this->ButIconDel);
|
|
|
2136 |
this->groupBox5->Controls->Add(this->DisplayIcon);
|
|
|
2137 |
this->groupBox5->Controls->Add(this->button4);
|
|
|
2138 |
this->groupBox5->Dock = System::Windows::Forms::DockStyle::Left;
|
236 |
cycrow |
2139 |
this->groupBox5->Location = System::Drawing::Point(153, 3);
|
1 |
cycrow |
2140 |
this->groupBox5->Name = L"groupBox5";
|
237 |
cycrow |
2141 |
this->groupBox5->Size = System::Drawing::Size(57, 192);
|
1 |
cycrow |
2142 |
this->groupBox5->TabIndex = 2;
|
|
|
2143 |
this->groupBox5->TabStop = false;
|
|
|
2144 |
this->groupBox5->Text = L"Icon";
|
|
|
2145 |
//
|
|
|
2146 |
// ButIconDel
|
|
|
2147 |
//
|
|
|
2148 |
this->ButIconDel->Dock = System::Windows::Forms::DockStyle::Top;
|
236 |
cycrow |
2149 |
this->ButIconDel->Location = System::Drawing::Point(3, 85);
|
1 |
cycrow |
2150 |
this->ButIconDel->Name = L"ButIconDel";
|
236 |
cycrow |
2151 |
this->ButIconDel->Size = System::Drawing::Size(51, 23);
|
1 |
cycrow |
2152 |
this->ButIconDel->TabIndex = 1;
|
|
|
2153 |
this->ButIconDel->Text = L"Del";
|
|
|
2154 |
this->ButIconDel->UseVisualStyleBackColor = true;
|
|
|
2155 |
this->ButIconDel->Click += gcnew System::EventHandler(this, &PackageForm::ButIconDel_Click);
|
|
|
2156 |
//
|
|
|
2157 |
// DisplayIcon
|
|
|
2158 |
//
|
|
|
2159 |
this->DisplayIcon->Dock = System::Windows::Forms::DockStyle::Top;
|
126 |
cycrow |
2160 |
this->DisplayIcon->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"DisplayIcon.Image")));
|
236 |
cycrow |
2161 |
this->DisplayIcon->Location = System::Drawing::Point(3, 39);
|
1 |
cycrow |
2162 |
this->DisplayIcon->Name = L"DisplayIcon";
|
236 |
cycrow |
2163 |
this->DisplayIcon->Size = System::Drawing::Size(51, 46);
|
1 |
cycrow |
2164 |
this->DisplayIcon->SizeMode = System::Windows::Forms::PictureBoxSizeMode::StretchImage;
|
|
|
2165 |
this->DisplayIcon->TabIndex = 0;
|
|
|
2166 |
this->DisplayIcon->TabStop = false;
|
|
|
2167 |
//
|
|
|
2168 |
// button4
|
|
|
2169 |
//
|
|
|
2170 |
this->button4->Dock = System::Windows::Forms::DockStyle::Top;
|
236 |
cycrow |
2171 |
this->button4->Location = System::Drawing::Point(3, 16);
|
1 |
cycrow |
2172 |
this->button4->Name = L"button4";
|
236 |
cycrow |
2173 |
this->button4->Size = System::Drawing::Size(51, 23);
|
1 |
cycrow |
2174 |
this->button4->TabIndex = 2;
|
|
|
2175 |
this->button4->Text = L"Set";
|
|
|
2176 |
this->button4->UseVisualStyleBackColor = true;
|
|
|
2177 |
this->button4->Click += gcnew System::EventHandler(this, &PackageForm::button4_Click);
|
|
|
2178 |
//
|
|
|
2179 |
// panel15
|
|
|
2180 |
//
|
|
|
2181 |
this->panel15->Controls->Add(this->DisplayPicture);
|
|
|
2182 |
this->panel15->Controls->Add(this->panel16);
|
|
|
2183 |
this->panel15->Dock = System::Windows::Forms::DockStyle::Left;
|
236 |
cycrow |
2184 |
this->panel15->Location = System::Drawing::Point(3, 3);
|
1 |
cycrow |
2185 |
this->panel15->Name = L"panel15";
|
237 |
cycrow |
2186 |
this->panel15->Size = System::Drawing::Size(150, 192);
|
1 |
cycrow |
2187 |
this->panel15->TabIndex = 1;
|
|
|
2188 |
//
|
|
|
2189 |
// DisplayPicture
|
|
|
2190 |
//
|
|
|
2191 |
this->DisplayPicture->Dock = System::Windows::Forms::DockStyle::Fill;
|
126 |
cycrow |
2192 |
this->DisplayPicture->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"DisplayPicture.Image")));
|
1 |
cycrow |
2193 |
this->DisplayPicture->Location = System::Drawing::Point(0, 0);
|
|
|
2194 |
this->DisplayPicture->Name = L"DisplayPicture";
|
237 |
cycrow |
2195 |
this->DisplayPicture->Size = System::Drawing::Size(150, 163);
|
1 |
cycrow |
2196 |
this->DisplayPicture->SizeMode = System::Windows::Forms::PictureBoxSizeMode::StretchImage;
|
|
|
2197 |
this->DisplayPicture->TabIndex = 0;
|
|
|
2198 |
this->DisplayPicture->TabStop = false;
|
|
|
2199 |
//
|
|
|
2200 |
// panel16
|
|
|
2201 |
//
|
|
|
2202 |
this->panel16->Controls->Add(this->ButPicAdd);
|
|
|
2203 |
this->panel16->Controls->Add(this->ButPicDel);
|
|
|
2204 |
this->panel16->Controls->Add(this->ButPicNext);
|
|
|
2205 |
this->panel16->Controls->Add(this->ButPicBack);
|
|
|
2206 |
this->panel16->Dock = System::Windows::Forms::DockStyle::Bottom;
|
237 |
cycrow |
2207 |
this->panel16->Location = System::Drawing::Point(0, 163);
|
1 |
cycrow |
2208 |
this->panel16->Name = L"panel16";
|
236 |
cycrow |
2209 |
this->panel16->Size = System::Drawing::Size(150, 29);
|
1 |
cycrow |
2210 |
this->panel16->TabIndex = 2;
|
|
|
2211 |
//
|
|
|
2212 |
// ButPicAdd
|
|
|
2213 |
//
|
|
|
2214 |
this->ButPicAdd->Dock = System::Windows::Forms::DockStyle::Fill;
|
236 |
cycrow |
2215 |
this->ButPicAdd->Location = System::Drawing::Point(32, 0);
|
1 |
cycrow |
2216 |
this->ButPicAdd->Name = L"ButPicAdd";
|
236 |
cycrow |
2217 |
this->ButPicAdd->Size = System::Drawing::Size(49, 29);
|
1 |
cycrow |
2218 |
this->ButPicAdd->TabIndex = 4;
|
|
|
2219 |
this->ButPicAdd->Text = L"Add";
|
|
|
2220 |
this->ButPicAdd->UseVisualStyleBackColor = true;
|
|
|
2221 |
this->ButPicAdd->Click += gcnew System::EventHandler(this, &PackageForm::ButPicAdd_Click);
|
|
|
2222 |
//
|
|
|
2223 |
// ButPicDel
|
|
|
2224 |
//
|
|
|
2225 |
this->ButPicDel->Dock = System::Windows::Forms::DockStyle::Right;
|
|
|
2226 |
this->ButPicDel->Enabled = false;
|
236 |
cycrow |
2227 |
this->ButPicDel->Location = System::Drawing::Point(81, 0);
|
1 |
cycrow |
2228 |
this->ButPicDel->Name = L"ButPicDel";
|
236 |
cycrow |
2229 |
this->ButPicDel->Size = System::Drawing::Size(40, 29);
|
1 |
cycrow |
2230 |
this->ButPicDel->TabIndex = 3;
|
|
|
2231 |
this->ButPicDel->Text = L"Del";
|
|
|
2232 |
this->ButPicDel->UseVisualStyleBackColor = true;
|
|
|
2233 |
this->ButPicDel->Click += gcnew System::EventHandler(this, &PackageForm::ButPicDel_Click);
|
|
|
2234 |
//
|
|
|
2235 |
// ButPicNext
|
|
|
2236 |
//
|
|
|
2237 |
this->ButPicNext->Dock = System::Windows::Forms::DockStyle::Right;
|
|
|
2238 |
this->ButPicNext->Enabled = false;
|
236 |
cycrow |
2239 |
this->ButPicNext->Location = System::Drawing::Point(121, 0);
|
1 |
cycrow |
2240 |
this->ButPicNext->Name = L"ButPicNext";
|
236 |
cycrow |
2241 |
this->ButPicNext->Size = System::Drawing::Size(29, 29);
|
1 |
cycrow |
2242 |
this->ButPicNext->TabIndex = 2;
|
|
|
2243 |
this->ButPicNext->Text = L"->";
|
|
|
2244 |
this->ButPicNext->UseVisualStyleBackColor = true;
|
|
|
2245 |
this->ButPicNext->Click += gcnew System::EventHandler(this, &PackageForm::ButPicNext_Click);
|
|
|
2246 |
//
|
|
|
2247 |
// ButPicBack
|
|
|
2248 |
//
|
|
|
2249 |
this->ButPicBack->Dock = System::Windows::Forms::DockStyle::Left;
|
|
|
2250 |
this->ButPicBack->Enabled = false;
|
|
|
2251 |
this->ButPicBack->Location = System::Drawing::Point(0, 0);
|
|
|
2252 |
this->ButPicBack->Name = L"ButPicBack";
|
236 |
cycrow |
2253 |
this->ButPicBack->Size = System::Drawing::Size(32, 29);
|
1 |
cycrow |
2254 |
this->ButPicBack->TabIndex = 1;
|
|
|
2255 |
this->ButPicBack->Text = L"<-";
|
|
|
2256 |
this->ButPicBack->UseVisualStyleBackColor = true;
|
|
|
2257 |
this->ButPicBack->Click += gcnew System::EventHandler(this, &PackageForm::ButPicBack_Click);
|
|
|
2258 |
//
|
|
|
2259 |
// tabPage2
|
|
|
2260 |
//
|
|
|
2261 |
this->tabPage2->Controls->Add(this->ListNames);
|
|
|
2262 |
this->tabPage2->Controls->Add(this->groupBox4);
|
237 |
cycrow |
2263 |
this->tabPage2->Location = System::Drawing::Point(4, 40);
|
1 |
cycrow |
2264 |
this->tabPage2->Name = L"tabPage2";
|
237 |
cycrow |
2265 |
this->tabPage2->Padding = System::Windows::Forms::Padding(3);
|
|
|
2266 |
this->tabPage2->Size = System::Drawing::Size(748, 198);
|
1 |
cycrow |
2267 |
this->tabPage2->TabIndex = 3;
|
|
|
2268 |
this->tabPage2->Text = L"Advanced";
|
|
|
2269 |
this->tabPage2->UseVisualStyleBackColor = true;
|
|
|
2270 |
//
|
|
|
2271 |
// ListNames
|
|
|
2272 |
//
|
126 |
cycrow |
2273 |
this->ListNames->Columns->AddRange(gcnew cli::array< System::Windows::Forms::ColumnHeader^ >(2) { this->columnHeader7, this->columnHeader8 });
|
1 |
cycrow |
2274 |
this->ListNames->ContextMenuStrip = this->ContextLangName;
|
|
|
2275 |
this->ListNames->Dock = System::Windows::Forms::DockStyle::Fill;
|
|
|
2276 |
this->ListNames->FullRowSelect = true;
|
126 |
cycrow |
2277 |
this->ListNames->HideSelection = false;
|
236 |
cycrow |
2278 |
this->ListNames->Location = System::Drawing::Point(3, 121);
|
1 |
cycrow |
2279 |
this->ListNames->Name = L"ListNames";
|
237 |
cycrow |
2280 |
this->ListNames->Size = System::Drawing::Size(742, 74);
|
1 |
cycrow |
2281 |
this->ListNames->TabIndex = 1;
|
|
|
2282 |
this->ListNames->UseCompatibleStateImageBehavior = false;
|
|
|
2283 |
this->ListNames->View = System::Windows::Forms::View::Details;
|
|
|
2284 |
this->ListNames->MouseDoubleClick += gcnew System::Windows::Forms::MouseEventHandler(this, &PackageForm::ListNames_MouseDoubleClick);
|
|
|
2285 |
//
|
|
|
2286 |
// columnHeader7
|
|
|
2287 |
//
|
|
|
2288 |
this->columnHeader7->Text = L"Language";
|
|
|
2289 |
this->columnHeader7->Width = 80;
|
|
|
2290 |
//
|
|
|
2291 |
// columnHeader8
|
|
|
2292 |
//
|
|
|
2293 |
this->columnHeader8->Text = L"Package Name";
|
|
|
2294 |
this->columnHeader8->Width = 300;
|
|
|
2295 |
//
|
|
|
2296 |
// ContextLangName
|
|
|
2297 |
//
|
126 |
cycrow |
2298 |
this->ContextLangName->ImageScalingSize = System::Drawing::Size(20, 20);
|
|
|
2299 |
this->ContextLangName->Items->AddRange(gcnew cli::array< System::Windows::Forms::ToolStripItem^ >(6) {
|
|
|
2300 |
this->addToolStripMenuItem,
|
|
|
2301 |
this->toolStripSeparator2, this->ContextEditName, this->ContextRemoveName, this->ContextNameSep, this->clearAllToolStripMenuItem1
|
|
|
2302 |
});
|
1 |
cycrow |
2303 |
this->ContextLangName->Name = L"ContextLangName";
|
236 |
cycrow |
2304 |
this->ContextLangName->Size = System::Drawing::Size(195, 168);
|
1 |
cycrow |
2305 |
this->ContextLangName->Opening += gcnew System::ComponentModel::CancelEventHandler(this, &PackageForm::ContextLangName_Opening);
|
|
|
2306 |
//
|
|
|
2307 |
// addToolStripMenuItem
|
|
|
2308 |
//
|
126 |
cycrow |
2309 |
this->addToolStripMenuItem->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"addToolStripMenuItem.Image")));
|
1 |
cycrow |
2310 |
this->addToolStripMenuItem->ImageScaling = System::Windows::Forms::ToolStripItemImageScaling::None;
|
|
|
2311 |
this->addToolStripMenuItem->Name = L"addToolStripMenuItem";
|
236 |
cycrow |
2312 |
this->addToolStripMenuItem->Size = System::Drawing::Size(194, 38);
|
1 |
cycrow |
2313 |
this->addToolStripMenuItem->Text = L"Add Package Name";
|
|
|
2314 |
this->addToolStripMenuItem->Click += gcnew System::EventHandler(this, &PackageForm::addToolStripMenuItem_Click);
|
|
|
2315 |
//
|
|
|
2316 |
// toolStripSeparator2
|
|
|
2317 |
//
|
|
|
2318 |
this->toolStripSeparator2->Name = L"toolStripSeparator2";
|
236 |
cycrow |
2319 |
this->toolStripSeparator2->Size = System::Drawing::Size(191, 6);
|
1 |
cycrow |
2320 |
//
|
|
|
2321 |
// ContextEditName
|
|
|
2322 |
//
|
126 |
cycrow |
2323 |
this->ContextEditName->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"ContextEditName.Image")));
|
1 |
cycrow |
2324 |
this->ContextEditName->ImageScaling = System::Windows::Forms::ToolStripItemImageScaling::None;
|
|
|
2325 |
this->ContextEditName->Name = L"ContextEditName";
|
236 |
cycrow |
2326 |
this->ContextEditName->Size = System::Drawing::Size(194, 38);
|
1 |
cycrow |
2327 |
this->ContextEditName->Text = L"Edit Name";
|
|
|
2328 |
this->ContextEditName->Click += gcnew System::EventHandler(this, &PackageForm::ContextEditName_Click);
|
|
|
2329 |
//
|
|
|
2330 |
// ContextRemoveName
|
|
|
2331 |
//
|
126 |
cycrow |
2332 |
this->ContextRemoveName->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"ContextRemoveName.Image")));
|
1 |
cycrow |
2333 |
this->ContextRemoveName->ImageScaling = System::Windows::Forms::ToolStripItemImageScaling::None;
|
|
|
2334 |
this->ContextRemoveName->Name = L"ContextRemoveName";
|
236 |
cycrow |
2335 |
this->ContextRemoveName->Size = System::Drawing::Size(194, 38);
|
1 |
cycrow |
2336 |
this->ContextRemoveName->Text = L"Remove Selected";
|
|
|
2337 |
this->ContextRemoveName->Click += gcnew System::EventHandler(this, &PackageForm::ContextRemoveName_Click);
|
|
|
2338 |
//
|
|
|
2339 |
// ContextNameSep
|
|
|
2340 |
//
|
|
|
2341 |
this->ContextNameSep->Name = L"ContextNameSep";
|
236 |
cycrow |
2342 |
this->ContextNameSep->Size = System::Drawing::Size(191, 6);
|
1 |
cycrow |
2343 |
//
|
|
|
2344 |
// clearAllToolStripMenuItem1
|
|
|
2345 |
//
|
126 |
cycrow |
2346 |
this->clearAllToolStripMenuItem1->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"clearAllToolStripMenuItem1.Image")));
|
1 |
cycrow |
2347 |
this->clearAllToolStripMenuItem1->ImageScaling = System::Windows::Forms::ToolStripItemImageScaling::None;
|
|
|
2348 |
this->clearAllToolStripMenuItem1->Name = L"clearAllToolStripMenuItem1";
|
236 |
cycrow |
2349 |
this->clearAllToolStripMenuItem1->Size = System::Drawing::Size(194, 38);
|
1 |
cycrow |
2350 |
this->clearAllToolStripMenuItem1->Text = L"Clear All";
|
|
|
2351 |
this->clearAllToolStripMenuItem1->Click += gcnew System::EventHandler(this, &PackageForm::clearAllToolStripMenuItem1_Click);
|
|
|
2352 |
//
|
|
|
2353 |
// groupBox4
|
|
|
2354 |
//
|
|
|
2355 |
this->groupBox4->Controls->Add(this->ListMirrors);
|
|
|
2356 |
this->groupBox4->Controls->Add(this->panel14);
|
|
|
2357 |
this->groupBox4->Dock = System::Windows::Forms::DockStyle::Top;
|
236 |
cycrow |
2358 |
this->groupBox4->Location = System::Drawing::Point(3, 3);
|
1 |
cycrow |
2359 |
this->groupBox4->Name = L"groupBox4";
|
237 |
cycrow |
2360 |
this->groupBox4->Size = System::Drawing::Size(742, 118);
|
1 |
cycrow |
2361 |
this->groupBox4->TabIndex = 0;
|
|
|
2362 |
this->groupBox4->TabStop = false;
|
|
|
2363 |
this->groupBox4->Text = L"Automatic Update";
|
|
|
2364 |
//
|
|
|
2365 |
// ListMirrors
|
|
|
2366 |
//
|
126 |
cycrow |
2367 |
this->ListMirrors->Columns->AddRange(gcnew cli::array< System::Windows::Forms::ColumnHeader^ >(1) { this->columnHeader6 });
|
1 |
cycrow |
2368 |
this->ListMirrors->ContextMenuStrip = this->ContextMirror;
|
|
|
2369 |
this->ListMirrors->Dock = System::Windows::Forms::DockStyle::Fill;
|
|
|
2370 |
this->ListMirrors->FullRowSelect = true;
|
|
|
2371 |
this->ListMirrors->HeaderStyle = System::Windows::Forms::ColumnHeaderStyle::Nonclickable;
|
126 |
cycrow |
2372 |
this->ListMirrors->HideSelection = false;
|
1 |
cycrow |
2373 |
this->ListMirrors->LabelWrap = false;
|
236 |
cycrow |
2374 |
this->ListMirrors->Location = System::Drawing::Point(3, 40);
|
1 |
cycrow |
2375 |
this->ListMirrors->MultiSelect = false;
|
|
|
2376 |
this->ListMirrors->Name = L"ListMirrors";
|
|
|
2377 |
this->ListMirrors->ShowGroups = false;
|
237 |
cycrow |
2378 |
this->ListMirrors->Size = System::Drawing::Size(736, 75);
|
1 |
cycrow |
2379 |
this->ListMirrors->Sorting = System::Windows::Forms::SortOrder::Ascending;
|
|
|
2380 |
this->ListMirrors->TabIndex = 1;
|
|
|
2381 |
this->ListMirrors->UseCompatibleStateImageBehavior = false;
|
|
|
2382 |
this->ListMirrors->View = System::Windows::Forms::View::Details;
|
|
|
2383 |
this->ListMirrors->MouseDoubleClick += gcnew System::Windows::Forms::MouseEventHandler(this, &PackageForm::ListMirrors_MouseDoubleClick);
|
|
|
2384 |
//
|
|
|
2385 |
// columnHeader6
|
|
|
2386 |
//
|
|
|
2387 |
this->columnHeader6->Text = L"Mirror Address";
|
|
|
2388 |
this->columnHeader6->Width = 121;
|
|
|
2389 |
//
|
|
|
2390 |
// ContextMirror
|
|
|
2391 |
//
|
126 |
cycrow |
2392 |
this->ContextMirror->ImageScalingSize = System::Drawing::Size(20, 20);
|
|
|
2393 |
this->ContextMirror->Items->AddRange(gcnew cli::array< System::Windows::Forms::ToolStripItem^ >(4) {
|
|
|
2394 |
this->addMirrorToolStripMenuItem,
|
|
|
2395 |
this->toolStripSeparator1, this->ContextRemoveMirror, this->clearAllToolStripMenuItem
|
|
|
2396 |
});
|
1 |
cycrow |
2397 |
this->ContextMirror->Name = L"ContextMirror";
|
236 |
cycrow |
2398 |
this->ContextMirror->Size = System::Drawing::Size(194, 124);
|
1 |
cycrow |
2399 |
this->ContextMirror->Opening += gcnew System::ComponentModel::CancelEventHandler(this, &PackageForm::ContextMirror_Opening);
|
|
|
2400 |
//
|
|
|
2401 |
// addMirrorToolStripMenuItem
|
|
|
2402 |
//
|
126 |
cycrow |
2403 |
this->addMirrorToolStripMenuItem->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"addMirrorToolStripMenuItem.Image")));
|
1 |
cycrow |
2404 |
this->addMirrorToolStripMenuItem->ImageScaling = System::Windows::Forms::ToolStripItemImageScaling::None;
|
|
|
2405 |
this->addMirrorToolStripMenuItem->Name = L"addMirrorToolStripMenuItem";
|
236 |
cycrow |
2406 |
this->addMirrorToolStripMenuItem->Size = System::Drawing::Size(193, 38);
|
1 |
cycrow |
2407 |
this->addMirrorToolStripMenuItem->Text = L"Add Mirror Address";
|
|
|
2408 |
this->addMirrorToolStripMenuItem->Click += gcnew System::EventHandler(this, &PackageForm::addMirrorToolStripMenuItem_Click);
|
|
|
2409 |
//
|
|
|
2410 |
// toolStripSeparator1
|
|
|
2411 |
//
|
|
|
2412 |
this->toolStripSeparator1->Name = L"toolStripSeparator1";
|
236 |
cycrow |
2413 |
this->toolStripSeparator1->Size = System::Drawing::Size(190, 6);
|
1 |
cycrow |
2414 |
//
|
|
|
2415 |
// ContextRemoveMirror
|
|
|
2416 |
//
|
126 |
cycrow |
2417 |
this->ContextRemoveMirror->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"ContextRemoveMirror.Image")));
|
1 |
cycrow |
2418 |
this->ContextRemoveMirror->ImageScaling = System::Windows::Forms::ToolStripItemImageScaling::None;
|
|
|
2419 |
this->ContextRemoveMirror->Name = L"ContextRemoveMirror";
|
236 |
cycrow |
2420 |
this->ContextRemoveMirror->Size = System::Drawing::Size(193, 38);
|
1 |
cycrow |
2421 |
this->ContextRemoveMirror->Text = L"Remove Selected";
|
|
|
2422 |
this->ContextRemoveMirror->Click += gcnew System::EventHandler(this, &PackageForm::ContextRemoveMirror_Click);
|
|
|
2423 |
//
|
|
|
2424 |
// clearAllToolStripMenuItem
|
|
|
2425 |
//
|
126 |
cycrow |
2426 |
this->clearAllToolStripMenuItem->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"clearAllToolStripMenuItem.Image")));
|
1 |
cycrow |
2427 |
this->clearAllToolStripMenuItem->ImageScaling = System::Windows::Forms::ToolStripItemImageScaling::None;
|
|
|
2428 |
this->clearAllToolStripMenuItem->Name = L"clearAllToolStripMenuItem";
|
236 |
cycrow |
2429 |
this->clearAllToolStripMenuItem->Size = System::Drawing::Size(193, 38);
|
1 |
cycrow |
2430 |
this->clearAllToolStripMenuItem->Text = L"Clear All";
|
|
|
2431 |
this->clearAllToolStripMenuItem->Click += gcnew System::EventHandler(this, &PackageForm::clearAllToolStripMenuItem_Click);
|
|
|
2432 |
//
|
|
|
2433 |
// panel14
|
|
|
2434 |
//
|
|
|
2435 |
this->panel14->Controls->Add(this->TextWebAddress);
|
|
|
2436 |
this->panel14->Controls->Add(this->label14);
|
|
|
2437 |
this->panel14->Dock = System::Windows::Forms::DockStyle::Top;
|
236 |
cycrow |
2438 |
this->panel14->Location = System::Drawing::Point(3, 16);
|
1 |
cycrow |
2439 |
this->panel14->Name = L"panel14";
|
237 |
cycrow |
2440 |
this->panel14->Size = System::Drawing::Size(736, 24);
|
1 |
cycrow |
2441 |
this->panel14->TabIndex = 2;
|
|
|
2442 |
//
|
|
|
2443 |
// TextWebAddress
|
|
|
2444 |
//
|
|
|
2445 |
this->TextWebAddress->DetectUrls = false;
|
|
|
2446 |
this->TextWebAddress->Dock = System::Windows::Forms::DockStyle::Fill;
|
236 |
cycrow |
2447 |
this->TextWebAddress->Location = System::Drawing::Point(142, 0);
|
1 |
cycrow |
2448 |
this->TextWebAddress->Name = L"TextWebAddress";
|
237 |
cycrow |
2449 |
this->TextWebAddress->Size = System::Drawing::Size(594, 24);
|
1 |
cycrow |
2450 |
this->TextWebAddress->TabIndex = 1;
|
|
|
2451 |
this->TextWebAddress->Text = L"";
|
|
|
2452 |
this->TextWebAddress->TextChanged += gcnew System::EventHandler(this, &PackageForm::TextWebAddress_TextChanged_1);
|
|
|
2453 |
//
|
|
|
2454 |
// label14
|
|
|
2455 |
//
|
|
|
2456 |
this->label14->Dock = System::Windows::Forms::DockStyle::Left;
|
126 |
cycrow |
2457 |
this->label14->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 9.75F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point,
|
1 |
cycrow |
2458 |
static_cast<System::Byte>(0)));
|
|
|
2459 |
this->label14->Location = System::Drawing::Point(0, 0);
|
|
|
2460 |
this->label14->Name = L"label14";
|
236 |
cycrow |
2461 |
this->label14->Size = System::Drawing::Size(142, 24);
|
1 |
cycrow |
2462 |
this->label14->TabIndex = 0;
|
|
|
2463 |
this->label14->Text = L"Primary Address";
|
|
|
2464 |
//
|
|
|
2465 |
// tabPage4
|
|
|
2466 |
//
|
|
|
2467 |
this->tabPage4->Controls->Add(this->ListDep);
|
237 |
cycrow |
2468 |
this->tabPage4->Location = System::Drawing::Point(4, 40);
|
1 |
cycrow |
2469 |
this->tabPage4->Name = L"tabPage4";
|
237 |
cycrow |
2470 |
this->tabPage4->Padding = System::Windows::Forms::Padding(15);
|
|
|
2471 |
this->tabPage4->Size = System::Drawing::Size(748, 198);
|
1 |
cycrow |
2472 |
this->tabPage4->TabIndex = 9;
|
|
|
2473 |
this->tabPage4->Text = L"Dependacies";
|
|
|
2474 |
this->tabPage4->UseVisualStyleBackColor = true;
|
|
|
2475 |
//
|
|
|
2476 |
// ListDep
|
|
|
2477 |
//
|
126 |
cycrow |
2478 |
this->ListDep->Columns->AddRange(gcnew cli::array< System::Windows::Forms::ColumnHeader^ >(3) {
|
|
|
2479 |
this->columnHeader22, this->columnHeader23,
|
|
|
2480 |
this->columnHeader24
|
|
|
2481 |
});
|
1 |
cycrow |
2482 |
this->ListDep->ContextMenuStrip = this->ContextDep;
|
|
|
2483 |
this->ListDep->Dock = System::Windows::Forms::DockStyle::Fill;
|
|
|
2484 |
this->ListDep->FullRowSelect = true;
|
126 |
cycrow |
2485 |
this->ListDep->HideSelection = false;
|
236 |
cycrow |
2486 |
this->ListDep->Location = System::Drawing::Point(15, 15);
|
1 |
cycrow |
2487 |
this->ListDep->MultiSelect = false;
|
|
|
2488 |
this->ListDep->Name = L"ListDep";
|
237 |
cycrow |
2489 |
this->ListDep->Size = System::Drawing::Size(718, 168);
|
1 |
cycrow |
2490 |
this->ListDep->TabIndex = 0;
|
|
|
2491 |
this->ListDep->UseCompatibleStateImageBehavior = false;
|
|
|
2492 |
this->ListDep->View = System::Windows::Forms::View::Details;
|
|
|
2493 |
this->ListDep->MouseDoubleClick += gcnew System::Windows::Forms::MouseEventHandler(this, &PackageForm::ListDep_MouseDoubleClick);
|
|
|
2494 |
//
|
|
|
2495 |
// columnHeader22
|
|
|
2496 |
//
|
|
|
2497 |
this->columnHeader22->Text = L"Package Name";
|
|
|
2498 |
//
|
|
|
2499 |
// columnHeader23
|
|
|
2500 |
//
|
|
|
2501 |
this->columnHeader23->Text = L"Author";
|
|
|
2502 |
//
|
|
|
2503 |
// columnHeader24
|
|
|
2504 |
//
|
|
|
2505 |
this->columnHeader24->Text = L"Minimum Version";
|
|
|
2506 |
//
|
|
|
2507 |
// ContextDep
|
|
|
2508 |
//
|
126 |
cycrow |
2509 |
this->ContextDep->ImageScalingSize = System::Drawing::Size(20, 20);
|
|
|
2510 |
this->ContextDep->Items->AddRange(gcnew cli::array< System::Windows::Forms::ToolStripItem^ >(6) {
|
|
|
2511 |
this->addToolStripMenuItem1,
|
|
|
2512 |
this->ContextDepSep1, this->editSelectedToolStripMenuItem, this->ContextDepRemove, this->ContextDepSep2, this->ContextDepClear
|
|
|
2513 |
});
|
1 |
cycrow |
2514 |
this->ContextDep->Name = L"ContextDep";
|
236 |
cycrow |
2515 |
this->ContextDep->Size = System::Drawing::Size(181, 168);
|
1 |
cycrow |
2516 |
this->ContextDep->Opening += gcnew System::ComponentModel::CancelEventHandler(this, &PackageForm::ContextDep_Opening);
|
|
|
2517 |
//
|
|
|
2518 |
// addToolStripMenuItem1
|
|
|
2519 |
//
|
126 |
cycrow |
2520 |
this->addToolStripMenuItem1->DropDownItems->AddRange(gcnew cli::array< System::Windows::Forms::ToolStripItem^ >(2) {
|
|
|
2521 |
this->manualToolStripMenuItem,
|
|
|
2522 |
this->fromPackageToolStripMenuItem
|
|
|
2523 |
});
|
|
|
2524 |
this->addToolStripMenuItem1->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"addToolStripMenuItem1.Image")));
|
1 |
cycrow |
2525 |
this->addToolStripMenuItem1->ImageScaling = System::Windows::Forms::ToolStripItemImageScaling::None;
|
|
|
2526 |
this->addToolStripMenuItem1->Name = L"addToolStripMenuItem1";
|
236 |
cycrow |
2527 |
this->addToolStripMenuItem1->Size = System::Drawing::Size(180, 38);
|
1 |
cycrow |
2528 |
this->addToolStripMenuItem1->Text = L"Add";
|
|
|
2529 |
//
|
|
|
2530 |
// manualToolStripMenuItem
|
|
|
2531 |
//
|
126 |
cycrow |
2532 |
this->manualToolStripMenuItem->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"manualToolStripMenuItem.Image")));
|
1 |
cycrow |
2533 |
this->manualToolStripMenuItem->ImageScaling = System::Windows::Forms::ToolStripItemImageScaling::None;
|
|
|
2534 |
this->manualToolStripMenuItem->Name = L"manualToolStripMenuItem";
|
236 |
cycrow |
2535 |
this->manualToolStripMenuItem->Size = System::Drawing::Size(165, 38);
|
1 |
cycrow |
2536 |
this->manualToolStripMenuItem->Text = L"Manual";
|
|
|
2537 |
this->manualToolStripMenuItem->Click += gcnew System::EventHandler(this, &PackageForm::manualToolStripMenuItem_Click);
|
|
|
2538 |
//
|
|
|
2539 |
// fromPackageToolStripMenuItem
|
|
|
2540 |
//
|
126 |
cycrow |
2541 |
this->fromPackageToolStripMenuItem->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"fromPackageToolStripMenuItem.Image")));
|
1 |
cycrow |
2542 |
this->fromPackageToolStripMenuItem->ImageScaling = System::Windows::Forms::ToolStripItemImageScaling::None;
|
|
|
2543 |
this->fromPackageToolStripMenuItem->Name = L"fromPackageToolStripMenuItem";
|
236 |
cycrow |
2544 |
this->fromPackageToolStripMenuItem->Size = System::Drawing::Size(165, 38);
|
1 |
cycrow |
2545 |
this->fromPackageToolStripMenuItem->Text = L"From Package";
|
|
|
2546 |
this->fromPackageToolStripMenuItem->Click += gcnew System::EventHandler(this, &PackageForm::fromPackageToolStripMenuItem_Click);
|
|
|
2547 |
//
|
|
|
2548 |
// ContextDepSep1
|
|
|
2549 |
//
|
|
|
2550 |
this->ContextDepSep1->Name = L"ContextDepSep1";
|
236 |
cycrow |
2551 |
this->ContextDepSep1->Size = System::Drawing::Size(177, 6);
|
1 |
cycrow |
2552 |
//
|
|
|
2553 |
// editSelectedToolStripMenuItem
|
|
|
2554 |
//
|
126 |
cycrow |
2555 |
this->editSelectedToolStripMenuItem->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"editSelectedToolStripMenuItem.Image")));
|
1 |
cycrow |
2556 |
this->editSelectedToolStripMenuItem->ImageScaling = System::Windows::Forms::ToolStripItemImageScaling::None;
|
|
|
2557 |
this->editSelectedToolStripMenuItem->Name = L"editSelectedToolStripMenuItem";
|
236 |
cycrow |
2558 |
this->editSelectedToolStripMenuItem->Size = System::Drawing::Size(180, 38);
|
1 |
cycrow |
2559 |
this->editSelectedToolStripMenuItem->Text = L"Edit Selected";
|
|
|
2560 |
this->editSelectedToolStripMenuItem->Click += gcnew System::EventHandler(this, &PackageForm::editSelectedToolStripMenuItem_Click);
|
|
|
2561 |
//
|
|
|
2562 |
// ContextDepRemove
|
|
|
2563 |
//
|
126 |
cycrow |
2564 |
this->ContextDepRemove->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"ContextDepRemove.Image")));
|
1 |
cycrow |
2565 |
this->ContextDepRemove->ImageScaling = System::Windows::Forms::ToolStripItemImageScaling::None;
|
|
|
2566 |
this->ContextDepRemove->Name = L"ContextDepRemove";
|
236 |
cycrow |
2567 |
this->ContextDepRemove->Size = System::Drawing::Size(180, 38);
|
1 |
cycrow |
2568 |
this->ContextDepRemove->Text = L"Remove Selected";
|
|
|
2569 |
this->ContextDepRemove->Click += gcnew System::EventHandler(this, &PackageForm::ContextDepRemove_Click);
|
|
|
2570 |
//
|
|
|
2571 |
// ContextDepSep2
|
|
|
2572 |
//
|
|
|
2573 |
this->ContextDepSep2->Name = L"ContextDepSep2";
|
236 |
cycrow |
2574 |
this->ContextDepSep2->Size = System::Drawing::Size(177, 6);
|
1 |
cycrow |
2575 |
//
|
|
|
2576 |
// ContextDepClear
|
|
|
2577 |
//
|
126 |
cycrow |
2578 |
this->ContextDepClear->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"ContextDepClear.Image")));
|
1 |
cycrow |
2579 |
this->ContextDepClear->ImageScaling = System::Windows::Forms::ToolStripItemImageScaling::None;
|
|
|
2580 |
this->ContextDepClear->Name = L"ContextDepClear";
|
236 |
cycrow |
2581 |
this->ContextDepClear->Size = System::Drawing::Size(180, 38);
|
1 |
cycrow |
2582 |
this->ContextDepClear->Text = L"Clear All";
|
|
|
2583 |
this->ContextDepClear->Click += gcnew System::EventHandler(this, &PackageForm::ContextDepClear_Click);
|
|
|
2584 |
//
|
|
|
2585 |
// PageWares
|
|
|
2586 |
//
|
|
|
2587 |
this->PageWares->Controls->Add(this->splitContainer1);
|
237 |
cycrow |
2588 |
this->PageWares->Location = System::Drawing::Point(4, 40);
|
1 |
cycrow |
2589 |
this->PageWares->Name = L"PageWares";
|
237 |
cycrow |
2590 |
this->PageWares->Padding = System::Windows::Forms::Padding(3);
|
|
|
2591 |
this->PageWares->Size = System::Drawing::Size(748, 198);
|
1 |
cycrow |
2592 |
this->PageWares->TabIndex = 5;
|
|
|
2593 |
this->PageWares->Text = L"Custom Wares";
|
|
|
2594 |
this->PageWares->UseVisualStyleBackColor = true;
|
|
|
2595 |
//
|
|
|
2596 |
// splitContainer1
|
|
|
2597 |
//
|
|
|
2598 |
this->splitContainer1->Dock = System::Windows::Forms::DockStyle::Fill;
|
236 |
cycrow |
2599 |
this->splitContainer1->Location = System::Drawing::Point(3, 3);
|
1 |
cycrow |
2600 |
this->splitContainer1->Name = L"splitContainer1";
|
|
|
2601 |
this->splitContainer1->Orientation = System::Windows::Forms::Orientation::Horizontal;
|
|
|
2602 |
//
|
|
|
2603 |
// splitContainer1.Panel1
|
|
|
2604 |
//
|
|
|
2605 |
this->splitContainer1->Panel1->Controls->Add(this->ListWares);
|
|
|
2606 |
//
|
|
|
2607 |
// splitContainer1.Panel2
|
|
|
2608 |
//
|
|
|
2609 |
this->splitContainer1->Panel2->Controls->Add(this->ListWareText);
|
237 |
cycrow |
2610 |
this->splitContainer1->Size = System::Drawing::Size(742, 192);
|
|
|
2611 |
this->splitContainer1->SplitterDistance = 97;
|
1 |
cycrow |
2612 |
this->splitContainer1->TabIndex = 0;
|
|
|
2613 |
//
|
|
|
2614 |
// ListWares
|
|
|
2615 |
//
|
126 |
cycrow |
2616 |
this->ListWares->Columns->AddRange(gcnew cli::array< System::Windows::Forms::ColumnHeader^ >(7) {
|
|
|
2617 |
this->columnHeader9, this->columnHeader10,
|
|
|
2618 |
this->columnHeader11, this->columnHeader12, this->columnHeader13, this->columnHeader14, this->columnHeader18
|
|
|
2619 |
});
|
1 |
cycrow |
2620 |
this->ListWares->ContextMenuStrip = this->ContextWare;
|
|
|
2621 |
this->ListWares->Dock = System::Windows::Forms::DockStyle::Fill;
|
|
|
2622 |
this->ListWares->FullRowSelect = true;
|
|
|
2623 |
this->ListWares->HideSelection = false;
|
|
|
2624 |
this->ListWares->Location = System::Drawing::Point(0, 0);
|
|
|
2625 |
this->ListWares->MultiSelect = false;
|
|
|
2626 |
this->ListWares->Name = L"ListWares";
|
237 |
cycrow |
2627 |
this->ListWares->Size = System::Drawing::Size(742, 97);
|
1 |
cycrow |
2628 |
this->ListWares->TabIndex = 0;
|
|
|
2629 |
this->ListWares->UseCompatibleStateImageBehavior = false;
|
|
|
2630 |
this->ListWares->View = System::Windows::Forms::View::Details;
|
126 |
cycrow |
2631 |
this->ListWares->SelectedIndexChanged += gcnew System::EventHandler(this, &PackageForm::ListWares_SelectedIndexChanged);
|
1 |
cycrow |
2632 |
this->ListWares->MouseDoubleClick += gcnew System::Windows::Forms::MouseEventHandler(this, &PackageForm::ListWares_MouseDoubleClick);
|
|
|
2633 |
//
|
|
|
2634 |
// columnHeader9
|
|
|
2635 |
//
|
|
|
2636 |
this->columnHeader9->Text = L"Ware ID";
|
|
|
2637 |
//
|
|
|
2638 |
// columnHeader10
|
|
|
2639 |
//
|
|
|
2640 |
this->columnHeader10->Text = L"Ware Type";
|
|
|
2641 |
this->columnHeader10->Width = 77;
|
|
|
2642 |
//
|
|
|
2643 |
// columnHeader11
|
|
|
2644 |
//
|
|
|
2645 |
this->columnHeader11->Text = L"Price";
|
|
|
2646 |
//
|
|
|
2647 |
// columnHeader12
|
|
|
2648 |
//
|
|
|
2649 |
this->columnHeader12->Text = L"Size Class";
|
|
|
2650 |
//
|
|
|
2651 |
// columnHeader13
|
|
|
2652 |
//
|
|
|
2653 |
this->columnHeader13->Text = L"Volume";
|
|
|
2654 |
//
|
|
|
2655 |
// columnHeader14
|
|
|
2656 |
//
|
|
|
2657 |
this->columnHeader14->Text = L"Min. Noto";
|
|
|
2658 |
//
|
|
|
2659 |
// columnHeader18
|
|
|
2660 |
//
|
|
|
2661 |
this->columnHeader18->Text = L"Text ID";
|
|
|
2662 |
//
|
|
|
2663 |
// ContextWare
|
|
|
2664 |
//
|
126 |
cycrow |
2665 |
this->ContextWare->ImageScalingSize = System::Drawing::Size(20, 20);
|
|
|
2666 |
this->ContextWare->Items->AddRange(gcnew cli::array< System::Windows::Forms::ToolStripItem^ >(6) {
|
|
|
2667 |
this->addWareToolStripMenuItem,
|
|
|
2668 |
this->ContextWareSep1, this->ContextWareEdit, this->ContextWareRemove, this->ContextWareSep2, this->ContextWareClear
|
|
|
2669 |
});
|
1 |
cycrow |
2670 |
this->ContextWare->Name = L"ContextWare";
|
236 |
cycrow |
2671 |
this->ContextWare->Size = System::Drawing::Size(164, 168);
|
1 |
cycrow |
2672 |
this->ContextWare->Opening += gcnew System::ComponentModel::CancelEventHandler(this, &PackageForm::ContextWare_Opening);
|
|
|
2673 |
//
|
|
|
2674 |
// addWareToolStripMenuItem
|
|
|
2675 |
//
|
126 |
cycrow |
2676 |
this->addWareToolStripMenuItem->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"addWareToolStripMenuItem.Image")));
|
1 |
cycrow |
2677 |
this->addWareToolStripMenuItem->ImageScaling = System::Windows::Forms::ToolStripItemImageScaling::None;
|
|
|
2678 |
this->addWareToolStripMenuItem->Name = L"addWareToolStripMenuItem";
|
236 |
cycrow |
2679 |
this->addWareToolStripMenuItem->Size = System::Drawing::Size(163, 38);
|
1 |
cycrow |
2680 |
this->addWareToolStripMenuItem->Text = L"Add Ware";
|
|
|
2681 |
this->addWareToolStripMenuItem->Click += gcnew System::EventHandler(this, &PackageForm::addWareToolStripMenuItem_Click);
|
|
|
2682 |
//
|
|
|
2683 |
// ContextWareSep1
|
|
|
2684 |
//
|
|
|
2685 |
this->ContextWareSep1->Name = L"ContextWareSep1";
|
236 |
cycrow |
2686 |
this->ContextWareSep1->Size = System::Drawing::Size(160, 6);
|
1 |
cycrow |
2687 |
//
|
|
|
2688 |
// ContextWareEdit
|
|
|
2689 |
//
|
126 |
cycrow |
2690 |
this->ContextWareEdit->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"ContextWareEdit.Image")));
|
1 |
cycrow |
2691 |
this->ContextWareEdit->ImageScaling = System::Windows::Forms::ToolStripItemImageScaling::None;
|
|
|
2692 |
this->ContextWareEdit->Name = L"ContextWareEdit";
|
236 |
cycrow |
2693 |
this->ContextWareEdit->Size = System::Drawing::Size(163, 38);
|
1 |
cycrow |
2694 |
this->ContextWareEdit->Text = L"Edit Ware";
|
|
|
2695 |
this->ContextWareEdit->Click += gcnew System::EventHandler(this, &PackageForm::ContextWareEdit_Click);
|
|
|
2696 |
//
|
|
|
2697 |
// ContextWareRemove
|
|
|
2698 |
//
|
126 |
cycrow |
2699 |
this->ContextWareRemove->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"ContextWareRemove.Image")));
|
1 |
cycrow |
2700 |
this->ContextWareRemove->ImageScaling = System::Windows::Forms::ToolStripItemImageScaling::None;
|
|
|
2701 |
this->ContextWareRemove->Name = L"ContextWareRemove";
|
236 |
cycrow |
2702 |
this->ContextWareRemove->Size = System::Drawing::Size(163, 38);
|
1 |
cycrow |
2703 |
this->ContextWareRemove->Text = L"Remove Ware";
|
|
|
2704 |
this->ContextWareRemove->Click += gcnew System::EventHandler(this, &PackageForm::ContextWareRemove_Click);
|
|
|
2705 |
//
|
|
|
2706 |
// ContextWareSep2
|
|
|
2707 |
//
|
|
|
2708 |
this->ContextWareSep2->Name = L"ContextWareSep2";
|
236 |
cycrow |
2709 |
this->ContextWareSep2->Size = System::Drawing::Size(160, 6);
|
1 |
cycrow |
2710 |
//
|
|
|
2711 |
// ContextWareClear
|
|
|
2712 |
//
|
126 |
cycrow |
2713 |
this->ContextWareClear->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"ContextWareClear.Image")));
|
1 |
cycrow |
2714 |
this->ContextWareClear->ImageScaling = System::Windows::Forms::ToolStripItemImageScaling::None;
|
|
|
2715 |
this->ContextWareClear->Name = L"ContextWareClear";
|
236 |
cycrow |
2716 |
this->ContextWareClear->Size = System::Drawing::Size(163, 38);
|
1 |
cycrow |
2717 |
this->ContextWareClear->Text = L"Clear All";
|
|
|
2718 |
this->ContextWareClear->Click += gcnew System::EventHandler(this, &PackageForm::ContextWareClear_Click);
|
|
|
2719 |
//
|
|
|
2720 |
// ListWareText
|
|
|
2721 |
//
|
126 |
cycrow |
2722 |
this->ListWareText->Columns->AddRange(gcnew cli::array< System::Windows::Forms::ColumnHeader^ >(3) {
|
|
|
2723 |
this->columnHeader15,
|
|
|
2724 |
this->columnHeader16, this->columnHeader17
|
|
|
2725 |
});
|
1 |
cycrow |
2726 |
this->ListWareText->ContextMenuStrip = this->ContextWareText;
|
|
|
2727 |
this->ListWareText->Dock = System::Windows::Forms::DockStyle::Fill;
|
|
|
2728 |
this->ListWareText->FullRowSelect = true;
|
126 |
cycrow |
2729 |
this->ListWareText->HideSelection = false;
|
1 |
cycrow |
2730 |
this->ListWareText->Location = System::Drawing::Point(0, 0);
|
|
|
2731 |
this->ListWareText->MultiSelect = false;
|
|
|
2732 |
this->ListWareText->Name = L"ListWareText";
|
237 |
cycrow |
2733 |
this->ListWareText->Size = System::Drawing::Size(742, 91);
|
1 |
cycrow |
2734 |
this->ListWareText->TabIndex = 0;
|
|
|
2735 |
this->ListWareText->UseCompatibleStateImageBehavior = false;
|
|
|
2736 |
this->ListWareText->View = System::Windows::Forms::View::Details;
|
|
|
2737 |
this->ListWareText->MouseDoubleClick += gcnew System::Windows::Forms::MouseEventHandler(this, &PackageForm::ListWareText_MouseDoubleClick);
|
|
|
2738 |
//
|
|
|
2739 |
// columnHeader15
|
|
|
2740 |
//
|
|
|
2741 |
this->columnHeader15->Text = L"Lang ID";
|
|
|
2742 |
//
|
|
|
2743 |
// columnHeader16
|
|
|
2744 |
//
|
|
|
2745 |
this->columnHeader16->Text = L"Ware Name";
|
|
|
2746 |
this->columnHeader16->Width = 88;
|
|
|
2747 |
//
|
|
|
2748 |
// columnHeader17
|
|
|
2749 |
//
|
|
|
2750 |
this->columnHeader17->Text = L"Ware Description";
|
|
|
2751 |
this->columnHeader17->Width = 115;
|
|
|
2752 |
//
|
|
|
2753 |
// ContextWareText
|
|
|
2754 |
//
|
126 |
cycrow |
2755 |
this->ContextWareText->ImageScalingSize = System::Drawing::Size(20, 20);
|
|
|
2756 |
this->ContextWareText->Items->AddRange(gcnew cli::array< System::Windows::Forms::ToolStripItem^ >(6) {
|
|
|
2757 |
this->addTextToolStripMenuItem,
|
|
|
2758 |
this->ContextWTSep1, this->ContextWTRemove, this->ContextWTEdit, this->ContextWTSep2, this->ContextWTClear
|
|
|
2759 |
});
|
1 |
cycrow |
2760 |
this->ContextWareText->Name = L"ContextWareText";
|
236 |
cycrow |
2761 |
this->ContextWareText->Size = System::Drawing::Size(158, 168);
|
1 |
cycrow |
2762 |
this->ContextWareText->Opening += gcnew System::ComponentModel::CancelEventHandler(this, &PackageForm::ContextWareText_Opening);
|
|
|
2763 |
//
|
|
|
2764 |
// addTextToolStripMenuItem
|
|
|
2765 |
//
|
126 |
cycrow |
2766 |
this->addTextToolStripMenuItem->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"addTextToolStripMenuItem.Image")));
|
1 |
cycrow |
2767 |
this->addTextToolStripMenuItem->ImageScaling = System::Windows::Forms::ToolStripItemImageScaling::None;
|
|
|
2768 |
this->addTextToolStripMenuItem->Name = L"addTextToolStripMenuItem";
|
236 |
cycrow |
2769 |
this->addTextToolStripMenuItem->Size = System::Drawing::Size(157, 38);
|
1 |
cycrow |
2770 |
this->addTextToolStripMenuItem->Text = L"Add Text";
|
|
|
2771 |
this->addTextToolStripMenuItem->Click += gcnew System::EventHandler(this, &PackageForm::addTextToolStripMenuItem_Click);
|
|
|
2772 |
//
|
|
|
2773 |
// ContextWTSep1
|
|
|
2774 |
//
|
|
|
2775 |
this->ContextWTSep1->Name = L"ContextWTSep1";
|
236 |
cycrow |
2776 |
this->ContextWTSep1->Size = System::Drawing::Size(154, 6);
|
1 |
cycrow |
2777 |
//
|
|
|
2778 |
// ContextWTRemove
|
|
|
2779 |
//
|
126 |
cycrow |
2780 |
this->ContextWTRemove->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"ContextWTRemove.Image")));
|
1 |
cycrow |
2781 |
this->ContextWTRemove->ImageScaling = System::Windows::Forms::ToolStripItemImageScaling::None;
|
|
|
2782 |
this->ContextWTRemove->Name = L"ContextWTRemove";
|
236 |
cycrow |
2783 |
this->ContextWTRemove->Size = System::Drawing::Size(157, 38);
|
1 |
cycrow |
2784 |
this->ContextWTRemove->Text = L"Remove Text";
|
|
|
2785 |
this->ContextWTRemove->Click += gcnew System::EventHandler(this, &PackageForm::ContextWTRemove_Click);
|
|
|
2786 |
//
|
|
|
2787 |
// ContextWTEdit
|
|
|
2788 |
//
|
126 |
cycrow |
2789 |
this->ContextWTEdit->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"ContextWTEdit.Image")));
|
1 |
cycrow |
2790 |
this->ContextWTEdit->ImageScaling = System::Windows::Forms::ToolStripItemImageScaling::None;
|
|
|
2791 |
this->ContextWTEdit->Name = L"ContextWTEdit";
|
236 |
cycrow |
2792 |
this->ContextWTEdit->Size = System::Drawing::Size(157, 38);
|
1 |
cycrow |
2793 |
this->ContextWTEdit->Text = L"Edit Text";
|
|
|
2794 |
this->ContextWTEdit->Click += gcnew System::EventHandler(this, &PackageForm::ContextWTEdit_Click);
|
|
|
2795 |
//
|
|
|
2796 |
// ContextWTSep2
|
|
|
2797 |
//
|
|
|
2798 |
this->ContextWTSep2->Name = L"ContextWTSep2";
|
236 |
cycrow |
2799 |
this->ContextWTSep2->Size = System::Drawing::Size(154, 6);
|
1 |
cycrow |
2800 |
//
|
|
|
2801 |
// ContextWTClear
|
|
|
2802 |
//
|
126 |
cycrow |
2803 |
this->ContextWTClear->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"ContextWTClear.Image")));
|
1 |
cycrow |
2804 |
this->ContextWTClear->ImageScaling = System::Windows::Forms::ToolStripItemImageScaling::None;
|
|
|
2805 |
this->ContextWTClear->Name = L"ContextWTClear";
|
236 |
cycrow |
2806 |
this->ContextWTClear->Size = System::Drawing::Size(157, 38);
|
1 |
cycrow |
2807 |
this->ContextWTClear->Text = L"Clear All";
|
|
|
2808 |
this->ContextWTClear->Click += gcnew System::EventHandler(this, &PackageForm::ContextWTClear_Click);
|
|
|
2809 |
//
|
|
|
2810 |
// PageShip
|
|
|
2811 |
//
|
|
|
2812 |
this->PageShip->Controls->Add(this->ListShipText);
|
|
|
2813 |
this->PageShip->Controls->Add(this->PanelTextID);
|
|
|
2814 |
this->PageShip->Controls->Add(this->flowLayoutPanel2);
|
237 |
cycrow |
2815 |
this->PageShip->Location = System::Drawing::Point(4, 40);
|
1 |
cycrow |
2816 |
this->PageShip->Name = L"PageShip";
|
237 |
cycrow |
2817 |
this->PageShip->Padding = System::Windows::Forms::Padding(8);
|
|
|
2818 |
this->PageShip->Size = System::Drawing::Size(748, 198);
|
1 |
cycrow |
2819 |
this->PageShip->TabIndex = 6;
|
|
|
2820 |
this->PageShip->Text = L"Ship Settings";
|
|
|
2821 |
this->PageShip->UseVisualStyleBackColor = true;
|
|
|
2822 |
//
|
|
|
2823 |
// ListShipText
|
|
|
2824 |
//
|
126 |
cycrow |
2825 |
this->ListShipText->Columns->AddRange(gcnew cli::array< System::Windows::Forms::ColumnHeader^ >(3) {
|
|
|
2826 |
this->columnHeader19,
|
|
|
2827 |
this->columnHeader20, this->columnHeader21
|
|
|
2828 |
});
|
1 |
cycrow |
2829 |
this->ListShipText->ContextMenuStrip = this->ContextShipText;
|
|
|
2830 |
this->ListShipText->Dock = System::Windows::Forms::DockStyle::Fill;
|
|
|
2831 |
this->ListShipText->FullRowSelect = true;
|
|
|
2832 |
this->ListShipText->HeaderStyle = System::Windows::Forms::ColumnHeaderStyle::Nonclickable;
|
126 |
cycrow |
2833 |
this->ListShipText->HideSelection = false;
|
236 |
cycrow |
2834 |
this->ListShipText->Location = System::Drawing::Point(8, 110);
|
1 |
cycrow |
2835 |
this->ListShipText->Name = L"ListShipText";
|
237 |
cycrow |
2836 |
this->ListShipText->Size = System::Drawing::Size(732, 80);
|
1 |
cycrow |
2837 |
this->ListShipText->TabIndex = 8;
|
|
|
2838 |
this->ListShipText->UseCompatibleStateImageBehavior = false;
|
|
|
2839 |
this->ListShipText->View = System::Windows::Forms::View::Details;
|
|
|
2840 |
this->ListShipText->MouseDoubleClick += gcnew System::Windows::Forms::MouseEventHandler(this, &PackageForm::ListShipText_MouseDoubleClick);
|
|
|
2841 |
//
|
|
|
2842 |
// columnHeader19
|
|
|
2843 |
//
|
|
|
2844 |
this->columnHeader19->Text = L"Language";
|
|
|
2845 |
//
|
|
|
2846 |
// columnHeader20
|
|
|
2847 |
//
|
|
|
2848 |
this->columnHeader20->Text = L"Ship Name";
|
|
|
2849 |
//
|
|
|
2850 |
// columnHeader21
|
|
|
2851 |
//
|
|
|
2852 |
this->columnHeader21->Text = L"Ship Description";
|
|
|
2853 |
//
|
|
|
2854 |
// ContextShipText
|
|
|
2855 |
//
|
126 |
cycrow |
2856 |
this->ContextShipText->ImageScalingSize = System::Drawing::Size(20, 20);
|
|
|
2857 |
this->ContextShipText->Items->AddRange(gcnew cli::array< System::Windows::Forms::ToolStripItem^ >(7) {
|
|
|
2858 |
this->importTextToolStripMenuItem,
|
|
|
2859 |
this->addLanguageToolStripMenuItem, this->ContextShipTextSep1, this->ContextShipTextEdit, this->ContextShipTextRemove, this->ContextShipTextSep2,
|
|
|
2860 |
this->ContextShipTextClear
|
|
|
2861 |
});
|
1 |
cycrow |
2862 |
this->ContextShipText->Name = L"ContextShipText";
|
236 |
cycrow |
2863 |
this->ContextShipText->Size = System::Drawing::Size(168, 206);
|
1 |
cycrow |
2864 |
this->ContextShipText->Opening += gcnew System::ComponentModel::CancelEventHandler(this, &PackageForm::ContextShipText_Opening);
|
|
|
2865 |
//
|
|
|
2866 |
// importTextToolStripMenuItem
|
|
|
2867 |
//
|
126 |
cycrow |
2868 |
this->importTextToolStripMenuItem->DropDownItems->AddRange(gcnew cli::array< System::Windows::Forms::ToolStripItem^ >(3) {
|
|
|
2869 |
this->fromFileToolStripMenuItem,
|
|
|
2870 |
this->fromDirectoryToolStripMenuItem, this->fromModToolStripMenuItem
|
|
|
2871 |
});
|
|
|
2872 |
this->importTextToolStripMenuItem->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"importTextToolStripMenuItem.Image")));
|
1 |
cycrow |
2873 |
this->importTextToolStripMenuItem->ImageScaling = System::Windows::Forms::ToolStripItemImageScaling::None;
|
|
|
2874 |
this->importTextToolStripMenuItem->Name = L"importTextToolStripMenuItem";
|
236 |
cycrow |
2875 |
this->importTextToolStripMenuItem->Size = System::Drawing::Size(167, 38);
|
1 |
cycrow |
2876 |
this->importTextToolStripMenuItem->Text = L"Import Text";
|
|
|
2877 |
//
|
|
|
2878 |
// fromFileToolStripMenuItem
|
|
|
2879 |
//
|
126 |
cycrow |
2880 |
this->fromFileToolStripMenuItem->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"fromFileToolStripMenuItem.Image")));
|
1 |
cycrow |
2881 |
this->fromFileToolStripMenuItem->ImageScaling = System::Windows::Forms::ToolStripItemImageScaling::None;
|
|
|
2882 |
this->fromFileToolStripMenuItem->Name = L"fromFileToolStripMenuItem";
|
236 |
cycrow |
2883 |
this->fromFileToolStripMenuItem->Size = System::Drawing::Size(169, 38);
|
1 |
cycrow |
2884 |
this->fromFileToolStripMenuItem->Text = L"From File";
|
|
|
2885 |
this->fromFileToolStripMenuItem->Click += gcnew System::EventHandler(this, &PackageForm::fromFileToolStripMenuItem_Click);
|
|
|
2886 |
//
|
|
|
2887 |
// fromDirectoryToolStripMenuItem
|
|
|
2888 |
//
|
126 |
cycrow |
2889 |
this->fromDirectoryToolStripMenuItem->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"fromDirectoryToolStripMenuItem.Image")));
|
1 |
cycrow |
2890 |
this->fromDirectoryToolStripMenuItem->ImageScaling = System::Windows::Forms::ToolStripItemImageScaling::None;
|
|
|
2891 |
this->fromDirectoryToolStripMenuItem->Name = L"fromDirectoryToolStripMenuItem";
|
236 |
cycrow |
2892 |
this->fromDirectoryToolStripMenuItem->Size = System::Drawing::Size(169, 38);
|
1 |
cycrow |
2893 |
this->fromDirectoryToolStripMenuItem->Text = L"From Directory";
|
|
|
2894 |
this->fromDirectoryToolStripMenuItem->Click += gcnew System::EventHandler(this, &PackageForm::fromDirectoryToolStripMenuItem_Click);
|
|
|
2895 |
//
|
|
|
2896 |
// fromModToolStripMenuItem
|
|
|
2897 |
//
|
126 |
cycrow |
2898 |
this->fromModToolStripMenuItem->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"fromModToolStripMenuItem.Image")));
|
1 |
cycrow |
2899 |
this->fromModToolStripMenuItem->ImageScaling = System::Windows::Forms::ToolStripItemImageScaling::None;
|
|
|
2900 |
this->fromModToolStripMenuItem->Name = L"fromModToolStripMenuItem";
|
236 |
cycrow |
2901 |
this->fromModToolStripMenuItem->Size = System::Drawing::Size(169, 38);
|
1 |
cycrow |
2902 |
this->fromModToolStripMenuItem->Text = L"From Mod";
|
|
|
2903 |
this->fromModToolStripMenuItem->Click += gcnew System::EventHandler(this, &PackageForm::fromModToolStripMenuItem_Click);
|
|
|
2904 |
//
|
|
|
2905 |
// addLanguageToolStripMenuItem
|
|
|
2906 |
//
|
126 |
cycrow |
2907 |
this->addLanguageToolStripMenuItem->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"addLanguageToolStripMenuItem.Image")));
|
1 |
cycrow |
2908 |
this->addLanguageToolStripMenuItem->ImageScaling = System::Windows::Forms::ToolStripItemImageScaling::None;
|
|
|
2909 |
this->addLanguageToolStripMenuItem->Name = L"addLanguageToolStripMenuItem";
|
236 |
cycrow |
2910 |
this->addLanguageToolStripMenuItem->Size = System::Drawing::Size(167, 38);
|
1 |
cycrow |
2911 |
this->addLanguageToolStripMenuItem->Text = L"Add Language";
|
|
|
2912 |
this->addLanguageToolStripMenuItem->Click += gcnew System::EventHandler(this, &PackageForm::addLanguageToolStripMenuItem_Click);
|
|
|
2913 |
//
|
|
|
2914 |
// ContextShipTextSep1
|
|
|
2915 |
//
|
|
|
2916 |
this->ContextShipTextSep1->Name = L"ContextShipTextSep1";
|
236 |
cycrow |
2917 |
this->ContextShipTextSep1->Size = System::Drawing::Size(164, 6);
|
1 |
cycrow |
2918 |
//
|
|
|
2919 |
// ContextShipTextEdit
|
|
|
2920 |
//
|
126 |
cycrow |
2921 |
this->ContextShipTextEdit->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"ContextShipTextEdit.Image")));
|
1 |
cycrow |
2922 |
this->ContextShipTextEdit->ImageScaling = System::Windows::Forms::ToolStripItemImageScaling::None;
|
|
|
2923 |
this->ContextShipTextEdit->Name = L"ContextShipTextEdit";
|
236 |
cycrow |
2924 |
this->ContextShipTextEdit->Size = System::Drawing::Size(167, 38);
|
1 |
cycrow |
2925 |
this->ContextShipTextEdit->Text = L"Edit";
|
|
|
2926 |
this->ContextShipTextEdit->Click += gcnew System::EventHandler(this, &PackageForm::ContextShipTextEdit_Click);
|
|
|
2927 |
//
|
|
|
2928 |
// ContextShipTextRemove
|
|
|
2929 |
//
|
126 |
cycrow |
2930 |
this->ContextShipTextRemove->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"ContextShipTextRemove.Image")));
|
1 |
cycrow |
2931 |
this->ContextShipTextRemove->ImageScaling = System::Windows::Forms::ToolStripItemImageScaling::None;
|
|
|
2932 |
this->ContextShipTextRemove->Name = L"ContextShipTextRemove";
|
236 |
cycrow |
2933 |
this->ContextShipTextRemove->Size = System::Drawing::Size(167, 38);
|
1 |
cycrow |
2934 |
this->ContextShipTextRemove->Text = L"Remove";
|
|
|
2935 |
this->ContextShipTextRemove->Click += gcnew System::EventHandler(this, &PackageForm::ContextShipTextRemove_Click);
|
|
|
2936 |
//
|
|
|
2937 |
// ContextShipTextSep2
|
|
|
2938 |
//
|
|
|
2939 |
this->ContextShipTextSep2->Name = L"ContextShipTextSep2";
|
236 |
cycrow |
2940 |
this->ContextShipTextSep2->Size = System::Drawing::Size(164, 6);
|
1 |
cycrow |
2941 |
//
|
|
|
2942 |
// ContextShipTextClear
|
|
|
2943 |
//
|
126 |
cycrow |
2944 |
this->ContextShipTextClear->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"ContextShipTextClear.Image")));
|
1 |
cycrow |
2945 |
this->ContextShipTextClear->ImageScaling = System::Windows::Forms::ToolStripItemImageScaling::None;
|
|
|
2946 |
this->ContextShipTextClear->Name = L"ContextShipTextClear";
|
236 |
cycrow |
2947 |
this->ContextShipTextClear->Size = System::Drawing::Size(167, 38);
|
1 |
cycrow |
2948 |
this->ContextShipTextClear->Text = L"Clear All";
|
|
|
2949 |
this->ContextShipTextClear->Click += gcnew System::EventHandler(this, &PackageForm::ContextShipTextClear_Click);
|
|
|
2950 |
//
|
|
|
2951 |
// PanelTextID
|
|
|
2952 |
//
|
|
|
2953 |
this->PanelTextID->Controls->Add(this->NumTextID);
|
|
|
2954 |
this->PanelTextID->Controls->Add(this->CheckExistingText);
|
|
|
2955 |
this->PanelTextID->Dock = System::Windows::Forms::DockStyle::Top;
|
236 |
cycrow |
2956 |
this->PanelTextID->Location = System::Drawing::Point(8, 90);
|
1 |
cycrow |
2957 |
this->PanelTextID->Name = L"PanelTextID";
|
237 |
cycrow |
2958 |
this->PanelTextID->Size = System::Drawing::Size(732, 20);
|
1 |
cycrow |
2959 |
this->PanelTextID->TabIndex = 9;
|
|
|
2960 |
//
|
|
|
2961 |
// NumTextID
|
|
|
2962 |
//
|
|
|
2963 |
this->NumTextID->Dock = System::Windows::Forms::DockStyle::Left;
|
236 |
cycrow |
2964 |
this->NumTextID->Location = System::Drawing::Point(122, 0);
|
126 |
cycrow |
2965 |
this->NumTextID->Maximum = System::Decimal(gcnew cli::array< System::Int32 >(4) { 90000000, 0, 0, 0 });
|
|
|
2966 |
this->NumTextID->Minimum = System::Decimal(gcnew cli::array< System::Int32 >(4) { 1, 0, 0, 0 });
|
1 |
cycrow |
2967 |
this->NumTextID->Name = L"NumTextID";
|
236 |
cycrow |
2968 |
this->NumTextID->Size = System::Drawing::Size(103, 20);
|
1 |
cycrow |
2969 |
this->NumTextID->TabIndex = 1;
|
126 |
cycrow |
2970 |
this->NumTextID->Value = System::Decimal(gcnew cli::array< System::Int32 >(4) { 1, 0, 0, 0 });
|
1 |
cycrow |
2971 |
this->NumTextID->ValueChanged += gcnew System::EventHandler(this, &PackageForm::NumTextID_ValueChanged);
|
|
|
2972 |
this->NumTextID->Leave += gcnew System::EventHandler(this, &PackageForm::NumTextID_Leave);
|
|
|
2973 |
//
|
|
|
2974 |
// CheckExistingText
|
|
|
2975 |
//
|
|
|
2976 |
this->CheckExistingText->AutoSize = true;
|
|
|
2977 |
this->CheckExistingText->Dock = System::Windows::Forms::DockStyle::Left;
|
|
|
2978 |
this->CheckExistingText->Location = System::Drawing::Point(0, 0);
|
|
|
2979 |
this->CheckExistingText->Name = L"CheckExistingText";
|
236 |
cycrow |
2980 |
this->CheckExistingText->Size = System::Drawing::Size(122, 20);
|
1 |
cycrow |
2981 |
this->CheckExistingText->TabIndex = 3;
|
|
|
2982 |
this->CheckExistingText->Text = L"Use Existing Text ID";
|
|
|
2983 |
this->CheckExistingText->UseVisualStyleBackColor = true;
|
|
|
2984 |
this->CheckExistingText->CheckedChanged += gcnew System::EventHandler(this, &PackageForm::CheckExistingText_CheckedChanged);
|
|
|
2985 |
//
|
|
|
2986 |
// flowLayoutPanel2
|
|
|
2987 |
//
|
|
|
2988 |
this->flowLayoutPanel2->AutoSize = true;
|
|
|
2989 |
this->flowLayoutPanel2->Controls->Add(this->label16);
|
|
|
2990 |
this->flowLayoutPanel2->Controls->Add(this->CheckSYArgon);
|
|
|
2991 |
this->flowLayoutPanel2->Controls->Add(this->CheckSYBoron);
|
|
|
2992 |
this->flowLayoutPanel2->Controls->Add(this->CheckSYParanid);
|
|
|
2993 |
this->flowLayoutPanel2->Controls->Add(this->CheckSYTeladi);
|
|
|
2994 |
this->flowLayoutPanel2->Controls->Add(this->CheckSYSplit);
|
|
|
2995 |
this->flowLayoutPanel2->Controls->Add(this->CheckSYPirate);
|
|
|
2996 |
this->flowLayoutPanel2->Controls->Add(this->CheckSYFriend);
|
|
|
2997 |
this->flowLayoutPanel2->Controls->Add(this->CheckSYXenon);
|
|
|
2998 |
this->flowLayoutPanel2->Controls->Add(this->CheckSYTerran);
|
|
|
2999 |
this->flowLayoutPanel2->Controls->Add(this->CheckSYATF);
|
|
|
3000 |
this->flowLayoutPanel2->Controls->Add(this->CheckSYYaki);
|
|
|
3001 |
this->flowLayoutPanel2->Dock = System::Windows::Forms::DockStyle::Top;
|
236 |
cycrow |
3002 |
this->flowLayoutPanel2->Location = System::Drawing::Point(8, 8);
|
1 |
cycrow |
3003 |
this->flowLayoutPanel2->Name = L"flowLayoutPanel2";
|
237 |
cycrow |
3004 |
this->flowLayoutPanel2->Size = System::Drawing::Size(732, 82);
|
1 |
cycrow |
3005 |
this->flowLayoutPanel2->TabIndex = 7;
|
|
|
3006 |
//
|
|
|
3007 |
// label16
|
|
|
3008 |
//
|
126 |
cycrow |
3009 |
this->label16->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 8.25F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point,
|
1 |
cycrow |
3010 |
static_cast<System::Byte>(0)));
|
236 |
cycrow |
3011 |
this->label16->Location = System::Drawing::Point(3, 0);
|
1 |
cycrow |
3012 |
this->label16->Name = L"label16";
|
236 |
cycrow |
3013 |
this->label16->Size = System::Drawing::Size(90, 38);
|
1 |
cycrow |
3014 |
this->label16->TabIndex = 11;
|
|
|
3015 |
this->label16->Text = L"Add To Shipyards:";
|
|
|
3016 |
this->label16->TextAlign = System::Drawing::ContentAlignment::MiddleLeft;
|
|
|
3017 |
//
|
|
|
3018 |
// CheckSYArgon
|
|
|
3019 |
//
|
126 |
cycrow |
3020 |
this->CheckSYArgon->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 8.25F, System::Drawing::FontStyle::Regular, System::Drawing::GraphicsUnit::Point,
|
1 |
cycrow |
3021 |
static_cast<System::Byte>(0)));
|
126 |
cycrow |
3022 |
this->CheckSYArgon->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"CheckSYArgon.Image")));
|
1 |
cycrow |
3023 |
this->CheckSYArgon->ImageAlign = System::Drawing::ContentAlignment::MiddleLeft;
|
236 |
cycrow |
3024 |
this->CheckSYArgon->Location = System::Drawing::Point(99, 3);
|
1 |
cycrow |
3025 |
this->CheckSYArgon->Name = L"CheckSYArgon";
|
236 |
cycrow |
3026 |
this->CheckSYArgon->Size = System::Drawing::Size(90, 35);
|
1 |
cycrow |
3027 |
this->CheckSYArgon->TabIndex = 0;
|
|
|
3028 |
this->CheckSYArgon->Text = L"Argon";
|
|
|
3029 |
this->CheckSYArgon->TextImageRelation = System::Windows::Forms::TextImageRelation::ImageBeforeText;
|
|
|
3030 |
this->CheckSYArgon->UseVisualStyleBackColor = true;
|
|
|
3031 |
this->CheckSYArgon->CheckedChanged += gcnew System::EventHandler(this, &PackageForm::CheckSYArgon_CheckedChanged);
|
|
|
3032 |
//
|
|
|
3033 |
// CheckSYBoron
|
|
|
3034 |
//
|
126 |
cycrow |
3035 |
this->CheckSYBoron->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"CheckSYBoron.Image")));
|
1 |
cycrow |
3036 |
this->CheckSYBoron->ImageAlign = System::Drawing::ContentAlignment::MiddleLeft;
|
236 |
cycrow |
3037 |
this->CheckSYBoron->Location = System::Drawing::Point(195, 3);
|
1 |
cycrow |
3038 |
this->CheckSYBoron->Name = L"CheckSYBoron";
|
236 |
cycrow |
3039 |
this->CheckSYBoron->Size = System::Drawing::Size(90, 35);
|
1 |
cycrow |
3040 |
this->CheckSYBoron->TabIndex = 1;
|
|
|
3041 |
this->CheckSYBoron->Text = L"Boron";
|
|
|
3042 |
this->CheckSYBoron->TextImageRelation = System::Windows::Forms::TextImageRelation::ImageBeforeText;
|
|
|
3043 |
this->CheckSYBoron->UseVisualStyleBackColor = true;
|
|
|
3044 |
this->CheckSYBoron->CheckedChanged += gcnew System::EventHandler(this, &PackageForm::CheckSYBoron_CheckedChanged);
|
|
|
3045 |
//
|
|
|
3046 |
// CheckSYParanid
|
|
|
3047 |
//
|
126 |
cycrow |
3048 |
this->CheckSYParanid->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"CheckSYParanid.Image")));
|
1 |
cycrow |
3049 |
this->CheckSYParanid->ImageAlign = System::Drawing::ContentAlignment::MiddleLeft;
|
236 |
cycrow |
3050 |
this->CheckSYParanid->Location = System::Drawing::Point(291, 3);
|
1 |
cycrow |
3051 |
this->CheckSYParanid->Name = L"CheckSYParanid";
|
236 |
cycrow |
3052 |
this->CheckSYParanid->Size = System::Drawing::Size(90, 35);
|
1 |
cycrow |
3053 |
this->CheckSYParanid->TabIndex = 2;
|
|
|
3054 |
this->CheckSYParanid->Text = L"Paranid";
|
|
|
3055 |
this->CheckSYParanid->TextImageRelation = System::Windows::Forms::TextImageRelation::ImageBeforeText;
|
|
|
3056 |
this->CheckSYParanid->UseVisualStyleBackColor = true;
|
|
|
3057 |
this->CheckSYParanid->CheckedChanged += gcnew System::EventHandler(this, &PackageForm::CheckSYParanid_CheckedChanged);
|
|
|
3058 |
//
|
|
|
3059 |
// CheckSYTeladi
|
|
|
3060 |
//
|
126 |
cycrow |
3061 |
this->CheckSYTeladi->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"CheckSYTeladi.Image")));
|
1 |
cycrow |
3062 |
this->CheckSYTeladi->ImageAlign = System::Drawing::ContentAlignment::MiddleLeft;
|
236 |
cycrow |
3063 |
this->CheckSYTeladi->Location = System::Drawing::Point(387, 3);
|
1 |
cycrow |
3064 |
this->CheckSYTeladi->Name = L"CheckSYTeladi";
|
236 |
cycrow |
3065 |
this->CheckSYTeladi->Size = System::Drawing::Size(90, 35);
|
1 |
cycrow |
3066 |
this->CheckSYTeladi->TabIndex = 3;
|
|
|
3067 |
this->CheckSYTeladi->Text = L"Teladi";
|
|
|
3068 |
this->CheckSYTeladi->TextImageRelation = System::Windows::Forms::TextImageRelation::ImageBeforeText;
|
|
|
3069 |
this->CheckSYTeladi->UseVisualStyleBackColor = true;
|
|
|
3070 |
this->CheckSYTeladi->CheckedChanged += gcnew System::EventHandler(this, &PackageForm::CheckSYTeladi_CheckedChanged);
|
|
|
3071 |
//
|
|
|
3072 |
// CheckSYSplit
|
|
|
3073 |
//
|
126 |
cycrow |
3074 |
this->CheckSYSplit->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"CheckSYSplit.Image")));
|
1 |
cycrow |
3075 |
this->CheckSYSplit->ImageAlign = System::Drawing::ContentAlignment::MiddleLeft;
|
236 |
cycrow |
3076 |
this->CheckSYSplit->Location = System::Drawing::Point(483, 3);
|
1 |
cycrow |
3077 |
this->CheckSYSplit->Name = L"CheckSYSplit";
|
236 |
cycrow |
3078 |
this->CheckSYSplit->Size = System::Drawing::Size(90, 35);
|
1 |
cycrow |
3079 |
this->CheckSYSplit->TabIndex = 4;
|
|
|
3080 |
this->CheckSYSplit->Text = L"Split";
|
|
|
3081 |
this->CheckSYSplit->TextImageRelation = System::Windows::Forms::TextImageRelation::ImageBeforeText;
|
|
|
3082 |
this->CheckSYSplit->UseVisualStyleBackColor = true;
|
|
|
3083 |
this->CheckSYSplit->CheckedChanged += gcnew System::EventHandler(this, &PackageForm::CheckSYSplit_CheckedChanged);
|
|
|
3084 |
//
|
|
|
3085 |
// CheckSYPirate
|
|
|
3086 |
//
|
126 |
cycrow |
3087 |
this->CheckSYPirate->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"CheckSYPirate.Image")));
|
1 |
cycrow |
3088 |
this->CheckSYPirate->ImageAlign = System::Drawing::ContentAlignment::MiddleLeft;
|
236 |
cycrow |
3089 |
this->CheckSYPirate->Location = System::Drawing::Point(579, 3);
|
1 |
cycrow |
3090 |
this->CheckSYPirate->Name = L"CheckSYPirate";
|
236 |
cycrow |
3091 |
this->CheckSYPirate->Size = System::Drawing::Size(90, 35);
|
1 |
cycrow |
3092 |
this->CheckSYPirate->TabIndex = 5;
|
|
|
3093 |
this->CheckSYPirate->Text = L"Pirate";
|
|
|
3094 |
this->CheckSYPirate->TextImageRelation = System::Windows::Forms::TextImageRelation::ImageBeforeText;
|
|
|
3095 |
this->CheckSYPirate->UseVisualStyleBackColor = true;
|
|
|
3096 |
this->CheckSYPirate->CheckedChanged += gcnew System::EventHandler(this, &PackageForm::CheckSYPirate_CheckedChanged);
|
|
|
3097 |
//
|
|
|
3098 |
// CheckSYFriend
|
|
|
3099 |
//
|
126 |
cycrow |
3100 |
this->CheckSYFriend->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"CheckSYFriend.Image")));
|
1 |
cycrow |
3101 |
this->CheckSYFriend->ImageAlign = System::Drawing::ContentAlignment::MiddleLeft;
|
236 |
cycrow |
3102 |
this->CheckSYFriend->Location = System::Drawing::Point(3, 44);
|
1 |
cycrow |
3103 |
this->CheckSYFriend->Name = L"CheckSYFriend";
|
236 |
cycrow |
3104 |
this->CheckSYFriend->Size = System::Drawing::Size(90, 35);
|
1 |
cycrow |
3105 |
this->CheckSYFriend->TabIndex = 6;
|
|
|
3106 |
this->CheckSYFriend->Text = L"Friendly Race";
|
|
|
3107 |
this->CheckSYFriend->TextImageRelation = System::Windows::Forms::TextImageRelation::ImageBeforeText;
|
|
|
3108 |
this->CheckSYFriend->UseVisualStyleBackColor = true;
|
|
|
3109 |
this->CheckSYFriend->CheckedChanged += gcnew System::EventHandler(this, &PackageForm::CheckSYFriend_CheckedChanged);
|
|
|
3110 |
//
|
|
|
3111 |
// CheckSYXenon
|
|
|
3112 |
//
|
126 |
cycrow |
3113 |
this->CheckSYXenon->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"CheckSYXenon.Image")));
|
1 |
cycrow |
3114 |
this->CheckSYXenon->ImageAlign = System::Drawing::ContentAlignment::MiddleLeft;
|
236 |
cycrow |
3115 |
this->CheckSYXenon->Location = System::Drawing::Point(99, 44);
|
1 |
cycrow |
3116 |
this->CheckSYXenon->Name = L"CheckSYXenon";
|
236 |
cycrow |
3117 |
this->CheckSYXenon->Size = System::Drawing::Size(90, 35);
|
1 |
cycrow |
3118 |
this->CheckSYXenon->TabIndex = 7;
|
|
|
3119 |
this->CheckSYXenon->Text = L"Xenon";
|
|
|
3120 |
this->CheckSYXenon->TextImageRelation = System::Windows::Forms::TextImageRelation::ImageBeforeText;
|
|
|
3121 |
this->CheckSYXenon->UseVisualStyleBackColor = true;
|
|
|
3122 |
this->CheckSYXenon->CheckedChanged += gcnew System::EventHandler(this, &PackageForm::CheckSYXenon_CheckedChanged);
|
|
|
3123 |
//
|
|
|
3124 |
// CheckSYTerran
|
|
|
3125 |
//
|
126 |
cycrow |
3126 |
this->CheckSYTerran->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"CheckSYTerran.Image")));
|
1 |
cycrow |
3127 |
this->CheckSYTerran->ImageAlign = System::Drawing::ContentAlignment::MiddleLeft;
|
236 |
cycrow |
3128 |
this->CheckSYTerran->Location = System::Drawing::Point(195, 44);
|
1 |
cycrow |
3129 |
this->CheckSYTerran->Name = L"CheckSYTerran";
|
236 |
cycrow |
3130 |
this->CheckSYTerran->Size = System::Drawing::Size(90, 35);
|
1 |
cycrow |
3131 |
this->CheckSYTerran->TabIndex = 8;
|
|
|
3132 |
this->CheckSYTerran->Text = L"Terran";
|
|
|
3133 |
this->CheckSYTerran->TextImageRelation = System::Windows::Forms::TextImageRelation::ImageBeforeText;
|
|
|
3134 |
this->CheckSYTerran->UseVisualStyleBackColor = true;
|
|
|
3135 |
this->CheckSYTerran->CheckedChanged += gcnew System::EventHandler(this, &PackageForm::CheckSYTerran_CheckedChanged);
|
|
|
3136 |
//
|
|
|
3137 |
// CheckSYATF
|
|
|
3138 |
//
|
126 |
cycrow |
3139 |
this->CheckSYATF->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"CheckSYATF.Image")));
|
1 |
cycrow |
3140 |
this->CheckSYATF->ImageAlign = System::Drawing::ContentAlignment::MiddleLeft;
|
236 |
cycrow |
3141 |
this->CheckSYATF->Location = System::Drawing::Point(291, 44);
|
1 |
cycrow |
3142 |
this->CheckSYATF->Name = L"CheckSYATF";
|
236 |
cycrow |
3143 |
this->CheckSYATF->Size = System::Drawing::Size(90, 35);
|
1 |
cycrow |
3144 |
this->CheckSYATF->TabIndex = 9;
|
|
|
3145 |
this->CheckSYATF->Text = L"ATF";
|
|
|
3146 |
this->CheckSYATF->TextImageRelation = System::Windows::Forms::TextImageRelation::ImageBeforeText;
|
|
|
3147 |
this->CheckSYATF->UseVisualStyleBackColor = true;
|
|
|
3148 |
this->CheckSYATF->CheckedChanged += gcnew System::EventHandler(this, &PackageForm::CheckSYATF_CheckedChanged);
|
|
|
3149 |
//
|
|
|
3150 |
// CheckSYYaki
|
|
|
3151 |
//
|
126 |
cycrow |
3152 |
this->CheckSYYaki->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"CheckSYYaki.Image")));
|
1 |
cycrow |
3153 |
this->CheckSYYaki->ImageAlign = System::Drawing::ContentAlignment::MiddleLeft;
|
236 |
cycrow |
3154 |
this->CheckSYYaki->Location = System::Drawing::Point(387, 44);
|
1 |
cycrow |
3155 |
this->CheckSYYaki->Name = L"CheckSYYaki";
|
236 |
cycrow |
3156 |
this->CheckSYYaki->Size = System::Drawing::Size(90, 35);
|
1 |
cycrow |
3157 |
this->CheckSYYaki->TabIndex = 10;
|
|
|
3158 |
this->CheckSYYaki->Text = L"Yaki";
|
|
|
3159 |
this->CheckSYYaki->TextImageRelation = System::Windows::Forms::TextImageRelation::ImageBeforeText;
|
|
|
3160 |
this->CheckSYYaki->UseVisualStyleBackColor = true;
|
|
|
3161 |
this->CheckSYYaki->CheckedChanged += gcnew System::EventHandler(this, &PackageForm::CheckSYYaki_CheckedChanged);
|
|
|
3162 |
//
|
|
|
3163 |
// PageRaw
|
|
|
3164 |
//
|
|
|
3165 |
this->PageRaw->Controls->Add(this->panel23);
|
|
|
3166 |
this->PageRaw->Controls->Add(this->flowLayoutPanel3);
|
237 |
cycrow |
3167 |
this->PageRaw->Location = System::Drawing::Point(4, 40);
|
1 |
cycrow |
3168 |
this->PageRaw->Name = L"PageRaw";
|
237 |
cycrow |
3169 |
this->PageRaw->Padding = System::Windows::Forms::Padding(3);
|
|
|
3170 |
this->PageRaw->Size = System::Drawing::Size(748, 198);
|
1 |
cycrow |
3171 |
this->PageRaw->TabIndex = 7;
|
|
|
3172 |
this->PageRaw->Text = L"Ship Data";
|
|
|
3173 |
this->PageRaw->UseVisualStyleBackColor = true;
|
|
|
3174 |
//
|
|
|
3175 |
// panel23
|
|
|
3176 |
//
|
|
|
3177 |
this->panel23->Controls->Add(this->TextShipData);
|
|
|
3178 |
this->panel23->Controls->Add(this->panel24);
|
|
|
3179 |
this->panel23->Dock = System::Windows::Forms::DockStyle::Fill;
|
236 |
cycrow |
3180 |
this->panel23->Location = System::Drawing::Point(3, 42);
|
1 |
cycrow |
3181 |
this->panel23->Name = L"panel23";
|
237 |
cycrow |
3182 |
this->panel23->Padding = System::Windows::Forms::Padding(10);
|
|
|
3183 |
this->panel23->Size = System::Drawing::Size(742, 153);
|
1 |
cycrow |
3184 |
this->panel23->TabIndex = 3;
|
|
|
3185 |
//
|
|
|
3186 |
// TextShipData
|
|
|
3187 |
//
|
|
|
3188 |
this->TextShipData->BackColor = System::Drawing::SystemColors::Control;
|
|
|
3189 |
this->TextShipData->Dock = System::Windows::Forms::DockStyle::Fill;
|
236 |
cycrow |
3190 |
this->TextShipData->Location = System::Drawing::Point(10, 34);
|
1 |
cycrow |
3191 |
this->TextShipData->Name = L"TextShipData";
|
|
|
3192 |
this->TextShipData->ReadOnly = true;
|
237 |
cycrow |
3193 |
this->TextShipData->Size = System::Drawing::Size(722, 109);
|
1 |
cycrow |
3194 |
this->TextShipData->TabIndex = 0;
|
|
|
3195 |
this->TextShipData->Text = L"";
|
|
|
3196 |
this->TextShipData->TextChanged += gcnew System::EventHandler(this, &PackageForm::TextShipData_TextChanged);
|
|
|
3197 |
//
|
|
|
3198 |
// panel24
|
|
|
3199 |
//
|
|
|
3200 |
this->panel24->Controls->Add(this->label17);
|
|
|
3201 |
this->panel24->Controls->Add(this->checkBox1);
|
|
|
3202 |
this->panel24->Dock = System::Windows::Forms::DockStyle::Top;
|
236 |
cycrow |
3203 |
this->panel24->Location = System::Drawing::Point(10, 10);
|
1 |
cycrow |
3204 |
this->panel24->Name = L"panel24";
|
237 |
cycrow |
3205 |
this->panel24->Size = System::Drawing::Size(722, 24);
|
1 |
cycrow |
3206 |
this->panel24->TabIndex = 2;
|
|
|
3207 |
//
|
|
|
3208 |
// label17
|
|
|
3209 |
//
|
|
|
3210 |
this->label17->Dock = System::Windows::Forms::DockStyle::Fill;
|
236 |
cycrow |
3211 |
this->label17->Location = System::Drawing::Point(107, 0);
|
1 |
cycrow |
3212 |
this->label17->Name = L"label17";
|
237 |
cycrow |
3213 |
this->label17->Size = System::Drawing::Size(615, 24);
|
1 |
cycrow |
3214 |
this->label17->TabIndex = 2;
|
|
|
3215 |
this->label17->Text = L"(Warning: Making changes could break the ship if you dont know what your doing)";
|
|
|
3216 |
this->label17->TextAlign = System::Drawing::ContentAlignment::MiddleLeft;
|
|
|
3217 |
//
|
|
|
3218 |
// checkBox1
|
|
|
3219 |
//
|
|
|
3220 |
this->checkBox1->AutoSize = true;
|
|
|
3221 |
this->checkBox1->Dock = System::Windows::Forms::DockStyle::Left;
|
126 |
cycrow |
3222 |
this->checkBox1->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 12, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point,
|
1 |
cycrow |
3223 |
static_cast<System::Byte>(0)));
|
|
|
3224 |
this->checkBox1->Location = System::Drawing::Point(0, 0);
|
|
|
3225 |
this->checkBox1->Name = L"checkBox1";
|
236 |
cycrow |
3226 |
this->checkBox1->Size = System::Drawing::Size(107, 24);
|
1 |
cycrow |
3227 |
this->checkBox1->TabIndex = 1;
|
|
|
3228 |
this->checkBox1->Text = L"Allow Edit";
|
|
|
3229 |
this->checkBox1->UseVisualStyleBackColor = true;
|
|
|
3230 |
this->checkBox1->CheckedChanged += gcnew System::EventHandler(this, &PackageForm::checkBox1_CheckedChanged);
|
|
|
3231 |
//
|
|
|
3232 |
// flowLayoutPanel3
|
|
|
3233 |
//
|
|
|
3234 |
this->flowLayoutPanel3->Controls->Add(this->button3);
|
|
|
3235 |
this->flowLayoutPanel3->Controls->Add(this->button5);
|
|
|
3236 |
this->flowLayoutPanel3->Dock = System::Windows::Forms::DockStyle::Top;
|
236 |
cycrow |
3237 |
this->flowLayoutPanel3->Location = System::Drawing::Point(3, 3);
|
1 |
cycrow |
3238 |
this->flowLayoutPanel3->Name = L"flowLayoutPanel3";
|
237 |
cycrow |
3239 |
this->flowLayoutPanel3->Size = System::Drawing::Size(742, 39);
|
1 |
cycrow |
3240 |
this->flowLayoutPanel3->TabIndex = 4;
|
|
|
3241 |
//
|
|
|
3242 |
// button3
|
|
|
3243 |
//
|
|
|
3244 |
this->button3->AutoSize = true;
|
|
|
3245 |
this->button3->AutoSizeMode = System::Windows::Forms::AutoSizeMode::GrowAndShrink;
|
126 |
cycrow |
3246 |
this->button3->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"button3.Image")));
|
1 |
cycrow |
3247 |
this->button3->ImageAlign = System::Drawing::ContentAlignment::MiddleLeft;
|
236 |
cycrow |
3248 |
this->button3->Location = System::Drawing::Point(3, 3);
|
1 |
cycrow |
3249 |
this->button3->Name = L"button3";
|
236 |
cycrow |
3250 |
this->button3->Size = System::Drawing::Size(113, 28);
|
1 |
cycrow |
3251 |
this->button3->TabIndex = 2;
|
|
|
3252 |
this->button3->Text = L"Load Ship Data";
|
|
|
3253 |
this->button3->TextImageRelation = System::Windows::Forms::TextImageRelation::ImageBeforeText;
|
|
|
3254 |
this->button3->UseVisualStyleBackColor = true;
|
|
|
3255 |
this->button3->Click += gcnew System::EventHandler(this, &PackageForm::button3_Click);
|
|
|
3256 |
//
|
|
|
3257 |
// button5
|
|
|
3258 |
//
|
|
|
3259 |
this->button5->AutoSize = true;
|
|
|
3260 |
this->button5->AutoSizeMode = System::Windows::Forms::AutoSizeMode::GrowAndShrink;
|
126 |
cycrow |
3261 |
this->button5->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"button5.Image")));
|
236 |
cycrow |
3262 |
this->button5->Location = System::Drawing::Point(122, 3);
|
1 |
cycrow |
3263 |
this->button5->Name = L"button5";
|
236 |
cycrow |
3264 |
this->button5->Size = System::Drawing::Size(111, 28);
|
1 |
cycrow |
3265 |
this->button5->TabIndex = 3;
|
|
|
3266 |
this->button5->Text = L"Customise Ship";
|
|
|
3267 |
this->button5->TextImageRelation = System::Windows::Forms::TextImageRelation::ImageBeforeText;
|
|
|
3268 |
this->button5->UseVisualStyleBackColor = true;
|
|
|
3269 |
this->button5->Click += gcnew System::EventHandler(this, &PackageForm::button5_Click);
|
|
|
3270 |
//
|
|
|
3271 |
// PageShipComp
|
|
|
3272 |
//
|
|
|
3273 |
this->PageShipComp->Controls->Add(this->panel26);
|
|
|
3274 |
this->PageShipComp->Controls->Add(this->panel25);
|
237 |
cycrow |
3275 |
this->PageShipComp->Location = System::Drawing::Point(4, 40);
|
1 |
cycrow |
3276 |
this->PageShipComp->Name = L"PageShipComp";
|
237 |
cycrow |
3277 |
this->PageShipComp->Padding = System::Windows::Forms::Padding(3);
|
|
|
3278 |
this->PageShipComp->Size = System::Drawing::Size(748, 198);
|
1 |
cycrow |
3279 |
this->PageShipComp->TabIndex = 8;
|
|
|
3280 |
this->PageShipComp->Text = L"Ship Parts";
|
|
|
3281 |
this->PageShipComp->UseVisualStyleBackColor = true;
|
|
|
3282 |
//
|
|
|
3283 |
// panel26
|
|
|
3284 |
//
|
|
|
3285 |
this->panel26->Controls->Add(this->ListShipPart);
|
|
|
3286 |
this->panel26->Dock = System::Windows::Forms::DockStyle::Fill;
|
236 |
cycrow |
3287 |
this->panel26->Location = System::Drawing::Point(3, 35);
|
1 |
cycrow |
3288 |
this->panel26->Name = L"panel26";
|
237 |
cycrow |
3289 |
this->panel26->Padding = System::Windows::Forms::Padding(10);
|
|
|
3290 |
this->panel26->Size = System::Drawing::Size(742, 160);
|
1 |
cycrow |
3291 |
this->panel26->TabIndex = 4;
|
|
|
3292 |
//
|
|
|
3293 |
// ListShipPart
|
|
|
3294 |
//
|
126 |
cycrow |
3295 |
this->ListShipPart->Columns->AddRange(gcnew cli::array< System::Windows::Forms::ColumnHeader^ >(3) {
|
|
|
3296 |
this->ColumnPart1, this->ColumnPart2,
|
|
|
3297 |
this->ColumnPart3
|
|
|
3298 |
});
|
1 |
cycrow |
3299 |
this->ListShipPart->ContextMenuStrip = this->ContextShipPart;
|
|
|
3300 |
this->ListShipPart->Dock = System::Windows::Forms::DockStyle::Fill;
|
|
|
3301 |
this->ListShipPart->FullRowSelect = true;
|
126 |
cycrow |
3302 |
this->ListShipPart->HideSelection = false;
|
236 |
cycrow |
3303 |
this->ListShipPart->Location = System::Drawing::Point(10, 10);
|
1 |
cycrow |
3304 |
this->ListShipPart->Name = L"ListShipPart";
|
237 |
cycrow |
3305 |
this->ListShipPart->Size = System::Drawing::Size(722, 140);
|
1 |
cycrow |
3306 |
this->ListShipPart->TabIndex = 3;
|
|
|
3307 |
this->ListShipPart->UseCompatibleStateImageBehavior = false;
|
|
|
3308 |
this->ListShipPart->View = System::Windows::Forms::View::Details;
|
|
|
3309 |
this->ListShipPart->MouseDoubleClick += gcnew System::Windows::Forms::MouseEventHandler(this, &PackageForm::ListShipPart_MouseDoubleClick);
|
|
|
3310 |
//
|
|
|
3311 |
// ContextShipPart
|
|
|
3312 |
//
|
126 |
cycrow |
3313 |
this->ContextShipPart->ImageScalingSize = System::Drawing::Size(20, 20);
|
|
|
3314 |
this->ContextShipPart->Items->AddRange(gcnew cli::array< System::Windows::Forms::ToolStripItem^ >(7) {
|
|
|
3315 |
this->importToolStripMenuItem,
|
|
|
3316 |
this->ContextShipPartAdd, this->ContextShipPartSep1, this->ContextShipPartRemove, this->ContextShipPartEdit, this->ContextShipPartSep2,
|
|
|
3317 |
this->ContextShipPartClear
|
|
|
3318 |
});
|
1 |
cycrow |
3319 |
this->ContextShipPart->Name = L"ContextShipPart";
|
236 |
cycrow |
3320 |
this->ContextShipPart->Size = System::Drawing::Size(181, 206);
|
1 |
cycrow |
3321 |
this->ContextShipPart->Opening += gcnew System::ComponentModel::CancelEventHandler(this, &PackageForm::ContextShipPart_Opening);
|
|
|
3322 |
//
|
|
|
3323 |
// importToolStripMenuItem
|
|
|
3324 |
//
|
126 |
cycrow |
3325 |
this->importToolStripMenuItem->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"importToolStripMenuItem.Image")));
|
1 |
cycrow |
3326 |
this->importToolStripMenuItem->ImageScaling = System::Windows::Forms::ToolStripItemImageScaling::None;
|
|
|
3327 |
this->importToolStripMenuItem->Name = L"importToolStripMenuItem";
|
236 |
cycrow |
3328 |
this->importToolStripMenuItem->Size = System::Drawing::Size(180, 38);
|
1 |
cycrow |
3329 |
this->importToolStripMenuItem->Text = L"Import";
|
|
|
3330 |
this->importToolStripMenuItem->Click += gcnew System::EventHandler(this, &PackageForm::importToolStripMenuItem_Click);
|
|
|
3331 |
//
|
|
|
3332 |
// ContextShipPartAdd
|
|
|
3333 |
//
|
126 |
cycrow |
3334 |
this->ContextShipPartAdd->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"ContextShipPartAdd.Image")));
|
1 |
cycrow |
3335 |
this->ContextShipPartAdd->ImageScaling = System::Windows::Forms::ToolStripItemImageScaling::None;
|
|
|
3336 |
this->ContextShipPartAdd->Name = L"ContextShipPartAdd";
|
236 |
cycrow |
3337 |
this->ContextShipPartAdd->Size = System::Drawing::Size(180, 38);
|
1 |
cycrow |
3338 |
this->ContextShipPartAdd->Text = L"Add";
|
|
|
3339 |
this->ContextShipPartAdd->Click += gcnew System::EventHandler(this, &PackageForm::ContextShipPartAdd_Click);
|
|
|
3340 |
//
|
|
|
3341 |
// ContextShipPartSep1
|
|
|
3342 |
//
|
|
|
3343 |
this->ContextShipPartSep1->Name = L"ContextShipPartSep1";
|
236 |
cycrow |
3344 |
this->ContextShipPartSep1->Size = System::Drawing::Size(177, 6);
|
1 |
cycrow |
3345 |
//
|
|
|
3346 |
// ContextShipPartRemove
|
|
|
3347 |
//
|
126 |
cycrow |
3348 |
this->ContextShipPartRemove->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"ContextShipPartRemove.Image")));
|
1 |
cycrow |
3349 |
this->ContextShipPartRemove->ImageScaling = System::Windows::Forms::ToolStripItemImageScaling::None;
|
|
|
3350 |
this->ContextShipPartRemove->Name = L"ContextShipPartRemove";
|
236 |
cycrow |
3351 |
this->ContextShipPartRemove->Size = System::Drawing::Size(180, 38);
|
1 |
cycrow |
3352 |
this->ContextShipPartRemove->Text = L"Remove Selected";
|
|
|
3353 |
this->ContextShipPartRemove->Click += gcnew System::EventHandler(this, &PackageForm::ContextShipPartRemove_Click);
|
|
|
3354 |
//
|
|
|
3355 |
// ContextShipPartEdit
|
|
|
3356 |
//
|
126 |
cycrow |
3357 |
this->ContextShipPartEdit->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"ContextShipPartEdit.Image")));
|
1 |
cycrow |
3358 |
this->ContextShipPartEdit->ImageScaling = System::Windows::Forms::ToolStripItemImageScaling::None;
|
|
|
3359 |
this->ContextShipPartEdit->Name = L"ContextShipPartEdit";
|
236 |
cycrow |
3360 |
this->ContextShipPartEdit->Size = System::Drawing::Size(180, 38);
|
1 |
cycrow |
3361 |
this->ContextShipPartEdit->Text = L"Edit Selected";
|
|
|
3362 |
this->ContextShipPartEdit->Click += gcnew System::EventHandler(this, &PackageForm::ContextShipPartEdit_Click);
|
|
|
3363 |
//
|
|
|
3364 |
// ContextShipPartSep2
|
|
|
3365 |
//
|
|
|
3366 |
this->ContextShipPartSep2->Name = L"ContextShipPartSep2";
|
236 |
cycrow |
3367 |
this->ContextShipPartSep2->Size = System::Drawing::Size(177, 6);
|
1 |
cycrow |
3368 |
//
|
|
|
3369 |
// ContextShipPartClear
|
|
|
3370 |
//
|
126 |
cycrow |
3371 |
this->ContextShipPartClear->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"ContextShipPartClear.Image")));
|
1 |
cycrow |
3372 |
this->ContextShipPartClear->ImageScaling = System::Windows::Forms::ToolStripItemImageScaling::None;
|
|
|
3373 |
this->ContextShipPartClear->Name = L"ContextShipPartClear";
|
236 |
cycrow |
3374 |
this->ContextShipPartClear->Size = System::Drawing::Size(180, 38);
|
1 |
cycrow |
3375 |
this->ContextShipPartClear->Text = L"Clear All";
|
|
|
3376 |
this->ContextShipPartClear->Click += gcnew System::EventHandler(this, &PackageForm::ContextShipPartClear_Click);
|
|
|
3377 |
//
|
|
|
3378 |
// panel25
|
|
|
3379 |
//
|
|
|
3380 |
this->panel25->Controls->Add(this->ComboShipPart);
|
|
|
3381 |
this->panel25->Controls->Add(this->label18);
|
|
|
3382 |
this->panel25->Dock = System::Windows::Forms::DockStyle::Top;
|
236 |
cycrow |
3383 |
this->panel25->Location = System::Drawing::Point(3, 3);
|
1 |
cycrow |
3384 |
this->panel25->Name = L"panel25";
|
237 |
cycrow |
3385 |
this->panel25->Padding = System::Windows::Forms::Padding(5);
|
|
|
3386 |
this->panel25->Size = System::Drawing::Size(742, 32);
|
1 |
cycrow |
3387 |
this->panel25->TabIndex = 2;
|
|
|
3388 |
//
|
|
|
3389 |
// ComboShipPart
|
|
|
3390 |
//
|
|
|
3391 |
this->ComboShipPart->Dock = System::Windows::Forms::DockStyle::Fill;
|
|
|
3392 |
this->ComboShipPart->DropDownStyle = System::Windows::Forms::ComboBoxStyle::DropDownList;
|
|
|
3393 |
this->ComboShipPart->FormattingEnabled = true;
|
126 |
cycrow |
3394 |
this->ComboShipPart->Items->AddRange(gcnew cli::array< System::Object^ >(6) {
|
|
|
3395 |
L"Componants", L"Dummies", L"Cockpits", L"CutData",
|
|
|
3396 |
L"Bodies", L"Animations"
|
|
|
3397 |
});
|
236 |
cycrow |
3398 |
this->ComboShipPart->Location = System::Drawing::Point(105, 5);
|
1 |
cycrow |
3399 |
this->ComboShipPart->Name = L"ComboShipPart";
|
237 |
cycrow |
3400 |
this->ComboShipPart->Size = System::Drawing::Size(632, 21);
|
1 |
cycrow |
3401 |
this->ComboShipPart->TabIndex = 0;
|
|
|
3402 |
this->ComboShipPart->SelectedIndexChanged += gcnew System::EventHandler(this, &PackageForm::ComboShipPart_SelectedIndexChanged);
|
|
|
3403 |
//
|
|
|
3404 |
// label18
|
|
|
3405 |
//
|
|
|
3406 |
this->label18->Dock = System::Windows::Forms::DockStyle::Left;
|
126 |
cycrow |
3407 |
this->label18->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 9.75F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point,
|
1 |
cycrow |
3408 |
static_cast<System::Byte>(0)));
|
236 |
cycrow |
3409 |
this->label18->Location = System::Drawing::Point(5, 5);
|
1 |
cycrow |
3410 |
this->label18->Name = L"label18";
|
236 |
cycrow |
3411 |
this->label18->Size = System::Drawing::Size(100, 22);
|
1 |
cycrow |
3412 |
this->label18->TabIndex = 1;
|
|
|
3413 |
this->label18->Text = L"Part Type";
|
|
|
3414 |
this->label18->TextAlign = System::Drawing::ContentAlignment::MiddleLeft;
|
|
|
3415 |
//
|
237 |
cycrow |
3416 |
// tabGlobals
|
|
|
3417 |
//
|
|
|
3418 |
this->tabGlobals->Controls->Add(this->butGlobalClear);
|
|
|
3419 |
this->tabGlobals->Controls->Add(this->butAddGlobal);
|
|
|
3420 |
this->tabGlobals->Controls->Add(this->listGlobals);
|
|
|
3421 |
this->tabGlobals->Location = System::Drawing::Point(4, 40);
|
|
|
3422 |
this->tabGlobals->Name = L"tabGlobals";
|
|
|
3423 |
this->tabGlobals->Padding = System::Windows::Forms::Padding(3);
|
|
|
3424 |
this->tabGlobals->Size = System::Drawing::Size(748, 198);
|
|
|
3425 |
this->tabGlobals->TabIndex = 11;
|
|
|
3426 |
this->tabGlobals->Text = L"Globals";
|
|
|
3427 |
this->tabGlobals->UseVisualStyleBackColor = true;
|
|
|
3428 |
//
|
|
|
3429 |
// butGlobalClear
|
|
|
3430 |
//
|
238 |
cycrow |
3431 |
this->butGlobalClear->Dock = System::Windows::Forms::DockStyle::Right;
|
237 |
cycrow |
3432 |
this->butGlobalClear->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"butGlobalClear.Image")));
|
238 |
cycrow |
3433 |
this->butGlobalClear->Location = System::Drawing::Point(624, 156);
|
237 |
cycrow |
3434 |
this->butGlobalClear->Name = L"butGlobalClear";
|
238 |
cycrow |
3435 |
this->butGlobalClear->Size = System::Drawing::Size(121, 39);
|
237 |
cycrow |
3436 |
this->butGlobalClear->TabIndex = 2;
|
|
|
3437 |
this->butGlobalClear->Text = L"Clear All";
|
|
|
3438 |
this->butGlobalClear->TextImageRelation = System::Windows::Forms::TextImageRelation::ImageBeforeText;
|
|
|
3439 |
this->butGlobalClear->UseVisualStyleBackColor = true;
|
|
|
3440 |
this->butGlobalClear->Click += gcnew System::EventHandler(this, &PackageForm::butGlobalClear_Click);
|
|
|
3441 |
//
|
|
|
3442 |
// butAddGlobal
|
|
|
3443 |
//
|
238 |
cycrow |
3444 |
this->butAddGlobal->Dock = System::Windows::Forms::DockStyle::Left;
|
237 |
cycrow |
3445 |
this->butAddGlobal->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"butAddGlobal.Image")));
|
238 |
cycrow |
3446 |
this->butAddGlobal->Location = System::Drawing::Point(3, 156);
|
237 |
cycrow |
3447 |
this->butAddGlobal->Name = L"butAddGlobal";
|
238 |
cycrow |
3448 |
this->butAddGlobal->Size = System::Drawing::Size(121, 39);
|
237 |
cycrow |
3449 |
this->butAddGlobal->TabIndex = 1;
|
|
|
3450 |
this->butAddGlobal->Text = L"Add New";
|
|
|
3451 |
this->butAddGlobal->TextImageRelation = System::Windows::Forms::TextImageRelation::ImageBeforeText;
|
|
|
3452 |
this->butAddGlobal->UseVisualStyleBackColor = true;
|
|
|
3453 |
this->butAddGlobal->Click += gcnew System::EventHandler(this, &PackageForm::butAddGlobal_Click);
|
|
|
3454 |
//
|
|
|
3455 |
// listGlobals
|
|
|
3456 |
//
|
|
|
3457 |
this->listGlobals->Columns->AddRange(gcnew cli::array< System::Windows::Forms::ColumnHeader^ >(2) {
|
|
|
3458 |
this->ColGlobalName,
|
|
|
3459 |
this->ColGlobalValue
|
|
|
3460 |
});
|
|
|
3461 |
this->listGlobals->ContextMenuStrip = this->contextGlobal;
|
238 |
cycrow |
3462 |
this->listGlobals->Dock = System::Windows::Forms::DockStyle::Top;
|
|
|
3463 |
this->listGlobals->FullRowSelect = true;
|
237 |
cycrow |
3464 |
this->listGlobals->HideSelection = false;
|
238 |
cycrow |
3465 |
this->listGlobals->Location = System::Drawing::Point(3, 3);
|
|
|
3466 |
this->listGlobals->Margin = System::Windows::Forms::Padding(10);
|
|
|
3467 |
this->listGlobals->MultiSelect = false;
|
237 |
cycrow |
3468 |
this->listGlobals->Name = L"listGlobals";
|
238 |
cycrow |
3469 |
this->listGlobals->Size = System::Drawing::Size(742, 153);
|
237 |
cycrow |
3470 |
this->listGlobals->TabIndex = 0;
|
|
|
3471 |
this->listGlobals->UseCompatibleStateImageBehavior = false;
|
|
|
3472 |
this->listGlobals->View = System::Windows::Forms::View::Details;
|
|
|
3473 |
//
|
|
|
3474 |
// ColGlobalName
|
|
|
3475 |
//
|
|
|
3476 |
this->ColGlobalName->Text = L"Global";
|
|
|
3477 |
//
|
|
|
3478 |
// ColGlobalValue
|
|
|
3479 |
//
|
|
|
3480 |
this->ColGlobalValue->Text = L"Value";
|
|
|
3481 |
//
|
|
|
3482 |
// contextGlobal
|
|
|
3483 |
//
|
|
|
3484 |
this->contextGlobal->ImageScalingSize = System::Drawing::Size(20, 20);
|
|
|
3485 |
this->contextGlobal->Items->AddRange(gcnew cli::array< System::Windows::Forms::ToolStripItem^ >(6) {
|
|
|
3486 |
this->addNewToolStripMenuItem,
|
|
|
3487 |
this->toolStripSeparator6, this->editSelectedToolStripMenuItem1, this->removeSelectedToolStripMenuItem, this->toolStripSeparator7,
|
|
|
3488 |
this->clearAllToolStripMenuItem2
|
|
|
3489 |
});
|
|
|
3490 |
this->contextGlobal->Name = L"contextGlobal";
|
238 |
cycrow |
3491 |
this->contextGlobal->Size = System::Drawing::Size(185, 142);
|
|
|
3492 |
this->contextGlobal->Opening += gcnew System::ComponentModel::CancelEventHandler(this, &PackageForm::contextGlobal_Opening);
|
237 |
cycrow |
3493 |
//
|
|
|
3494 |
// addNewToolStripMenuItem
|
|
|
3495 |
//
|
|
|
3496 |
this->addNewToolStripMenuItem->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"addNewToolStripMenuItem.Image")));
|
|
|
3497 |
this->addNewToolStripMenuItem->Name = L"addNewToolStripMenuItem";
|
238 |
cycrow |
3498 |
this->addNewToolStripMenuItem->Size = System::Drawing::Size(184, 26);
|
237 |
cycrow |
3499 |
this->addNewToolStripMenuItem->Text = L"Add New";
|
238 |
cycrow |
3500 |
this->addNewToolStripMenuItem->Click += gcnew System::EventHandler(this, &PackageForm::addNewToolStripMenuItem_Click);
|
237 |
cycrow |
3501 |
//
|
|
|
3502 |
// toolStripSeparator6
|
|
|
3503 |
//
|
|
|
3504 |
this->toolStripSeparator6->Name = L"toolStripSeparator6";
|
238 |
cycrow |
3505 |
this->toolStripSeparator6->Size = System::Drawing::Size(181, 6);
|
237 |
cycrow |
3506 |
//
|
|
|
3507 |
// editSelectedToolStripMenuItem1
|
|
|
3508 |
//
|
|
|
3509 |
this->editSelectedToolStripMenuItem1->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"editSelectedToolStripMenuItem1.Image")));
|
|
|
3510 |
this->editSelectedToolStripMenuItem1->Name = L"editSelectedToolStripMenuItem1";
|
238 |
cycrow |
3511 |
this->editSelectedToolStripMenuItem1->Size = System::Drawing::Size(184, 26);
|
237 |
cycrow |
3512 |
this->editSelectedToolStripMenuItem1->Text = L"Edit Selected";
|
238 |
cycrow |
3513 |
this->editSelectedToolStripMenuItem1->Click += gcnew System::EventHandler(this, &PackageForm::editSelectedToolStripMenuItem1_Click);
|
237 |
cycrow |
3514 |
//
|
|
|
3515 |
// removeSelectedToolStripMenuItem
|
|
|
3516 |
//
|
|
|
3517 |
this->removeSelectedToolStripMenuItem->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"removeSelectedToolStripMenuItem.Image")));
|
|
|
3518 |
this->removeSelectedToolStripMenuItem->Name = L"removeSelectedToolStripMenuItem";
|
238 |
cycrow |
3519 |
this->removeSelectedToolStripMenuItem->Size = System::Drawing::Size(184, 26);
|
237 |
cycrow |
3520 |
this->removeSelectedToolStripMenuItem->Text = L"Remove Selected";
|
238 |
cycrow |
3521 |
this->removeSelectedToolStripMenuItem->Click += gcnew System::EventHandler(this, &PackageForm::removeSelectedToolStripMenuItem_Click);
|
237 |
cycrow |
3522 |
//
|
|
|
3523 |
// toolStripSeparator7
|
|
|
3524 |
//
|
|
|
3525 |
this->toolStripSeparator7->Name = L"toolStripSeparator7";
|
238 |
cycrow |
3526 |
this->toolStripSeparator7->Size = System::Drawing::Size(181, 6);
|
237 |
cycrow |
3527 |
//
|
|
|
3528 |
// clearAllToolStripMenuItem2
|
|
|
3529 |
//
|
|
|
3530 |
this->clearAllToolStripMenuItem2->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"clearAllToolStripMenuItem2.Image")));
|
|
|
3531 |
this->clearAllToolStripMenuItem2->Name = L"clearAllToolStripMenuItem2";
|
238 |
cycrow |
3532 |
this->clearAllToolStripMenuItem2->Size = System::Drawing::Size(184, 26);
|
237 |
cycrow |
3533 |
this->clearAllToolStripMenuItem2->Text = L"Clear All";
|
238 |
cycrow |
3534 |
this->clearAllToolStripMenuItem2->Click += gcnew System::EventHandler(this, &PackageForm::clearAllToolStripMenuItem2_Click);
|
237 |
cycrow |
3535 |
//
|
1 |
cycrow |
3536 |
// CheckShipID
|
|
|
3537 |
//
|
|
|
3538 |
this->CheckShipID->AutoSize = true;
|
|
|
3539 |
this->CheckShipID->Dock = System::Windows::Forms::DockStyle::Left;
|
236 |
cycrow |
3540 |
this->CheckShipID->Location = System::Drawing::Point(157, 0);
|
1 |
cycrow |
3541 |
this->CheckShipID->Name = L"CheckShipID";
|
236 |
cycrow |
3542 |
this->CheckShipID->Size = System::Drawing::Size(129, 20);
|
1 |
cycrow |
3543 |
this->CheckShipID->TabIndex = 2;
|
|
|
3544 |
this->CheckShipID->Text = L"Replace Existing Ship";
|
|
|
3545 |
this->CheckShipID->UseVisualStyleBackColor = true;
|
|
|
3546 |
this->CheckShipID->CheckedChanged += gcnew System::EventHandler(this, &PackageForm::CheckShipID_CheckedChanged);
|
|
|
3547 |
//
|
|
|
3548 |
// panel1
|
|
|
3549 |
//
|
|
|
3550 |
this->panel1->Controls->Add(this->TextName);
|
|
|
3551 |
this->panel1->Controls->Add(this->label1);
|
|
|
3552 |
this->panel1->Dock = System::Windows::Forms::DockStyle::Top;
|
236 |
cycrow |
3553 |
this->panel1->Location = System::Drawing::Point(5, 36);
|
1 |
cycrow |
3554 |
this->panel1->Name = L"panel1";
|
236 |
cycrow |
3555 |
this->panel1->Size = System::Drawing::Size(756, 17);
|
1 |
cycrow |
3556 |
this->panel1->TabIndex = 2;
|
|
|
3557 |
//
|
|
|
3558 |
// TextName
|
|
|
3559 |
//
|
|
|
3560 |
this->TextName->Dock = System::Windows::Forms::DockStyle::Fill;
|
236 |
cycrow |
3561 |
this->TextName->Location = System::Drawing::Point(157, 0);
|
1 |
cycrow |
3562 |
this->TextName->Name = L"TextName";
|
236 |
cycrow |
3563 |
this->TextName->Size = System::Drawing::Size(599, 20);
|
1 |
cycrow |
3564 |
this->TextName->TabIndex = 1;
|
|
|
3565 |
this->TextName->TextChanged += gcnew System::EventHandler(this, &PackageForm::TextName_TextChanged);
|
|
|
3566 |
//
|
|
|
3567 |
// label1
|
|
|
3568 |
//
|
|
|
3569 |
this->label1->Dock = System::Windows::Forms::DockStyle::Left;
|
126 |
cycrow |
3570 |
this->label1->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 9.75F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point,
|
1 |
cycrow |
3571 |
static_cast<System::Byte>(0)));
|
|
|
3572 |
this->label1->Location = System::Drawing::Point(0, 0);
|
|
|
3573 |
this->label1->Name = L"label1";
|
236 |
cycrow |
3574 |
this->label1->Size = System::Drawing::Size(157, 17);
|
1 |
cycrow |
3575 |
this->label1->TabIndex = 0;
|
|
|
3576 |
this->label1->Text = L"Package Name";
|
|
|
3577 |
this->label1->TextAlign = System::Drawing::ContentAlignment::MiddleLeft;
|
|
|
3578 |
//
|
|
|
3579 |
// panel2
|
|
|
3580 |
//
|
|
|
3581 |
this->panel2->Controls->Add(this->TextAuthor);
|
|
|
3582 |
this->panel2->Controls->Add(this->label2);
|
|
|
3583 |
this->panel2->Dock = System::Windows::Forms::DockStyle::Top;
|
236 |
cycrow |
3584 |
this->panel2->Location = System::Drawing::Point(5, 53);
|
1 |
cycrow |
3585 |
this->panel2->Name = L"panel2";
|
236 |
cycrow |
3586 |
this->panel2->Size = System::Drawing::Size(756, 20);
|
1 |
cycrow |
3587 |
this->panel2->TabIndex = 3;
|
|
|
3588 |
//
|
|
|
3589 |
// TextAuthor
|
|
|
3590 |
//
|
|
|
3591 |
this->TextAuthor->Dock = System::Windows::Forms::DockStyle::Fill;
|
236 |
cycrow |
3592 |
this->TextAuthor->Location = System::Drawing::Point(157, 0);
|
1 |
cycrow |
3593 |
this->TextAuthor->Name = L"TextAuthor";
|
236 |
cycrow |
3594 |
this->TextAuthor->Size = System::Drawing::Size(599, 20);
|
1 |
cycrow |
3595 |
this->TextAuthor->TabIndex = 1;
|
|
|
3596 |
this->TextAuthor->TextChanged += gcnew System::EventHandler(this, &PackageForm::TextAuthor_TextChanged);
|
|
|
3597 |
//
|
|
|
3598 |
// label2
|
|
|
3599 |
//
|
|
|
3600 |
this->label2->Dock = System::Windows::Forms::DockStyle::Left;
|
126 |
cycrow |
3601 |
this->label2->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 9.75F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point,
|
1 |
cycrow |
3602 |
static_cast<System::Byte>(0)));
|
|
|
3603 |
this->label2->Location = System::Drawing::Point(0, 0);
|
|
|
3604 |
this->label2->Name = L"label2";
|
236 |
cycrow |
3605 |
this->label2->Size = System::Drawing::Size(157, 20);
|
1 |
cycrow |
3606 |
this->label2->TabIndex = 0;
|
|
|
3607 |
this->label2->Text = L"Author";
|
|
|
3608 |
this->label2->TextAlign = System::Drawing::ContentAlignment::MiddleLeft;
|
|
|
3609 |
//
|
|
|
3610 |
// panel3
|
|
|
3611 |
//
|
|
|
3612 |
this->panel3->Controls->Add(this->TextVersion);
|
|
|
3613 |
this->panel3->Controls->Add(this->label3);
|
|
|
3614 |
this->panel3->Dock = System::Windows::Forms::DockStyle::Top;
|
236 |
cycrow |
3615 |
this->panel3->Location = System::Drawing::Point(5, 73);
|
1 |
cycrow |
3616 |
this->panel3->Name = L"panel3";
|
236 |
cycrow |
3617 |
this->panel3->Size = System::Drawing::Size(756, 20);
|
1 |
cycrow |
3618 |
this->panel3->TabIndex = 4;
|
|
|
3619 |
//
|
|
|
3620 |
// TextVersion
|
|
|
3621 |
//
|
|
|
3622 |
this->TextVersion->Dock = System::Windows::Forms::DockStyle::Fill;
|
236 |
cycrow |
3623 |
this->TextVersion->Location = System::Drawing::Point(157, 0);
|
1 |
cycrow |
3624 |
this->TextVersion->Name = L"TextVersion";
|
236 |
cycrow |
3625 |
this->TextVersion->Size = System::Drawing::Size(599, 20);
|
1 |
cycrow |
3626 |
this->TextVersion->TabIndex = 1;
|
|
|
3627 |
this->TextVersion->TextChanged += gcnew System::EventHandler(this, &PackageForm::TextVersion_TextChanged);
|
|
|
3628 |
//
|
|
|
3629 |
// label3
|
|
|
3630 |
//
|
|
|
3631 |
this->label3->Dock = System::Windows::Forms::DockStyle::Left;
|
126 |
cycrow |
3632 |
this->label3->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 9.75F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point,
|
1 |
cycrow |
3633 |
static_cast<System::Byte>(0)));
|
|
|
3634 |
this->label3->Location = System::Drawing::Point(0, 0);
|
|
|
3635 |
this->label3->Name = L"label3";
|
236 |
cycrow |
3636 |
this->label3->Size = System::Drawing::Size(157, 20);
|
1 |
cycrow |
3637 |
this->label3->TabIndex = 0;
|
|
|
3638 |
this->label3->Text = L"Version";
|
|
|
3639 |
this->label3->TextAlign = System::Drawing::ContentAlignment::MiddleLeft;
|
|
|
3640 |
//
|
|
|
3641 |
// panel4
|
|
|
3642 |
//
|
|
|
3643 |
this->panel4->Controls->Add(this->CreationDate);
|
|
|
3644 |
this->panel4->Controls->Add(this->label4);
|
|
|
3645 |
this->panel4->Dock = System::Windows::Forms::DockStyle::Top;
|
236 |
cycrow |
3646 |
this->panel4->Location = System::Drawing::Point(5, 93);
|
1 |
cycrow |
3647 |
this->panel4->Name = L"panel4";
|
236 |
cycrow |
3648 |
this->panel4->Size = System::Drawing::Size(756, 20);
|
1 |
cycrow |
3649 |
this->panel4->TabIndex = 5;
|
|
|
3650 |
//
|
|
|
3651 |
// CreationDate
|
|
|
3652 |
//
|
|
|
3653 |
this->CreationDate->Dock = System::Windows::Forms::DockStyle::Fill;
|
236 |
cycrow |
3654 |
this->CreationDate->Location = System::Drawing::Point(157, 0);
|
1 |
cycrow |
3655 |
this->CreationDate->Name = L"CreationDate";
|
|
|
3656 |
this->CreationDate->RightToLeft = System::Windows::Forms::RightToLeft::No;
|
236 |
cycrow |
3657 |
this->CreationDate->Size = System::Drawing::Size(599, 20);
|
1 |
cycrow |
3658 |
this->CreationDate->TabIndex = 2;
|
|
|
3659 |
this->CreationDate->Value = System::DateTime(2009, 12, 8, 19, 52, 0, 0);
|
|
|
3660 |
this->CreationDate->ValueChanged += gcnew System::EventHandler(this, &PackageForm::CreationDate_ValueChanged);
|
|
|
3661 |
//
|
|
|
3662 |
// label4
|
|
|
3663 |
//
|
|
|
3664 |
this->label4->Dock = System::Windows::Forms::DockStyle::Left;
|
126 |
cycrow |
3665 |
this->label4->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 9.75F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point,
|
1 |
cycrow |
3666 |
static_cast<System::Byte>(0)));
|
|
|
3667 |
this->label4->Location = System::Drawing::Point(0, 0);
|
|
|
3668 |
this->label4->Name = L"label4";
|
236 |
cycrow |
3669 |
this->label4->Size = System::Drawing::Size(157, 20);
|
1 |
cycrow |
3670 |
this->label4->TabIndex = 0;
|
|
|
3671 |
this->label4->Text = L"Creation Date";
|
|
|
3672 |
this->label4->TextAlign = System::Drawing::ContentAlignment::MiddleLeft;
|
|
|
3673 |
//
|
|
|
3674 |
// label6
|
|
|
3675 |
//
|
|
|
3676 |
this->label6->Dock = System::Windows::Forms::DockStyle::Left;
|
126 |
cycrow |
3677 |
this->label6->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 9.75F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point,
|
1 |
cycrow |
3678 |
static_cast<System::Byte>(0)));
|
|
|
3679 |
this->label6->Location = System::Drawing::Point(0, 0);
|
|
|
3680 |
this->label6->Name = L"label6";
|
236 |
cycrow |
3681 |
this->label6->Size = System::Drawing::Size(157, 20);
|
1 |
cycrow |
3682 |
this->label6->TabIndex = 1;
|
|
|
3683 |
this->label6->Text = L"Ship ID";
|
|
|
3684 |
this->label6->TextAlign = System::Drawing::ContentAlignment::MiddleLeft;
|
|
|
3685 |
//
|
|
|
3686 |
// PanelShip
|
|
|
3687 |
//
|
|
|
3688 |
this->PanelShip->Controls->Add(this->TextShipID);
|
|
|
3689 |
this->PanelShip->Controls->Add(this->CheckShipID);
|
|
|
3690 |
this->PanelShip->Controls->Add(this->label6);
|
|
|
3691 |
this->PanelShip->Dock = System::Windows::Forms::DockStyle::Top;
|
236 |
cycrow |
3692 |
this->PanelShip->Location = System::Drawing::Point(5, 113);
|
1 |
cycrow |
3693 |
this->PanelShip->Name = L"PanelShip";
|
236 |
cycrow |
3694 |
this->PanelShip->Size = System::Drawing::Size(756, 20);
|
1 |
cycrow |
3695 |
this->PanelShip->TabIndex = 6;
|
|
|
3696 |
//
|
|
|
3697 |
// TextShipID
|
|
|
3698 |
//
|
|
|
3699 |
this->TextShipID->Dock = System::Windows::Forms::DockStyle::Fill;
|
236 |
cycrow |
3700 |
this->TextShipID->Location = System::Drawing::Point(286, 0);
|
1 |
cycrow |
3701 |
this->TextShipID->Name = L"TextShipID";
|
236 |
cycrow |
3702 |
this->TextShipID->Size = System::Drawing::Size(470, 20);
|
1 |
cycrow |
3703 |
this->TextShipID->TabIndex = 2;
|
|
|
3704 |
this->TextShipID->TextChanged += gcnew System::EventHandler(this, &PackageForm::TextShipID_TextChanged);
|
|
|
3705 |
//
|
|
|
3706 |
// toolStrip1
|
|
|
3707 |
//
|
|
|
3708 |
this->toolStrip1->GripStyle = System::Windows::Forms::ToolStripGripStyle::Hidden;
|
|
|
3709 |
this->toolStrip1->ImageScalingSize = System::Drawing::Size(24, 24);
|
126 |
cycrow |
3710 |
this->toolStrip1->Items->AddRange(gcnew cli::array< System::Windows::Forms::ToolStripItem^ >(8) {
|
|
|
3711 |
this->toolStripButton2,
|
|
|
3712 |
this->toolStripButton3, this->toolStripButton5, this->toolStripSeparator3, this->toolStripButton1, this->toolStripButton4, this->toolStripSeparator4,
|
|
|
3713 |
this->ToolCustomise
|
|
|
3714 |
});
|
236 |
cycrow |
3715 |
this->toolStrip1->Location = System::Drawing::Point(5, 5);
|
1 |
cycrow |
3716 |
this->toolStrip1->Name = L"toolStrip1";
|
236 |
cycrow |
3717 |
this->toolStrip1->Size = System::Drawing::Size(756, 31);
|
1 |
cycrow |
3718 |
this->toolStrip1->Stretch = true;
|
|
|
3719 |
this->toolStrip1->TabIndex = 7;
|
|
|
3720 |
this->toolStrip1->Text = L"toolStrip1";
|
|
|
3721 |
//
|
|
|
3722 |
// toolStripButton2
|
|
|
3723 |
//
|
126 |
cycrow |
3724 |
this->toolStripButton2->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"toolStripButton2.Image")));
|
1 |
cycrow |
3725 |
this->toolStripButton2->ImageTransparentColor = System::Drawing::Color::Magenta;
|
|
|
3726 |
this->toolStripButton2->Name = L"toolStripButton2";
|
236 |
cycrow |
3727 |
this->toolStripButton2->Size = System::Drawing::Size(59, 28);
|
1 |
cycrow |
3728 |
this->toolStripButton2->Text = L"Save";
|
|
|
3729 |
this->toolStripButton2->Click += gcnew System::EventHandler(this, &PackageForm::toolStripButton2_Click);
|
|
|
3730 |
//
|
|
|
3731 |
// toolStripButton3
|
|
|
3732 |
//
|
126 |
cycrow |
3733 |
this->toolStripButton3->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"toolStripButton3.Image")));
|
1 |
cycrow |
3734 |
this->toolStripButton3->ImageTransparentColor = System::Drawing::Color::Magenta;
|
|
|
3735 |
this->toolStripButton3->Name = L"toolStripButton3";
|
236 |
cycrow |
3736 |
this->toolStripButton3->Size = System::Drawing::Size(75, 28);
|
1 |
cycrow |
3737 |
this->toolStripButton3->Text = L"Save As";
|
|
|
3738 |
this->toolStripButton3->Click += gcnew System::EventHandler(this, &PackageForm::toolStripButton3_Click);
|
|
|
3739 |
//
|
|
|
3740 |
// toolStripButton5
|
|
|
3741 |
//
|
126 |
cycrow |
3742 |
this->toolStripButton5->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"toolStripButton5.Image")));
|
1 |
cycrow |
3743 |
this->toolStripButton5->ImageTransparentColor = System::Drawing::Color::Magenta;
|
|
|
3744 |
this->toolStripButton5->Name = L"toolStripButton5";
|
236 |
cycrow |
3745 |
this->toolStripButton5->Size = System::Drawing::Size(69, 28);
|
1 |
cycrow |
3746 |
this->toolStripButton5->Text = L"Export";
|
|
|
3747 |
this->toolStripButton5->ToolTipText = L"Exports the package to an archive";
|
|
|
3748 |
this->toolStripButton5->Click += gcnew System::EventHandler(this, &PackageForm::toolStripButton5_Click);
|
|
|
3749 |
//
|
|
|
3750 |
// toolStripSeparator3
|
|
|
3751 |
//
|
|
|
3752 |
this->toolStripSeparator3->Name = L"toolStripSeparator3";
|
|
|
3753 |
this->toolStripSeparator3->Size = System::Drawing::Size(6, 31);
|
|
|
3754 |
//
|
|
|
3755 |
// toolStripButton1
|
|
|
3756 |
//
|
|
|
3757 |
this->toolStripButton1->DisplayStyle = System::Windows::Forms::ToolStripItemDisplayStyle::Image;
|
126 |
cycrow |
3758 |
this->toolStripButton1->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"toolStripButton1.Image")));
|
1 |
cycrow |
3759 |
this->toolStripButton1->ImageTransparentColor = System::Drawing::Color::Magenta;
|
|
|
3760 |
this->toolStripButton1->Name = L"toolStripButton1";
|
|
|
3761 |
this->toolStripButton1->Size = System::Drawing::Size(28, 28);
|
|
|
3762 |
this->toolStripButton1->Text = L"Generate Script";
|
|
|
3763 |
this->toolStripButton1->ToolTipText = L"Generate packager script";
|
|
|
3764 |
this->toolStripButton1->Click += gcnew System::EventHandler(this, &PackageForm::toolStripButton1_Click);
|
|
|
3765 |
//
|
|
|
3766 |
// toolStripButton4
|
|
|
3767 |
//
|
|
|
3768 |
this->toolStripButton4->DisplayStyle = System::Windows::Forms::ToolStripItemDisplayStyle::Image;
|
126 |
cycrow |
3769 |
this->toolStripButton4->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"toolStripButton4.Image")));
|
1 |
cycrow |
3770 |
this->toolStripButton4->ImageTransparentColor = System::Drawing::Color::Magenta;
|
|
|
3771 |
this->toolStripButton4->Name = L"toolStripButton4";
|
|
|
3772 |
this->toolStripButton4->Size = System::Drawing::Size(28, 28);
|
|
|
3773 |
this->toolStripButton4->Text = L"toolStripButton4";
|
|
|
3774 |
this->toolStripButton4->ToolTipText = L"Generate package update file to allow auto updates";
|
|
|
3775 |
this->toolStripButton4->Click += gcnew System::EventHandler(this, &PackageForm::toolStripButton4_Click);
|
|
|
3776 |
//
|
|
|
3777 |
// toolStripSeparator4
|
|
|
3778 |
//
|
|
|
3779 |
this->toolStripSeparator4->Name = L"toolStripSeparator4";
|
|
|
3780 |
this->toolStripSeparator4->Size = System::Drawing::Size(6, 31);
|
|
|
3781 |
//
|
|
|
3782 |
// ToolCustomise
|
|
|
3783 |
//
|
|
|
3784 |
this->ToolCustomise->DisplayStyle = System::Windows::Forms::ToolStripItemDisplayStyle::Image;
|
126 |
cycrow |
3785 |
this->ToolCustomise->Image = (cli::safe_cast<System::Drawing::Image^>(resources->GetObject(L"ToolCustomise.Image")));
|
1 |
cycrow |
3786 |
this->ToolCustomise->ImageTransparentColor = System::Drawing::Color::Magenta;
|
|
|
3787 |
this->ToolCustomise->Name = L"ToolCustomise";
|
|
|
3788 |
this->ToolCustomise->Size = System::Drawing::Size(28, 28);
|
|
|
3789 |
this->ToolCustomise->Text = L"toolStripButton5";
|
|
|
3790 |
this->ToolCustomise->ToolTipText = L"Customise Ship, allows you to edit the ships data to adjust its stats";
|
|
|
3791 |
this->ToolCustomise->Click += gcnew System::EventHandler(this, &PackageForm::ToolCustomise_Click);
|
|
|
3792 |
//
|
|
|
3793 |
// toolTip1
|
|
|
3794 |
//
|
|
|
3795 |
this->toolTip1->AutoPopDelay = 20000;
|
|
|
3796 |
this->toolTip1->InitialDelay = 2000;
|
|
|
3797 |
this->toolTip1->IsBalloon = true;
|
|
|
3798 |
this->toolTip1->ReshowDelay = 200;
|
|
|
3799 |
this->toolTip1->ShowAlways = true;
|
|
|
3800 |
this->toolTip1->ToolTipIcon = System::Windows::Forms::ToolTipIcon::Info;
|
|
|
3801 |
this->toolTip1->ToolTipTitle = L"Mod Patch";
|
|
|
3802 |
this->toolTip1->Popup += gcnew System::Windows::Forms::PopupEventHandler(this, &PackageForm::toolTip1_Popup);
|
|
|
3803 |
//
|
|
|
3804 |
// toolTip2
|
|
|
3805 |
//
|
|
|
3806 |
this->toolTip2->AutoPopDelay = 20000;
|
|
|
3807 |
this->toolTip2->InitialDelay = 2000;
|
|
|
3808 |
this->toolTip2->IsBalloon = true;
|
|
|
3809 |
this->toolTip2->ReshowDelay = 200;
|
|
|
3810 |
this->toolTip2->ShowAlways = true;
|
|
|
3811 |
this->toolTip2->ToolTipIcon = System::Windows::Forms::ToolTipIcon::Info;
|
|
|
3812 |
this->toolTip2->ToolTipTitle = L"Mod Patch";
|
|
|
3813 |
this->toolTip2->Popup += gcnew System::Windows::Forms::PopupEventHandler(this, &PackageForm::toolTip2_Popup);
|
|
|
3814 |
//
|
|
|
3815 |
// PackageForm
|
|
|
3816 |
//
|
|
|
3817 |
this->AllowDrop = true;
|
236 |
cycrow |
3818 |
this->AutoScaleDimensions = System::Drawing::SizeF(6, 13);
|
1 |
cycrow |
3819 |
this->AutoScaleMode = System::Windows::Forms::AutoScaleMode::Font;
|
236 |
cycrow |
3820 |
this->ClientSize = System::Drawing::Size(766, 710);
|
1 |
cycrow |
3821 |
this->Controls->Add(this->groupBox1);
|
|
|
3822 |
this->Controls->Add(this->tabControl1);
|
|
|
3823 |
this->Controls->Add(this->PanelShip);
|
|
|
3824 |
this->Controls->Add(this->panel4);
|
|
|
3825 |
this->Controls->Add(this->panel3);
|
|
|
3826 |
this->Controls->Add(this->panel2);
|
|
|
3827 |
this->Controls->Add(this->panel1);
|
|
|
3828 |
this->Controls->Add(this->toolStrip1);
|
126 |
cycrow |
3829 |
this->Icon = (cli::safe_cast<System::Drawing::Icon^>(resources->GetObject(L"$this.Icon")));
|
1 |
cycrow |
3830 |
this->Name = L"PackageForm";
|
237 |
cycrow |
3831 |
this->Padding = System::Windows::Forms::Padding(5);
|
1 |
cycrow |
3832 |
this->ShowIcon = false;
|
|
|
3833 |
this->ShowInTaskbar = false;
|
|
|
3834 |
this->StartPosition = System::Windows::Forms::FormStartPosition::CenterParent;
|
|
|
3835 |
this->Text = L"Package";
|
|
|
3836 |
this->Load += gcnew System::EventHandler(this, &PackageForm::PackageForm_Load);
|
126 |
cycrow |
3837 |
(cli::safe_cast<System::ComponentModel::ISupportInitialize^>(this->PicChange5))->EndInit();
|
|
|
3838 |
(cli::safe_cast<System::ComponentModel::ISupportInitialize^>(this->PicChange1))->EndInit();
|
|
|
3839 |
(cli::safe_cast<System::ComponentModel::ISupportInitialize^>(this->PicRec5))->EndInit();
|
1 |
cycrow |
3840 |
this->groupBox1->ResumeLayout(false);
|
|
|
3841 |
this->ContextFiles->ResumeLayout(false);
|
|
|
3842 |
this->panel6->ResumeLayout(false);
|
|
|
3843 |
this->panel5->ResumeLayout(false);
|
|
|
3844 |
this->tabControl1->ResumeLayout(false);
|
|
|
3845 |
this->tabPage1->ResumeLayout(false);
|
|
|
3846 |
this->groupBox2->ResumeLayout(false);
|
|
|
3847 |
this->panel13->ResumeLayout(false);
|
|
|
3848 |
this->panel12->ResumeLayout(false);
|
|
|
3849 |
this->panel11->ResumeLayout(false);
|
|
|
3850 |
this->tabPage5->ResumeLayout(false);
|
|
|
3851 |
this->groupBox8->ResumeLayout(false);
|
|
|
3852 |
this->panel10->ResumeLayout(false);
|
|
|
3853 |
this->panel21->ResumeLayout(false);
|
|
|
3854 |
this->panel21->PerformLayout();
|
|
|
3855 |
this->ContextGames->ResumeLayout(false);
|
|
|
3856 |
this->PagePackage->ResumeLayout(false);
|
|
|
3857 |
this->groupBox3->ResumeLayout(false);
|
|
|
3858 |
this->groupBox3->PerformLayout();
|
|
|
3859 |
this->panel22->ResumeLayout(false);
|
|
|
3860 |
this->panel7->ResumeLayout(false);
|
|
|
3861 |
this->panel8->ResumeLayout(false);
|
|
|
3862 |
this->flowLayoutPanel1->ResumeLayout(false);
|
|
|
3863 |
this->flowLayoutPanel1->PerformLayout();
|
|
|
3864 |
this->panel9->ResumeLayout(false);
|
|
|
3865 |
this->panel9->PerformLayout();
|
|
|
3866 |
this->tabPage3->ResumeLayout(false);
|
|
|
3867 |
this->groupBox7->ResumeLayout(false);
|
|
|
3868 |
this->panel19->ResumeLayout(false);
|
|
|
3869 |
this->panel20->ResumeLayout(false);
|
|
|
3870 |
this->panel18->ResumeLayout(false);
|
|
|
3871 |
this->panel18->PerformLayout();
|
|
|
3872 |
this->groupBox6->ResumeLayout(false);
|
|
|
3873 |
this->panel17->ResumeLayout(false);
|
|
|
3874 |
this->GroupChange->ResumeLayout(false);
|
126 |
cycrow |
3875 |
(cli::safe_cast<System::ComponentModel::ISupportInitialize^>(this->PicChange4))->EndInit();
|
|
|
3876 |
(cli::safe_cast<System::ComponentModel::ISupportInitialize^>(this->PicChange3))->EndInit();
|
|
|
3877 |
(cli::safe_cast<System::ComponentModel::ISupportInitialize^>(this->PicChange2))->EndInit();
|
1 |
cycrow |
3878 |
this->GroupRec->ResumeLayout(false);
|
126 |
cycrow |
3879 |
(cli::safe_cast<System::ComponentModel::ISupportInitialize^>(this->PicRec4))->EndInit();
|
|
|
3880 |
(cli::safe_cast<System::ComponentModel::ISupportInitialize^>(this->PicRec3))->EndInit();
|
|
|
3881 |
(cli::safe_cast<System::ComponentModel::ISupportInitialize^>(this->PicRec2))->EndInit();
|
|
|
3882 |
(cli::safe_cast<System::ComponentModel::ISupportInitialize^>(this->PicRec1))->EndInit();
|
1 |
cycrow |
3883 |
this->GroupEase->ResumeLayout(false);
|
126 |
cycrow |
3884 |
(cli::safe_cast<System::ComponentModel::ISupportInitialize^>(this->PicEase5))->EndInit();
|
|
|
3885 |
(cli::safe_cast<System::ComponentModel::ISupportInitialize^>(this->PicEase4))->EndInit();
|
|
|
3886 |
(cli::safe_cast<System::ComponentModel::ISupportInitialize^>(this->PicEase3))->EndInit();
|
|
|
3887 |
(cli::safe_cast<System::ComponentModel::ISupportInitialize^>(this->PicEase2))->EndInit();
|
|
|
3888 |
(cli::safe_cast<System::ComponentModel::ISupportInitialize^>(this->PicEase1))->EndInit();
|
1 |
cycrow |
3889 |
this->groupBox5->ResumeLayout(false);
|
126 |
cycrow |
3890 |
(cli::safe_cast<System::ComponentModel::ISupportInitialize^>(this->DisplayIcon))->EndInit();
|
1 |
cycrow |
3891 |
this->panel15->ResumeLayout(false);
|
126 |
cycrow |
3892 |
(cli::safe_cast<System::ComponentModel::ISupportInitialize^>(this->DisplayPicture))->EndInit();
|
1 |
cycrow |
3893 |
this->panel16->ResumeLayout(false);
|
|
|
3894 |
this->tabPage2->ResumeLayout(false);
|
|
|
3895 |
this->ContextLangName->ResumeLayout(false);
|
|
|
3896 |
this->groupBox4->ResumeLayout(false);
|
|
|
3897 |
this->ContextMirror->ResumeLayout(false);
|
|
|
3898 |
this->panel14->ResumeLayout(false);
|
|
|
3899 |
this->tabPage4->ResumeLayout(false);
|
|
|
3900 |
this->ContextDep->ResumeLayout(false);
|
|
|
3901 |
this->PageWares->ResumeLayout(false);
|
|
|
3902 |
this->splitContainer1->Panel1->ResumeLayout(false);
|
|
|
3903 |
this->splitContainer1->Panel2->ResumeLayout(false);
|
126 |
cycrow |
3904 |
(cli::safe_cast<System::ComponentModel::ISupportInitialize^>(this->splitContainer1))->EndInit();
|
1 |
cycrow |
3905 |
this->splitContainer1->ResumeLayout(false);
|
|
|
3906 |
this->ContextWare->ResumeLayout(false);
|
|
|
3907 |
this->ContextWareText->ResumeLayout(false);
|
|
|
3908 |
this->PageShip->ResumeLayout(false);
|
|
|
3909 |
this->PageShip->PerformLayout();
|
|
|
3910 |
this->ContextShipText->ResumeLayout(false);
|
|
|
3911 |
this->PanelTextID->ResumeLayout(false);
|
|
|
3912 |
this->PanelTextID->PerformLayout();
|
126 |
cycrow |
3913 |
(cli::safe_cast<System::ComponentModel::ISupportInitialize^>(this->NumTextID))->EndInit();
|
1 |
cycrow |
3914 |
this->flowLayoutPanel2->ResumeLayout(false);
|
|
|
3915 |
this->PageRaw->ResumeLayout(false);
|
|
|
3916 |
this->panel23->ResumeLayout(false);
|
|
|
3917 |
this->panel24->ResumeLayout(false);
|
|
|
3918 |
this->panel24->PerformLayout();
|
|
|
3919 |
this->flowLayoutPanel3->ResumeLayout(false);
|
|
|
3920 |
this->flowLayoutPanel3->PerformLayout();
|
|
|
3921 |
this->PageShipComp->ResumeLayout(false);
|
|
|
3922 |
this->panel26->ResumeLayout(false);
|
|
|
3923 |
this->ContextShipPart->ResumeLayout(false);
|
|
|
3924 |
this->panel25->ResumeLayout(false);
|
237 |
cycrow |
3925 |
this->tabGlobals->ResumeLayout(false);
|
|
|
3926 |
this->contextGlobal->ResumeLayout(false);
|
1 |
cycrow |
3927 |
this->panel1->ResumeLayout(false);
|
|
|
3928 |
this->panel1->PerformLayout();
|
|
|
3929 |
this->panel2->ResumeLayout(false);
|
|
|
3930 |
this->panel2->PerformLayout();
|
|
|
3931 |
this->panel3->ResumeLayout(false);
|
|
|
3932 |
this->panel3->PerformLayout();
|
|
|
3933 |
this->panel4->ResumeLayout(false);
|
|
|
3934 |
this->PanelShip->ResumeLayout(false);
|
|
|
3935 |
this->PanelShip->PerformLayout();
|
|
|
3936 |
this->toolStrip1->ResumeLayout(false);
|
|
|
3937 |
this->toolStrip1->PerformLayout();
|
|
|
3938 |
this->ResumeLayout(false);
|
|
|
3939 |
this->PerformLayout();
|
|
|
3940 |
|
|
|
3941 |
}
|
|
|
3942 |
#pragma endregion
|
|
|
3943 |
private: System::Void PackageForm::PackageForm_Closing(System::Object^ sender, CancelEventArgs^ e);
|
|
|
3944 |
private: System::Void button1_Click(System::Object^ sender, System::EventArgs^ e) {
|
|
|
3945 |
this->AddNewFile();
|
|
|
3946 |
}
|
|
|
3947 |
private: System::Void ComboFileType_SelectedIndexChanged(System::Object^ sender, System::EventArgs^ e) {
|
|
|
3948 |
if ( !m_pPackage )
|
|
|
3949 |
return;
|
|
|
3950 |
|
|
|
3951 |
this->UpdateFileList();
|
|
|
3952 |
}
|
|
|
3953 |
private: System::Void TextName_TextChanged(System::Object^ sender, System::EventArgs^ e) {
|
206 |
cycrow |
3954 |
if ( !m_bLoading ) m_pPackage->setName(_WS(this->TextName->Text));
|
1 |
cycrow |
3955 |
this->UpdateChanged();
|
|
|
3956 |
}
|
|
|
3957 |
private: System::Void TextAuthor_TextChanged(System::Object^ sender, System::EventArgs^ e) {
|
206 |
cycrow |
3958 |
if ( !m_bLoading ) m_pPackage->setAuthor(_WS(this->TextAuthor->Text));
|
1 |
cycrow |
3959 |
this->UpdateChanged();
|
|
|
3960 |
}
|
|
|
3961 |
private: System::Void TextVersion_TextChanged(System::Object^ sender, System::EventArgs^ e) {
|
|
|
3962 |
if ( !m_bLoading )
|
206 |
cycrow |
3963 |
m_pPackage->setVersion(_WS(this->TextVersion->Text));
|
1 |
cycrow |
3964 |
this->UpdateChanged();
|
|
|
3965 |
}
|
|
|
3966 |
private: System::Void CreationDate_ValueChanged(System::Object^ sender, System::EventArgs^ e) {
|
|
|
3967 |
if ( !m_bLoading )
|
|
|
3968 |
{
|
|
|
3969 |
System::DateTime ^time = DateTime(this->CreationDate->Value);
|
|
|
3970 |
|
|
|
3971 |
String ^t = System::Convert::ToString(time->Day) + "/" + System::Convert::ToString(time->Month) + "/" + System::Convert::ToString(time->Year);
|
206 |
cycrow |
3972 |
m_pPackage->setCreationDate(_WS(t));
|
1 |
cycrow |
3973 |
}
|
|
|
3974 |
this->UpdateChanged();
|
|
|
3975 |
}
|
|
|
3976 |
|
|
|
3977 |
private: System::Void SortList(System::Object ^Sender, ColumnClickEventArgs ^E)
|
|
|
3978 |
{
|
|
|
3979 |
if ( E->Column == m_iSortingCol )
|
|
|
3980 |
{
|
|
|
3981 |
m_bSortingAsc = !m_bSortingAsc;
|
|
|
3982 |
this->ListFiles->ListViewItemSorter = gcnew ListViewItemComparer(E->Column, !m_bSortingAsc);
|
|
|
3983 |
}
|
|
|
3984 |
else
|
|
|
3985 |
{
|
|
|
3986 |
m_bSortingAsc = true;
|
|
|
3987 |
this->ListFiles->ListViewItemSorter = gcnew ListViewItemComparer(E->Column, !m_bSortingAsc);
|
|
|
3988 |
}
|
|
|
3989 |
this->ListFiles->Sort();
|
|
|
3990 |
m_iSortingCol = E->Column;
|
|
|
3991 |
|
|
|
3992 |
}
|
|
|
3993 |
|
|
|
3994 |
private: System::Void ButRemoveFile_Click(System::Object^ sender, System::EventArgs^ e) {
|
|
|
3995 |
this->RemoveSelectedFiles();
|
|
|
3996 |
}
|
|
|
3997 |
private: System::Void Event_FileChecked(System::Object^ sender, ItemCheckedEventArgs^ e) {
|
225 |
cycrow |
3998 |
int id = _WS(cli::safe_cast<System::String ^>(e->Item->Tag)).toInt();
|
1 |
cycrow |
3999 |
C_File *file = m_pPackage->GetFileList()->Get(id);
|
|
|
4000 |
if ( file->IsShared() != e->Item->Checked )
|
|
|
4001 |
{
|
|
|
4002 |
file->SetShared(e->Item->Checked);
|
50 |
cycrow |
4003 |
m_pPackage->adjustChanged(true);
|
1 |
cycrow |
4004 |
this->UpdateChanged();
|
|
|
4005 |
}
|
|
|
4006 |
}
|
|
|
4007 |
private: System::Void ListFiles_SelectedIndexChanged(System::Object^ sender, System::EventArgs^ e) {
|
|
|
4008 |
if ( ListFiles->SelectedItems->Count )
|
|
|
4009 |
{
|
|
|
4010 |
this->ButRemoveFile->Enabled = true;
|
|
|
4011 |
|
|
|
4012 |
for ( int i = 0; i < ListFiles->SelectedItems->Count; i++ )
|
|
|
4013 |
{
|
225 |
cycrow |
4014 |
int id = _WS(cli::safe_cast<System::String ^>(this->ListFiles->SelectedItems[i]->Tag)).toInt();
|
1 |
cycrow |
4015 |
C_File *file = m_pPackage->GetFileList()->Get(id);
|
|
|
4016 |
if ( file->IsShared() != this->ListFiles->SelectedItems[i]->Checked )
|
|
|
4017 |
{
|
|
|
4018 |
file->SetShared(this->ListFiles->SelectedItems[i]->Checked);
|
50 |
cycrow |
4019 |
m_pPackage->adjustChanged(true);
|
1 |
cycrow |
4020 |
}
|
|
|
4021 |
}
|
|
|
4022 |
|
|
|
4023 |
this->UpdateChanged();
|
|
|
4024 |
}
|
|
|
4025 |
else
|
|
|
4026 |
{
|
|
|
4027 |
this->ButRemoveFile->Enabled = false;
|
|
|
4028 |
}
|
|
|
4029 |
}
|
|
|
4030 |
private: System::Void button2_Click(System::Object^ sender, System::EventArgs^ e) {
|
129 |
cycrow |
4031 |
m_pPackage->removeAllFiles(static_cast<FileType>(this->ComboFileType->SelectedIndex - 1), this->ComboGameFilter->SelectedIndex - 1);
|
1 |
cycrow |
4032 |
m_pDisplayFile = NULL;
|
|
|
4033 |
this->UpdateDisplayPic();
|
|
|
4034 |
this->ComboFileType->SelectedIndex = 0;
|
|
|
4035 |
this->ComboGameFilter->SelectedIndex = 0;
|
|
|
4036 |
this->UpdateFileList();
|
|
|
4037 |
this->UpdateChanged();
|
|
|
4038 |
}
|
|
|
4039 |
private: System::Void RadioTypeScript_CheckedChanged(System::Object^ sender, System::EventArgs^ e) {
|
|
|
4040 |
if ( RadioTypeScript->Checked )
|
|
|
4041 |
{
|
|
|
4042 |
this->RadioTypeUpdate->Checked = false;
|
|
|
4043 |
this->RadioTypePatch->Checked = false;
|
|
|
4044 |
this->RadioTypeLibrary->Checked = false;
|
|
|
4045 |
this->RadioTypePatch->Checked = false;
|
|
|
4046 |
this->ComboType->Enabled = true;
|
|
|
4047 |
if ( !m_bLoading )
|
|
|
4048 |
{
|
214 |
cycrow |
4049 |
((CSpkFile *)m_pPackage)->setScriptType(this->ComboType->SelectedIndex);
|
1 |
cycrow |
4050 |
this->UpdateDependacies();
|
|
|
4051 |
}
|
|
|
4052 |
this->UpdateChanged();
|
|
|
4053 |
}
|
|
|
4054 |
else
|
|
|
4055 |
this->ComboType->Enabled = false;
|
|
|
4056 |
this->UpdateDisplayIcon();
|
|
|
4057 |
}
|
|
|
4058 |
private: System::Void RadioTypeLibrary_CheckedChanged(System::Object^ sender, System::EventArgs^ e) {
|
|
|
4059 |
if ( this->RadioTypeLibrary->Checked )
|
|
|
4060 |
{
|
|
|
4061 |
this->RadioTypeScript->Checked = false;
|
|
|
4062 |
if ( !m_bLoading )
|
|
|
4063 |
{
|
|
|
4064 |
((CSpkFile *)m_pPackage)->SetLibrary();
|
|
|
4065 |
this->UpdateDependacies();
|
|
|
4066 |
}
|
|
|
4067 |
this->UpdateChanged();
|
|
|
4068 |
this->UpdateDisplayIcon();
|
|
|
4069 |
}
|
|
|
4070 |
}
|
|
|
4071 |
private: System::Void RadioTypeUpdate_CheckedChanged(System::Object^ sender, System::EventArgs^ e) {
|
|
|
4072 |
if ( this->RadioTypeUpdate->Checked )
|
|
|
4073 |
{
|
|
|
4074 |
this->RadioTypeScript->Checked = false;
|
|
|
4075 |
if ( !m_bLoading )
|
|
|
4076 |
{
|
|
|
4077 |
((CSpkFile *)m_pPackage)->SetPackageUpdate();
|
|
|
4078 |
this->UpdateDependacies();
|
|
|
4079 |
}
|
|
|
4080 |
this->UpdateChanged();
|
|
|
4081 |
this->UpdateDisplayIcon();
|
|
|
4082 |
}
|
|
|
4083 |
}
|
|
|
4084 |
private: System::Void RadioTypePatch_CheckedChanged(System::Object^ sender, System::EventArgs^ e) {
|
|
|
4085 |
if ( this->RadioTypePatch->Checked )
|
|
|
4086 |
{
|
|
|
4087 |
this->RadioTypeScript->Checked = false;
|
|
|
4088 |
if ( !m_bLoading )
|
|
|
4089 |
{
|
|
|
4090 |
((CSpkFile *)m_pPackage)->SetPatch();
|
|
|
4091 |
this->UpdateDependacies();
|
|
|
4092 |
}
|
|
|
4093 |
this->UpdateChanged();
|
|
|
4094 |
this->UpdateDisplayIcon();
|
|
|
4095 |
}
|
|
|
4096 |
}
|
|
|
4097 |
private: System::Void RadioTypeStart_CheckedChanged(System::Object^ sender, System::EventArgs^ e) {
|
|
|
4098 |
if ( this->RadioTypeStart->Checked )
|
|
|
4099 |
{
|
|
|
4100 |
this->RadioTypeScript->Checked = false;
|
|
|
4101 |
{
|
|
|
4102 |
((CSpkFile *)m_pPackage)->SetCustomStart();
|
|
|
4103 |
this->UpdateDependacies();
|
|
|
4104 |
}
|
|
|
4105 |
this->UpdateChanged();
|
|
|
4106 |
this->UpdateDisplayIcon();
|
|
|
4107 |
}
|
|
|
4108 |
}
|
|
|
4109 |
private: System::Void ComboType_SelectedIndexChanged(System::Object^ sender, System::EventArgs^ e) {
|
|
|
4110 |
if ( !m_bLoading )
|
|
|
4111 |
{
|
214 |
cycrow |
4112 |
((CSpkFile *)m_pPackage)->setScriptType(this->ComboType->SelectedIndex);
|
1 |
cycrow |
4113 |
this->UpdateDependacies();
|
|
|
4114 |
}
|
|
|
4115 |
this->UpdateScriptType();
|
|
|
4116 |
this->UpdateChanged();
|
|
|
4117 |
}
|
|
|
4118 |
private: System::Void TextDesc_TextChanged(System::Object^ sender, System::EventArgs^ e) {
|
206 |
cycrow |
4119 |
if ( !m_bLoading ) m_pPackage->setDescription(_WS(this->TextDesc->Text).findReplace(L"\n", L"<br>"));
|
1 |
cycrow |
4120 |
this->UpdateChanged();
|
|
|
4121 |
}
|
|
|
4122 |
private: System::Void ComboVersion_SelectedIndexChanged(System::Object^ sender, System::EventArgs^ e) {
|
|
|
4123 |
if ( this->ComboVersion->SelectedIndex >= this->ComboVersion->Items->Count - 1 )
|
|
|
4124 |
{
|
|
|
4125 |
this->TextExactVersion->Visible = true;
|
|
|
4126 |
this->TextExactVersion->Text = "1.00";
|
|
|
4127 |
}
|
|
|
4128 |
else
|
|
|
4129 |
{
|
|
|
4130 |
this->TextExactVersion->Visible = false;
|
|
|
4131 |
}
|
|
|
4132 |
}
|
|
|
4133 |
private: System::Void TextWebsite_TextChanged(System::Object^ sender, System::EventArgs^ e) {
|
206 |
cycrow |
4134 |
if ( !m_bLoading ) m_pPackage->setWebSite(_WS(this->TextWebsite->Text));
|
1 |
cycrow |
4135 |
this->UpdateChanged();
|
|
|
4136 |
}
|
|
|
4137 |
private: System::Void TextEmail_TextChanged(System::Object^ sender, System::EventArgs^ e) {
|
206 |
cycrow |
4138 |
if ( !m_bLoading ) m_pPackage->setEmail(_WS(this->TextEmail->Text));
|
1 |
cycrow |
4139 |
this->UpdateChanged();
|
|
|
4140 |
}
|
|
|
4141 |
private: System::Void TextForum_TextChanged(System::Object^ sender, System::EventArgs^ e) {
|
206 |
cycrow |
4142 |
if ( !m_bLoading ) m_pPackage->setForumLink(_WS(this->TextForum->Text));
|
1 |
cycrow |
4143 |
this->UpdateChanged();
|
|
|
4144 |
}
|
|
|
4145 |
private: System::Void ButFromFile_Click(System::Object^ sender, System::EventArgs^ e) {
|
|
|
4146 |
OpenFileDialog ^ofd = gcnew OpenFileDialog();
|
|
|
4147 |
ofd->Filter = "Package Files (*.spk)|*.spk";
|
|
|
4148 |
ofd->FilterIndex = 1;
|
|
|
4149 |
ofd->RestoreDirectory = true;
|
|
|
4150 |
ofd->Title = "Select package to use as parent package";
|
|
|
4151 |
|
|
|
4152 |
if ( ofd->ShowDialog(this) == System::Windows::Forms::DialogResult::OK )
|
|
|
4153 |
{
|
|
|
4154 |
int error;
|
206 |
cycrow |
4155 |
CBaseFile *p = m_pP->openPackage(_WS(ofd->FileName), &error, 0, SPKREAD_VALUES);
|
1 |
cycrow |
4156 |
if ( p )
|
|
|
4157 |
{
|
50 |
cycrow |
4158 |
this->TextOtherAuthor->Text = _US(p->author());
|
|
|
4159 |
this->TextOtherName->Text = _US(p->name());
|
214 |
cycrow |
4160 |
((CSpkFile *)m_pPackage)->setAnotherMod(p->name(), p->author());
|
1 |
cycrow |
4161 |
delete p;
|
|
|
4162 |
this->UpdateChanged();
|
|
|
4163 |
}
|
|
|
4164 |
}
|
|
|
4165 |
}
|
|
|
4166 |
private: System::Void CheckOther_CheckedChanged(System::Object^ sender, System::EventArgs^ e) {
|
|
|
4167 |
this->TextOtherAuthor->Enabled = this->CheckOther->Checked;
|
|
|
4168 |
this->TextOtherName->Enabled = this->CheckOther->Checked;
|
|
|
4169 |
this->ButFromFile->Enabled = this->CheckOther->Checked;
|
|
|
4170 |
|
|
|
4171 |
if ( !m_bLoading )
|
|
|
4172 |
{
|
|
|
4173 |
if ( this->CheckOther->Checked )
|
214 |
cycrow |
4174 |
((CSpkFile *)m_pPackage)->setAnotherMod(_WS(this->TextOtherName->Text), _WS(this->TextOtherAuthor->Text));
|
1 |
cycrow |
4175 |
else
|
214 |
cycrow |
4176 |
((CSpkFile *)m_pPackage)->setAnotherMod(L"", L"");
|
1 |
cycrow |
4177 |
}
|
|
|
4178 |
this->UpdateChanged();
|
|
|
4179 |
}
|
|
|
4180 |
private: System::Void TextOtherName_TextChanged(System::Object^ sender, System::EventArgs^ e) {
|
|
|
4181 |
if ( !m_bLoading )
|
214 |
cycrow |
4182 |
((CSpkFile *)m_pPackage)->setAnotherMod(_WS(this->TextOtherName->Text), _WS(this->TextOtherAuthor->Text));
|
1 |
cycrow |
4183 |
this->UpdateChanged();
|
|
|
4184 |
}
|
|
|
4185 |
private: System::Void ContextMirror_Opening(System::Object^ sender, System::ComponentModel::CancelEventArgs^ e) {
|
|
|
4186 |
Point ^mousePoint = this->ListMirrors->PointToClient(this->ContextMirror->MousePosition);
|
|
|
4187 |
ListViewItem ^item = this->ListMirrors->GetItemAt(mousePoint->X, mousePoint->Y);
|
|
|
4188 |
if ( item )
|
|
|
4189 |
{
|
|
|
4190 |
this->ContextRemoveMirror->Visible = true;
|
|
|
4191 |
this->ContextRemoveMirror->Text = "Remove: " + item->Text;
|
|
|
4192 |
}
|
|
|
4193 |
else
|
|
|
4194 |
this->ContextRemoveMirror->Visible = false;
|
|
|
4195 |
m_pSelectedItem = item;
|
|
|
4196 |
e->Cancel = false;
|
|
|
4197 |
}
|
|
|
4198 |
private: System::Void clearAllToolStripMenuItem_Click(System::Object^ sender, System::EventArgs^ e) {
|
162 |
cycrow |
4199 |
m_pPackage->clearWebMirrors();
|
1 |
cycrow |
4200 |
this->UpdateMirrors();
|
|
|
4201 |
this->UpdateChanged();
|
|
|
4202 |
}
|
|
|
4203 |
private: System::Void addMirrorToolStripMenuItem_Click(System::Object^ sender, System::EventArgs^ e) {
|
|
|
4204 |
InputBox ^input = gcnew InputBox("Enter the web address to add", "http://");
|
|
|
4205 |
if ( input->ShowDialog(this) == System::Windows::Forms::DialogResult::OK )
|
|
|
4206 |
{
|
224 |
cycrow |
4207 |
m_pPackage->addWebMirror(_WS(input->GetInput()));
|
1 |
cycrow |
4208 |
this->UpdateChanged();
|
|
|
4209 |
this->UpdateMirrors();
|
|
|
4210 |
}
|
|
|
4211 |
}
|
|
|
4212 |
private: System::Void ContextRemoveMirror_Click(System::Object^ sender, System::EventArgs^ e) {
|
|
|
4213 |
if ( m_pSelectedItem )
|
|
|
4214 |
{
|
224 |
cycrow |
4215 |
m_pPackage->removeWebMirror(_WS(m_pSelectedItem->Text));
|
1 |
cycrow |
4216 |
this->UpdateMirrors();
|
|
|
4217 |
this->UpdateChanged();
|
|
|
4218 |
}
|
|
|
4219 |
}
|
|
|
4220 |
private: System::Void ContextLangName_Opening(System::Object^ sender, System::ComponentModel::CancelEventArgs^ e) {
|
|
|
4221 |
Point ^mousePoint = this->ListNames->PointToClient(this->ContextLangName->MousePosition);
|
|
|
4222 |
ListViewItem ^item = this->ListNames->GetItemAt(mousePoint->X, mousePoint->Y);
|
|
|
4223 |
if ( item )
|
|
|
4224 |
{
|
|
|
4225 |
this->ContextRemoveName->Visible = true;
|
|
|
4226 |
this->ContextEditName->Visible = true;
|
|
|
4227 |
this->ContextRemoveName->Text = "Remove: " + item->Text;
|
|
|
4228 |
this->ContextNameSep->Visible = true;
|
|
|
4229 |
}
|
|
|
4230 |
else
|
|
|
4231 |
{
|
|
|
4232 |
this->ContextNameSep->Visible = false;
|
|
|
4233 |
this->ContextRemoveName->Visible = false;
|
|
|
4234 |
this->ContextEditName->Visible = false;
|
|
|
4235 |
}
|
|
|
4236 |
m_pSelectedItem = item;
|
|
|
4237 |
e->Cancel = false;
|
|
|
4238 |
}
|
|
|
4239 |
private: System::Void clearAllToolStripMenuItem1_Click(System::Object^ sender, System::EventArgs^ e) {
|
170 |
cycrow |
4240 |
m_pPackage->clearNames();
|
1 |
cycrow |
4241 |
this->UpdatePackageNames();
|
|
|
4242 |
this->UpdateChanged();
|
|
|
4243 |
}
|
|
|
4244 |
private: System::Void addToolStripMenuItem_Click(System::Object^ sender, System::EventArgs^ e) {
|
|
|
4245 |
InputBox ^input = gcnew InputBox("Enter the language id (ie 44)", "");
|
|
|
4246 |
if ( input->ShowDialog(this) == System::Windows::Forms::DialogResult::OK )
|
|
|
4247 |
{
|
|
|
4248 |
InputBox ^input2 = gcnew InputBox("Enter the package name (Language: " + input->GetInput() + ")", "");
|
|
|
4249 |
if ( input2->ShowDialog(this) == System::Windows::Forms::DialogResult::OK )
|
|
|
4250 |
{
|
206 |
cycrow |
4251 |
m_pPackage->addName(Convert::ToInt32(input->GetInput()), _WS(input2->GetInput()));
|
1 |
cycrow |
4252 |
this->UpdateChanged();
|
|
|
4253 |
this->UpdatePackageNames();
|
|
|
4254 |
}
|
|
|
4255 |
}
|
|
|
4256 |
}
|
|
|
4257 |
private: System::Void ContextRemoveName_Click(System::Object^ sender, System::EventArgs^ e) {
|
|
|
4258 |
if ( m_pSelectedItem )
|
|
|
4259 |
{
|
170 |
cycrow |
4260 |
m_pPackage->removeName(Convert::ToInt32(m_pSelectedItem->Text));
|
1 |
cycrow |
4261 |
this->UpdatePackageNames();
|
|
|
4262 |
this->UpdateChanged();
|
|
|
4263 |
}
|
|
|
4264 |
}
|
|
|
4265 |
private: System::Void ContextEditName_Click(System::Object^ sender, System::EventArgs^ e) {
|
|
|
4266 |
InputBox ^input = gcnew InputBox("Enter the package name (Language: " + m_pSelectedItem->Text + ")", m_pSelectedItem->SubItems[1]->Text);
|
|
|
4267 |
if ( input->ShowDialog(this) == System::Windows::Forms::DialogResult::OK )
|
|
|
4268 |
{
|
206 |
cycrow |
4269 |
m_pPackage->addName(Convert::ToInt32(m_pSelectedItem->Text), _WS(input->GetInput()));
|
1 |
cycrow |
4270 |
m_pSelectedItem->SubItems[1]->Text = input->GetInput();
|
|
|
4271 |
this->UpdateChanged();
|
|
|
4272 |
}
|
|
|
4273 |
}
|
|
|
4274 |
private: System::Void ButPicAdd_Click(System::Object^ sender, System::EventArgs^ e) {
|
|
|
4275 |
this->AddDisplayPic();
|
|
|
4276 |
}
|
|
|
4277 |
private: System::Void ButPicDel_Click(System::Object^ sender, System::EventArgs^ e) {
|
|
|
4278 |
if ( m_pDisplayFile )
|
|
|
4279 |
{
|
|
|
4280 |
C_File *oldFile = m_pDisplayFile;
|
|
|
4281 |
m_pDisplayFile = m_pPackage->GetNextFile(m_pDisplayFile);
|
|
|
4282 |
|
172 |
cycrow |
4283 |
m_pPackage->removeFile(oldFile);
|
1 |
cycrow |
4284 |
|
|
|
4285 |
if ( !m_pDisplayFile )
|
|
|
4286 |
m_pDisplayFile = m_pPackage->GetFirstFile(FILETYPE_ADVERT);
|
|
|
4287 |
this->UpdateDisplayPic();
|
|
|
4288 |
this->UpdateFileList();
|
|
|
4289 |
this->UpdateChanged();
|
|
|
4290 |
}
|
|
|
4291 |
}
|
|
|
4292 |
private: System::Void ButPicBack_Click(System::Object^ sender, System::EventArgs^ e) {
|
|
|
4293 |
m_pDisplayFile = m_pPackage->GetPrevFile(m_pDisplayFile);
|
|
|
4294 |
this->UpdateDisplayPic();
|
|
|
4295 |
}
|
|
|
4296 |
private: System::Void ButPicNext_Click(System::Object^ sender, System::EventArgs^ e) {
|
|
|
4297 |
m_pDisplayFile = m_pPackage->GetNextFile(m_pDisplayFile);
|
|
|
4298 |
this->UpdateDisplayPic();
|
|
|
4299 |
}
|
|
|
4300 |
private: System::Void ButIconDel_Click(System::Object^ sender, System::EventArgs^ e) {
|
228 |
cycrow |
4301 |
m_pPackage->setIcon(NULL, Utils::WString::Null());
|
1 |
cycrow |
4302 |
this->UpdateDisplayIcon();
|
|
|
4303 |
this->UpdateChanged();
|
|
|
4304 |
}
|
|
|
4305 |
private: System::Void button4_Click(System::Object^ sender, System::EventArgs^ e) {
|
|
|
4306 |
this->AddDisplayIcon();
|
|
|
4307 |
}
|
|
|
4308 |
private: System::Void PicEase1_Click(System::Object^ sender, System::EventArgs^ e) {
|
46 |
cycrow |
4309 |
m_pPackage->setEaseOfUse(1);
|
1 |
cycrow |
4310 |
this->UpdateRatings();
|
|
|
4311 |
this->UpdateChanged();
|
|
|
4312 |
}
|
|
|
4313 |
private: System::Void PicEase2_Click(System::Object^ sender, System::EventArgs^ e) {
|
46 |
cycrow |
4314 |
m_pPackage->setEaseOfUse(2);
|
1 |
cycrow |
4315 |
this->UpdateChanged();
|
|
|
4316 |
this->UpdateRatings();
|
|
|
4317 |
}
|
|
|
4318 |
private: System::Void PicEase3_Click(System::Object^ sender, System::EventArgs^ e) {
|
46 |
cycrow |
4319 |
m_pPackage->setEaseOfUse(3);
|
1 |
cycrow |
4320 |
this->UpdateChanged();
|
|
|
4321 |
this->UpdateRatings();
|
|
|
4322 |
}
|
|
|
4323 |
private: System::Void PicEase4_Click(System::Object^ sender, System::EventArgs^ e) {
|
46 |
cycrow |
4324 |
m_pPackage->setEaseOfUse(4);
|
1 |
cycrow |
4325 |
this->UpdateChanged();
|
|
|
4326 |
this->UpdateRatings();
|
|
|
4327 |
}
|
|
|
4328 |
private: System::Void PicEase5_Click(System::Object^ sender, System::EventArgs^ e) {
|
46 |
cycrow |
4329 |
m_pPackage->setEaseOfUse(5);
|
1 |
cycrow |
4330 |
this->UpdateChanged();
|
|
|
4331 |
this->UpdateRatings();
|
|
|
4332 |
}
|
|
|
4333 |
private: System::Void PicRec1_Click(System::Object^ sender, System::EventArgs^ e) {
|
46 |
cycrow |
4334 |
m_pPackage->setRecommended(1);
|
1 |
cycrow |
4335 |
this->UpdateChanged();
|
|
|
4336 |
this->UpdateRatings();
|
|
|
4337 |
}
|
|
|
4338 |
private: System::Void PicRec2_Click(System::Object^ sender, System::EventArgs^ e) {
|
46 |
cycrow |
4339 |
m_pPackage->setRecommended(2);
|
1 |
cycrow |
4340 |
this->UpdateChanged();
|
|
|
4341 |
this->UpdateRatings();
|
|
|
4342 |
}
|
|
|
4343 |
private: System::Void PicRec3_Click(System::Object^ sender, System::EventArgs^ e) {
|
46 |
cycrow |
4344 |
m_pPackage->setRecommended(3);
|
1 |
cycrow |
4345 |
this->UpdateChanged();
|
|
|
4346 |
this->UpdateRatings();
|
|
|
4347 |
}
|
|
|
4348 |
private: System::Void PicRec4_Click(System::Object^ sender, System::EventArgs^ e) {
|
46 |
cycrow |
4349 |
m_pPackage->setRecommended(4);
|
1 |
cycrow |
4350 |
this->UpdateChanged();
|
|
|
4351 |
this->UpdateRatings();
|
|
|
4352 |
}
|
|
|
4353 |
private: System::Void PicRec5_Click(System::Object^ sender, System::EventArgs^ e) {
|
46 |
cycrow |
4354 |
m_pPackage->setRecommended(5);
|
1 |
cycrow |
4355 |
this->UpdateChanged();
|
|
|
4356 |
this->UpdateRatings();
|
|
|
4357 |
}
|
|
|
4358 |
private: System::Void PicChange1_Click(System::Object^ sender, System::EventArgs^ e) {
|
46 |
cycrow |
4359 |
m_pPackage->setGameChanging(1);
|
1 |
cycrow |
4360 |
this->UpdateChanged();
|
|
|
4361 |
this->UpdateRatings();
|
|
|
4362 |
}
|
|
|
4363 |
private: System::Void PicChange2_Click(System::Object^ sender, System::EventArgs^ e) {
|
46 |
cycrow |
4364 |
m_pPackage->setGameChanging(2);
|
1 |
cycrow |
4365 |
this->UpdateChanged();
|
|
|
4366 |
this->UpdateRatings();
|
|
|
4367 |
}
|
|
|
4368 |
private: System::Void PicChange3_Click(System::Object^ sender, System::EventArgs^ e) {
|
46 |
cycrow |
4369 |
m_pPackage->setGameChanging(3);
|
1 |
cycrow |
4370 |
this->UpdateChanged();
|
|
|
4371 |
this->UpdateRatings();
|
|
|
4372 |
}
|
|
|
4373 |
private: System::Void PicChange4_Click(System::Object^ sender, System::EventArgs^ e) {
|
46 |
cycrow |
4374 |
m_pPackage->setGameChanging(4);
|
1 |
cycrow |
4375 |
this->UpdateChanged();
|
|
|
4376 |
this->UpdateRatings();
|
|
|
4377 |
}
|
|
|
4378 |
private: System::Void PicChange5_Click(System::Object^ sender, System::EventArgs^ e) {
|
46 |
cycrow |
4379 |
m_pPackage->setGameChanging(5);
|
1 |
cycrow |
4380 |
this->UpdateChanged();
|
|
|
4381 |
this->UpdateRatings();
|
|
|
4382 |
}
|
|
|
4383 |
private: System::Void RadioInstallBefore_CheckedChanged(System::Object^ sender, System::EventArgs^ e) {
|
|
|
4384 |
this->UpdateText();
|
|
|
4385 |
}
|
|
|
4386 |
private: System::Void RadioInstallAfter_CheckedChanged(System::Object^ sender, System::EventArgs^ e) {
|
|
|
4387 |
this->UpdateText();
|
|
|
4388 |
}
|
|
|
4389 |
private: System::Void RadioUninstallBefore_CheckedChanged(System::Object^ sender, System::EventArgs^ e) {
|
|
|
4390 |
this->UpdateText();
|
|
|
4391 |
}
|
|
|
4392 |
private: System::Void RadioUninstallAfter_CheckedChanged(System::Object^ sender, System::EventArgs^ e) {
|
|
|
4393 |
this->UpdateText();
|
|
|
4394 |
}
|
|
|
4395 |
private: System::Void ListLang_SelectedIndexChanged(System::Object^ sender, System::EventArgs^ e) {
|
|
|
4396 |
this->UpdateTextLang();
|
|
|
4397 |
}
|
|
|
4398 |
private: System::Void TextText_TextChanged(System::Object^ sender, System::EventArgs^ e) {
|
|
|
4399 |
if ( Convert::ToInt32(this->TextText->Tag) != 1 )
|
|
|
4400 |
this->SaveText();
|
|
|
4401 |
}
|
|
|
4402 |
private: System::Void ButTextAdd_Click(System::Object^ sender, System::EventArgs^ e) {
|
|
|
4403 |
InputBox ^input = gcnew InputBox("Enter the language id to add (ie 44)", "");
|
|
|
4404 |
if ( input->ShowDialog(this) == System::Windows::Forms::DialogResult::OK )
|
|
|
4405 |
{
|
|
|
4406 |
int lang = System::Convert::ToInt32(input->GetInput());
|
|
|
4407 |
if ( lang )
|
|
|
4408 |
{
|
206 |
cycrow |
4409 |
Utils::WString t;
|
1 |
cycrow |
4410 |
if ( this->RadioInstallAfter->Checked || this->RadioInstallBefore->Checked )
|
46 |
cycrow |
4411 |
t = m_pPackage->installText(lang, true);
|
1 |
cycrow |
4412 |
else
|
46 |
cycrow |
4413 |
t = m_pPackage->uninstallText(lang, false);
|
1 |
cycrow |
4414 |
|
46 |
cycrow |
4415 |
if ( t.empty() )
|
1 |
cycrow |
4416 |
{
|
|
|
4417 |
if ( this->RadioInstallAfter->Checked || this->RadioInstallBefore->Checked )
|
206 |
cycrow |
4418 |
m_pPackage->addInstallText(lang, true, L"");
|
1 |
cycrow |
4419 |
else
|
206 |
cycrow |
4420 |
m_pPackage->addUninstallText(lang, true, L"");
|
1 |
cycrow |
4421 |
}
|
|
|
4422 |
|
|
|
4423 |
this->UpdateText();
|
|
|
4424 |
|
|
|
4425 |
this->ListLang->Text = System::Convert::ToString(lang);
|
|
|
4426 |
|
|
|
4427 |
this->UpdateTextLang();
|
|
|
4428 |
this->UpdateChanged();
|
|
|
4429 |
}
|
|
|
4430 |
}
|
|
|
4431 |
}
|
|
|
4432 |
private: System::Void ButTextDel_Click(System::Object^ sender, System::EventArgs^ e) {
|
|
|
4433 |
if ( this->ListLang->SelectedIndex < 1 )
|
|
|
4434 |
return;
|
|
|
4435 |
int lang = System::Convert::ToInt32(this->ListLang->Text);
|
|
|
4436 |
if ( lang )
|
|
|
4437 |
{
|
|
|
4438 |
if ( this->RadioInstallAfter->Checked || this->RadioInstallBefore->Checked )
|
46 |
cycrow |
4439 |
m_pPackage->removeInstallText(lang, true);
|
1 |
cycrow |
4440 |
else if ( this->RadioUninstallAfter->Checked || this->RadioUninstallBefore->Checked )
|
46 |
cycrow |
4441 |
m_pPackage->removeInstallText(lang, false);
|
1 |
cycrow |
4442 |
this->UpdateText();
|
|
|
4443 |
this->UpdateChanged();
|
|
|
4444 |
}
|
|
|
4445 |
}
|
|
|
4446 |
private: System::Void ContextWare_Opening(System::Object^ sender, System::ComponentModel::CancelEventArgs^ e) {
|
|
|
4447 |
Point ^mousePoint = this->ListWares->PointToClient(this->ContextWare->MousePosition);
|
|
|
4448 |
ListViewItem ^item = this->ListWares->GetItemAt(mousePoint->X, mousePoint->Y);
|
|
|
4449 |
if ( item )
|
|
|
4450 |
{
|
|
|
4451 |
this->ContextWareSep1->Visible = true;
|
|
|
4452 |
this->ContextWareRemove->Visible = true;
|
|
|
4453 |
this->ContextWareEdit->Visible = true;
|
|
|
4454 |
this->ContextWareRemove->Text = "Remove: " + item->Text;
|
|
|
4455 |
this->ContextWareEdit->Text = "Edit: " + item->Text;
|
|
|
4456 |
}
|
|
|
4457 |
else
|
|
|
4458 |
{
|
|
|
4459 |
this->ContextWareSep1->Visible = false;
|
|
|
4460 |
this->ContextWareRemove->Visible = false;
|
|
|
4461 |
this->ContextWareEdit->Visible = false;
|
|
|
4462 |
}
|
|
|
4463 |
|
|
|
4464 |
if ( this->ListWares->Items->Count )
|
|
|
4465 |
{
|
|
|
4466 |
this->ContextWareSep2->Visible = true;
|
|
|
4467 |
this->ContextWareClear->Visible = true;
|
|
|
4468 |
}
|
|
|
4469 |
else
|
|
|
4470 |
{
|
|
|
4471 |
this->ContextWareSep2->Visible = false;
|
|
|
4472 |
this->ContextWareClear->Visible = false;
|
|
|
4473 |
}
|
|
|
4474 |
|
|
|
4475 |
m_pSelectedItem = item;
|
|
|
4476 |
e->Cancel = false;
|
|
|
4477 |
}
|
|
|
4478 |
private: System::Void ContextWareClear_Click(System::Object^ sender, System::EventArgs^ e) {
|
216 |
cycrow |
4479 |
((CSpkFile *)m_pPackage)->clearWares();
|
1 |
cycrow |
4480 |
this->UpdateWares();
|
|
|
4481 |
}
|
|
|
4482 |
private: System::Void ContextWareRemove_Click(System::Object^ sender, System::EventArgs^ e) {
|
|
|
4483 |
if ( this->ListWares->SelectedItems->Count )
|
|
|
4484 |
{
|
|
|
4485 |
for ( int i = 0; i < this->ListWares->SelectedItems->Count; i++ )
|
216 |
cycrow |
4486 |
((CSpkFile *)m_pPackage)->removeWare(_WS(this->ListWares->SelectedItems[i]->Text));
|
1 |
cycrow |
4487 |
this->UpdateWares();
|
|
|
4488 |
}
|
|
|
4489 |
}
|
|
|
4490 |
private: System::Void addWareToolStripMenuItem_Click(System::Object^ sender, System::EventArgs^ e) {
|
|
|
4491 |
AddWare ^aw = gcnew AddWare;
|
|
|
4492 |
if ( aw->ShowDialog(this) == System::Windows::Forms::DialogResult::OK )
|
|
|
4493 |
{
|
|
|
4494 |
if ( aw->GetID()->Length < 1 )
|
|
|
4495 |
MessageBox::Show(this, "Invalid ware ID, entry cant be empty", "Invalid Entry", MessageBoxButtons::OK, MessageBoxIcon::Warning);
|
|
|
4496 |
else
|
|
|
4497 |
{
|
|
|
4498 |
SWares *w = new SWares;
|
|
|
4499 |
w->iTextID = aw->GetTextID();
|
|
|
4500 |
w->iTextPage = aw->GetTextPage();
|
|
|
4501 |
w->cType = CPackages::ConvertWareTypeBack(aw->GetType());
|
|
|
4502 |
w->iNotority = aw->GetMinNotoriety();
|
|
|
4503 |
w->iPrice = aw->GetPrice();
|
|
|
4504 |
w->iVolumn = aw->GetVolumn();
|
|
|
4505 |
w->iSize = aw->GetSize();
|
216 |
cycrow |
4506 |
w->sID = _WS(aw->GetID());
|
|
|
4507 |
((CSpkFile *)m_pPackage)->addWare(w);
|
1 |
cycrow |
4508 |
this->UpdateWares();
|
|
|
4509 |
}
|
|
|
4510 |
}
|
|
|
4511 |
}
|
|
|
4512 |
private: System::Void ContextWareEdit_Click(System::Object^ sender, System::EventArgs^ e) {
|
216 |
cycrow |
4513 |
SWares *w = ((CSpkFile *)m_pPackage)->findWare(_WS(m_pSelectedItem->Text));
|
1 |
cycrow |
4514 |
if ( w )
|
|
|
4515 |
{
|
|
|
4516 |
AddWare ^aw = gcnew AddWare;
|
191 |
cycrow |
4517 |
aw->SetEdit(_US(w->sID));
|
1 |
cycrow |
4518 |
aw->SetType(CPackages::ConvertWareType(w->cType));
|
|
|
4519 |
aw->SetSize(w->iSize);
|
|
|
4520 |
aw->SetPrice(w->iPrice);
|
|
|
4521 |
aw->SetMinNotoriety(w->iNotority);
|
|
|
4522 |
aw->SetVolumn(w->iVolumn);
|
|
|
4523 |
if ( w->iTextPage == 0 || w->iTextID <= 0 )
|
|
|
4524 |
aw->SetNoText();
|
|
|
4525 |
else
|
|
|
4526 |
aw->SetTextPage(w->iTextPage, w->iTextID);
|
|
|
4527 |
if ( aw->ShowDialog(this) == System::Windows::Forms::DialogResult::OK )
|
|
|
4528 |
{
|
|
|
4529 |
w->cType = CPackages::ConvertWareTypeBack(aw->GetType());
|
|
|
4530 |
w->iNotority = aw->GetMinNotoriety();
|
|
|
4531 |
w->iPrice = aw->GetPrice();
|
|
|
4532 |
w->iVolumn = aw->GetVolumn();
|
|
|
4533 |
w->iSize = aw->GetSize();
|
|
|
4534 |
w->iTextID = aw->GetTextID();
|
|
|
4535 |
w->iTextPage = aw->GetTextPage();
|
|
|
4536 |
this->UpdateWares();
|
|
|
4537 |
}
|
|
|
4538 |
}
|
|
|
4539 |
}
|
|
|
4540 |
private: System::Void ListWares_SelectedIndexChanged(System::Object^ sender, System::EventArgs^ e) {
|
|
|
4541 |
this->UpdateWareText();
|
|
|
4542 |
}
|
|
|
4543 |
private: System::Void ContextWareText_Opening(System::Object^ sender, System::ComponentModel::CancelEventArgs^ e) {
|
|
|
4544 |
Point ^mousePoint = this->ListWareText->PointToClient(this->ContextWareText->MousePosition);
|
|
|
4545 |
ListViewItem ^item = this->ListWareText->GetItemAt(mousePoint->X, mousePoint->Y);
|
|
|
4546 |
|
|
|
4547 |
this->ContextWTEdit->Visible = (item) ? true : false;
|
|
|
4548 |
this->ContextWTSep1->Visible = (item) ? true : false;
|
|
|
4549 |
this->ContextWTRemove->Visible = (item) ? true : false;
|
|
|
4550 |
|
|
|
4551 |
if ( this->ListWareText->Items->Count )
|
|
|
4552 |
{
|
|
|
4553 |
this->ContextWTClear->Visible = true;
|
|
|
4554 |
this->ContextWTSep2->Visible = true;
|
|
|
4555 |
}
|
|
|
4556 |
else
|
|
|
4557 |
{
|
|
|
4558 |
this->ContextWTClear->Visible = false;
|
|
|
4559 |
this->ContextWTSep2->Visible = false;
|
|
|
4560 |
}
|
|
|
4561 |
|
|
|
4562 |
m_pSelectedItem = item;
|
|
|
4563 |
e->Cancel = false;
|
|
|
4564 |
}
|
|
|
4565 |
private: System::Void ContextWTClear_Click(System::Object^ sender, System::EventArgs^ e) {
|
|
|
4566 |
if ( this->ListWares->SelectedItems->Count )
|
|
|
4567 |
{
|
216 |
cycrow |
4568 |
SWares *w = ((CSpkFile *)m_pPackage)->findWare(_WS(this->ListWares->SelectedItems[0]->Text));
|
1 |
cycrow |
4569 |
if ( w )
|
|
|
4570 |
{
|
|
|
4571 |
w->lText.clear();
|
|
|
4572 |
this->UpdateWareText();
|
|
|
4573 |
}
|
|
|
4574 |
}
|
|
|
4575 |
}
|
|
|
4576 |
private: System::Void addTextToolStripMenuItem_Click(System::Object^ sender, System::EventArgs^ e) {
|
216 |
cycrow |
4577 |
SWares *w = ((CSpkFile *)m_pPackage)->findWare(_WS(this->ListWares->SelectedItems[0]->Text));
|
1 |
cycrow |
4578 |
if ( w )
|
|
|
4579 |
{
|
191 |
cycrow |
4580 |
AddWareText ^wt = gcnew AddWareText(_US(w->sID));
|
1 |
cycrow |
4581 |
if ( wt->ShowDialog(this) == System::Windows::Forms::DialogResult::OK )
|
|
|
4582 |
{
|
197 |
cycrow |
4583 |
((CSpkFile *)m_pPackage)->addWareText(w, wt->GetLang(), _WS(wt->GetName()), _WS(wt->GetDescription()));
|
1 |
cycrow |
4584 |
this->UpdateWareText();
|
|
|
4585 |
}
|
|
|
4586 |
}
|
|
|
4587 |
}
|
|
|
4588 |
|
|
|
4589 |
private: System::Void ContextWTEdit_Click(System::Object^ sender, System::EventArgs^ e) {
|
216 |
cycrow |
4590 |
SWares *w = ((CSpkFile *)m_pPackage)->findWare(_WS(this->ListWares->SelectedItems[0]->Text));
|
1 |
cycrow |
4591 |
if ( w )
|
|
|
4592 |
{
|
191 |
cycrow |
4593 |
AddWareText ^wt = gcnew AddWareText(_US(w->sID));
|
1 |
cycrow |
4594 |
wt->SetEdit(System::Convert::ToInt32(m_pSelectedItem->Text));
|
|
|
4595 |
wt->SetName(m_pSelectedItem->SubItems[1]->Text);
|
|
|
4596 |
wt->SetDesc(m_pSelectedItem->SubItems[2]->Text);
|
|
|
4597 |
if ( wt->ShowDialog(this) == System::Windows::Forms::DialogResult::OK )
|
|
|
4598 |
{
|
197 |
cycrow |
4599 |
((CSpkFile *)m_pPackage)->addWareText(w, wt->GetLang(), _WS(wt->GetName()), _WS(wt->GetDescription()));
|
1 |
cycrow |
4600 |
this->UpdateWareText();
|
|
|
4601 |
}
|
|
|
4602 |
}
|
|
|
4603 |
}
|
|
|
4604 |
private: System::Void ContextWTRemove_Click(System::Object^ sender, System::EventArgs^ e) {
|
|
|
4605 |
if ( this->ListWareText->SelectedItems->Count )
|
|
|
4606 |
{
|
|
|
4607 |
for ( int i = 0; i < this->ListWareText->SelectedItems->Count; i++ )
|
216 |
cycrow |
4608 |
((CSpkFile *)m_pPackage)->removeWareText(_WS(this->ListWares->SelectedItems[0]->Text), System::Convert::ToInt32(this->ListWareText->SelectedItems[i]->Text));
|
1 |
cycrow |
4609 |
this->UpdateWareText();
|
|
|
4610 |
}
|
|
|
4611 |
}
|
|
|
4612 |
private: System::Void ContextFiles_Opening(System::Object^ sender, System::ComponentModel::CancelEventArgs^ e) {
|
|
|
4613 |
Point ^mousePoint = this->ListFiles->PointToClient(this->ContextFiles->MousePosition);
|
|
|
4614 |
ListViewItem ^item = this->ListFiles->GetItemAt(mousePoint->X, mousePoint->Y);
|
|
|
4615 |
|
|
|
4616 |
this->convertToAutoTextFileToolStripMenuItem->Visible = false;
|
|
|
4617 |
this->convertToFakePatchToolStripMenuItem->Visible = false;
|
|
|
4618 |
this->convertToNormalModToolStripMenuItem->Visible = false;
|
|
|
4619 |
this->packFileToolStripMenuItem->Visible = false;
|
|
|
4620 |
this->unpackFileToolStripMenuItem->Visible = false;
|
|
|
4621 |
this->ContextFileEdit->Visible = false;
|
|
|
4622 |
this->renameFileToolStripMenuItem->Visible = false;
|
|
|
4623 |
this->ContextFileSep1->Visible = false;
|
|
|
4624 |
if ( item )
|
|
|
4625 |
{
|
|
|
4626 |
int id = Convert::ToInt32(item->Tag);
|
|
|
4627 |
C_File *f = m_pPackage->GetFileList()->Get(id);
|
|
|
4628 |
if ( f )
|
|
|
4629 |
{
|
|
|
4630 |
this->ContextFileSep1->Visible = true;
|
|
|
4631 |
this->renameFileToolStripMenuItem->Visible = true;
|
|
|
4632 |
this->ContextFileEdit->Visible = C_File::DoesTypeHaveExtraDir(f->GetFileType());
|
216 |
cycrow |
4633 |
if (f->checkFileExt(L"xml") || f->checkFileExt(L"bob") || f->checkFileExt(L"bod"))
|
1 |
cycrow |
4634 |
this->packFileToolStripMenuItem->Visible = true;
|
216 |
cycrow |
4635 |
else if (f->checkFileExt(L"pck") || f->checkFileExt(L"pbb") || f->checkFileExt(L"pbd"))
|
1 |
cycrow |
4636 |
this->unpackFileToolStripMenuItem->Visible = true;
|
|
|
4637 |
|
|
|
4638 |
if ( f->GetFileType() == FILETYPE_MOD )
|
|
|
4639 |
{
|
|
|
4640 |
if ( f->IsFakePatch() )
|
|
|
4641 |
this->convertToNormalModToolStripMenuItem->Visible = true;
|
|
|
4642 |
else
|
|
|
4643 |
this->convertToFakePatchToolStripMenuItem->Visible = true;
|
|
|
4644 |
}
|
130 |
cycrow |
4645 |
else if ( f->fileType() == FILETYPE_TEXT && !f->isAutoTextFile() )
|
1 |
cycrow |
4646 |
this->convertToAutoTextFileToolStripMenuItem->Visible = true;
|
127 |
cycrow |
4647 |
if (_addGameItem)
|
|
|
4648 |
{
|
|
|
4649 |
bool any = false;
|
|
|
4650 |
for (int i = 0; i < _addGameItem->DropDownItems->Count; ++i)
|
|
|
4651 |
{
|
|
|
4652 |
ToolStripItem ^toolItem = _addGameItem->DropDownItems[i];
|
|
|
4653 |
int iGame = Convert::ToInt32(toolItem->Tag);
|
|
|
4654 |
if (f->game() & 1 << iGame)
|
|
|
4655 |
toolItem->Visible = false;
|
|
|
4656 |
else
|
|
|
4657 |
{
|
|
|
4658 |
toolItem->Visible = true;
|
|
|
4659 |
any = true;
|
|
|
4660 |
}
|
|
|
4661 |
}
|
|
|
4662 |
_addGameItem->Enabled = any;
|
|
|
4663 |
}
|
|
|
4664 |
if (_removeGameItem)
|
|
|
4665 |
{
|
|
|
4666 |
bool any = false;
|
|
|
4667 |
for (int i = 0; i < _removeGameItem->DropDownItems->Count; ++i)
|
|
|
4668 |
{
|
|
|
4669 |
ToolStripItem ^toolItem = _removeGameItem->DropDownItems[i];
|
|
|
4670 |
int iGame = Convert::ToInt32(toolItem->Tag);
|
|
|
4671 |
if (!(f->game() & 1 << iGame))
|
|
|
4672 |
toolItem->Visible = false;
|
|
|
4673 |
else
|
|
|
4674 |
{
|
|
|
4675 |
toolItem->Visible = true;
|
|
|
4676 |
any = true;
|
|
|
4677 |
}
|
|
|
4678 |
}
|
|
|
4679 |
_removeGameItem->Enabled = any;
|
|
|
4680 |
}
|
1 |
cycrow |
4681 |
}
|
|
|
4682 |
}
|
|
|
4683 |
this->ContextFileDelete->Visible = (item) ? true : false;
|
|
|
4684 |
this->ContextFileClear->Visible = (this->ListFiles->Items->Count) ? true : false;
|
|
|
4685 |
this->ContextFileSep2->Visible = (this->ListFiles->Items->Count) ? true : false;
|
|
|
4686 |
|
127 |
cycrow |
4687 |
|
1 |
cycrow |
4688 |
m_pSelectedItem = item;
|
|
|
4689 |
|
|
|
4690 |
e->Cancel = false;
|
|
|
4691 |
}
|
|
|
4692 |
private: System::Void ButGame_Click(System::Object^ sender, System::EventArgs^ e) {
|
|
|
4693 |
this->ContextGames->Show(this->ButGame, this->ButGame->PointToClient(this->ButGame->MousePosition));
|
|
|
4694 |
}
|
|
|
4695 |
private: System::Void ContextGame_Selected(System::Object^ sender, System::EventArgs^ e) {
|
|
|
4696 |
System::Windows::Forms::ToolStripMenuItem ^item = cli::safe_cast<System::Windows::Forms::ToolStripMenuItem ^>(sender);
|
|
|
4697 |
|
|
|
4698 |
this->ButGame->ImageIndex = Convert::ToInt32(item->Tag) - 1;
|
|
|
4699 |
this->ButGame->Text = item->Text;
|
|
|
4700 |
this->ComboVersion->Enabled = true;
|
|
|
4701 |
this->ButGameAdd->Enabled = true;
|
|
|
4702 |
this->UpdateGameVersion();
|
|
|
4703 |
this->ComboVersion->SelectedIndex = 0;
|
|
|
4704 |
}
|
127 |
cycrow |
4705 |
private: System::Void SetGame_Selected(System::Object^ sender, System::EventArgs^ e);
|
|
|
4706 |
private: System::Void AddGame_Selected(System::Object^ sender, System::EventArgs^ e);
|
|
|
4707 |
private: System::Void RemoveGame_Selected(System::Object^ sender, System::EventArgs^ e);
|
1 |
cycrow |
4708 |
private: System::Void ComboPluginType_SelectedIndexChanged(System::Object^ sender, System::EventArgs^ e) {
|
|
|
4709 |
if ( m_pPackage->GetType() == TYPE_SPK )
|
|
|
4710 |
{
|
|
|
4711 |
if ( !m_bLoading )
|
48 |
cycrow |
4712 |
((CSpkFile *)m_pPackage)->setPluginType(this->ComboPluginType->SelectedIndex);
|
1 |
cycrow |
4713 |
this->UpdateChanged();
|
|
|
4714 |
}
|
|
|
4715 |
}
|
|
|
4716 |
private: System::Void CheckExistingText_CheckedChanged(System::Object^ sender, System::EventArgs^ e) {
|
|
|
4717 |
this->ListShipText->Visible = !this->CheckExistingText->Checked;
|
|
|
4718 |
this->NumTextID->Visible = this->CheckExistingText->Checked;
|
|
|
4719 |
if ( !m_bLoading )
|
|
|
4720 |
{
|
|
|
4721 |
if ( this->CheckExistingText->Checked )
|
|
|
4722 |
((CXspFile *)m_pPackage)->SetOriginalDescription(Convert::ToInt32(this->NumTextID->Value));
|
|
|
4723 |
else
|
|
|
4724 |
((CXspFile *)m_pPackage)->SetOriginalDescription(0);
|
|
|
4725 |
}
|
|
|
4726 |
this->UpdateChanged();
|
|
|
4727 |
}
|
|
|
4728 |
private: System::Void CheckShipID_CheckedChanged(System::Object^ sender, System::EventArgs^ e) {
|
|
|
4729 |
if ( m_pPackage->GetType() == TYPE_XSP )
|
|
|
4730 |
{
|
|
|
4731 |
if ( !m_bLoading )
|
|
|
4732 |
((CXspFile *)m_pPackage)->SetExistingShip(true);
|
|
|
4733 |
this->UpdateChanged();
|
|
|
4734 |
}
|
|
|
4735 |
|
|
|
4736 |
}
|
|
|
4737 |
private: System::Void NumTextID_ValueChanged(System::Object^ sender, System::EventArgs^ e) {
|
|
|
4738 |
if ( !m_bLoading )
|
|
|
4739 |
{
|
|
|
4740 |
int i = Convert::ToInt32(this->NumTextID->Value);
|
|
|
4741 |
if ( i > 0 )
|
|
|
4742 |
((CXspFile *)m_pPackage)->SetOriginalDescription(i);
|
|
|
4743 |
}
|
|
|
4744 |
this->UpdateChanged();
|
|
|
4745 |
}
|
|
|
4746 |
private: System::Void TextShipID_TextChanged(System::Object^ sender, System::EventArgs^ e) {
|
|
|
4747 |
if ( !m_bLoading )
|
217 |
cycrow |
4748 |
((CXspFile *)m_pPackage)->setShipID(_WS(this->TextShipID->Text));
|
1 |
cycrow |
4749 |
this->UpdateChanged();
|
|
|
4750 |
}
|
|
|
4751 |
private: System::Void NumTextID_Leave(System::Object^ sender, System::EventArgs^ e) {
|
|
|
4752 |
if ( !m_bLoading )
|
|
|
4753 |
{
|
|
|
4754 |
int i = Convert::ToInt32(this->NumTextID->Value);
|
|
|
4755 |
if ( i > 0 )
|
|
|
4756 |
((CXspFile *)m_pPackage)->SetOriginalDescription(i);
|
|
|
4757 |
}
|
|
|
4758 |
this->UpdateChanged();
|
|
|
4759 |
}
|
|
|
4760 |
private: System::Void CheckSYArgon_CheckedChanged(System::Object^ sender, System::EventArgs^ e) {
|
|
|
4761 |
if ( !m_bLoading )
|
248 |
cycrow |
4762 |
((CXspFile *)m_pPackage)->setShipyard(ShipyardRace::Argon, this->CheckSYArgon->Checked);
|
1 |
cycrow |
4763 |
this->UpdateChanged();
|
|
|
4764 |
}
|
|
|
4765 |
private: System::Void CheckSYBoron_CheckedChanged(System::Object^ sender, System::EventArgs^ e) {
|
|
|
4766 |
if ( !m_bLoading )
|
248 |
cycrow |
4767 |
((CXspFile *)m_pPackage)->setShipyard(ShipyardRace::Boron, this->CheckSYBoron->Checked);
|
1 |
cycrow |
4768 |
this->UpdateChanged();
|
|
|
4769 |
}
|
|
|
4770 |
private: System::Void CheckSYParanid_CheckedChanged(System::Object^ sender, System::EventArgs^ e) {
|
|
|
4771 |
if ( !m_bLoading )
|
248 |
cycrow |
4772 |
((CXspFile *)m_pPackage)->setShipyard(ShipyardRace::Paranid, this->CheckSYParanid->Checked);
|
1 |
cycrow |
4773 |
this->UpdateChanged();
|
|
|
4774 |
}
|
|
|
4775 |
private: System::Void CheckSYTeladi_CheckedChanged(System::Object^ sender, System::EventArgs^ e) {
|
|
|
4776 |
if ( !m_bLoading )
|
248 |
cycrow |
4777 |
((CXspFile *)m_pPackage)->setShipyard(ShipyardRace::Teladi, this->CheckSYTeladi->Checked);
|
1 |
cycrow |
4778 |
this->UpdateChanged();
|
|
|
4779 |
}
|
|
|
4780 |
private: System::Void CheckSYSplit_CheckedChanged(System::Object^ sender, System::EventArgs^ e) {
|
|
|
4781 |
if ( !m_bLoading )
|
248 |
cycrow |
4782 |
((CXspFile *)m_pPackage)->setShipyard(ShipyardRace::Split, this->CheckSYSplit->Checked);
|
1 |
cycrow |
4783 |
this->UpdateChanged();
|
|
|
4784 |
}
|
|
|
4785 |
private: System::Void CheckSYPirate_CheckedChanged(System::Object^ sender, System::EventArgs^ e) {
|
|
|
4786 |
if ( !m_bLoading )
|
248 |
cycrow |
4787 |
((CXspFile *)m_pPackage)->setShipyard(ShipyardRace::Pirates, this->CheckSYPirate->Checked);
|
1 |
cycrow |
4788 |
this->UpdateChanged();
|
|
|
4789 |
}
|
|
|
4790 |
private: System::Void CheckSYFriend_CheckedChanged(System::Object^ sender, System::EventArgs^ e) {
|
|
|
4791 |
if ( !m_bLoading )
|
248 |
cycrow |
4792 |
((CXspFile *)m_pPackage)->setShipyard(ShipyardRace::Friend, this->CheckSYFriend->Checked);
|
1 |
cycrow |
4793 |
this->UpdateChanged();
|
|
|
4794 |
}
|
|
|
4795 |
private: System::Void CheckSYXenon_CheckedChanged(System::Object^ sender, System::EventArgs^ e) {
|
|
|
4796 |
if ( !m_bLoading )
|
248 |
cycrow |
4797 |
((CXspFile *)m_pPackage)->setShipyard(ShipyardRace::Xenon, this->CheckSYXenon->Checked);
|
1 |
cycrow |
4798 |
this->UpdateChanged();
|
|
|
4799 |
}
|
|
|
4800 |
private: System::Void CheckSYTerran_CheckedChanged(System::Object^ sender, System::EventArgs^ e) {
|
|
|
4801 |
if ( !m_bLoading )
|
248 |
cycrow |
4802 |
((CXspFile *)m_pPackage)->setShipyard(ShipyardRace::Terran, this->CheckSYTerran->Checked);
|
1 |
cycrow |
4803 |
this->UpdateChanged();
|
|
|
4804 |
}
|
|
|
4805 |
private: System::Void CheckSYATF_CheckedChanged(System::Object^ sender, System::EventArgs^ e) {
|
|
|
4806 |
if ( !m_bLoading )
|
248 |
cycrow |
4807 |
((CXspFile *)m_pPackage)->setShipyard(ShipyardRace::ATF, this->CheckSYATF->Checked);
|
1 |
cycrow |
4808 |
this->UpdateChanged();
|
|
|
4809 |
}
|
|
|
4810 |
private: System::Void CheckSYYaki_CheckedChanged(System::Object^ sender, System::EventArgs^ e) {
|
|
|
4811 |
if ( !m_bLoading )
|
248 |
cycrow |
4812 |
((CXspFile *)m_pPackage)->setShipyard(ShipyardRace::Yaki, this->CheckSYYaki->Checked);
|
1 |
cycrow |
4813 |
this->UpdateChanged();
|
|
|
4814 |
}
|
|
|
4815 |
private: System::Void ContextShipText_Opening(System::Object^ sender, System::ComponentModel::CancelEventArgs^ e) {
|
|
|
4816 |
Point ^mousePoint = this->ListShipText->PointToClient(this->ContextShipText->MousePosition);
|
|
|
4817 |
ListViewItem ^item = this->ListShipText->GetItemAt(mousePoint->X, mousePoint->Y);
|
|
|
4818 |
|
|
|
4819 |
this->ContextShipTextSep2->Visible = ((CXspFile *)m_pPackage)->AnyTexts();
|
|
|
4820 |
this->ContextShipTextClear->Visible = ((CXspFile *)m_pPackage)->AnyTexts();
|
|
|
4821 |
|
|
|
4822 |
this->ContextShipTextSep1->Visible = (item) ? true : false;
|
|
|
4823 |
this->ContextShipTextEdit->Visible = (item) ? true : false;
|
|
|
4824 |
this->ContextShipTextRemove->Visible = (item) ? true : false;
|
|
|
4825 |
|
|
|
4826 |
m_pSelectedItem = item;
|
|
|
4827 |
e->Cancel = false;
|
|
|
4828 |
}
|
|
|
4829 |
private: System::Void addLanguageToolStripMenuItem_Click(System::Object^ sender, System::EventArgs^ e) {
|
|
|
4830 |
AddShipText ^st = gcnew AddShipText();
|
|
|
4831 |
if ( st->ShowDialog(this) == System::Windows::Forms::DialogResult::OK )
|
|
|
4832 |
{
|
216 |
cycrow |
4833 |
((CXspFile *)m_pPackage)->addText(st->GetLanguage(), _WS(st->GetName()), _WS(st->GetDescription()));
|
1 |
cycrow |
4834 |
this->UpdateShipText();
|
|
|
4835 |
this->UpdateChanged();
|
|
|
4836 |
}
|
|
|
4837 |
}
|
|
|
4838 |
private: System::Void ContextShipTextEdit_Click(System::Object^ sender, System::EventArgs^ e) {
|
|
|
4839 |
AddShipText ^st = gcnew AddShipText();
|
|
|
4840 |
st->SetEdit(Convert::ToInt32(m_pSelectedItem->Text));
|
|
|
4841 |
st->SetLanguage(Convert::ToInt32(m_pSelectedItem->Text));
|
|
|
4842 |
st->SetName(m_pSelectedItem->SubItems[1]->Text);
|
|
|
4843 |
st->SetDescription(m_pSelectedItem->SubItems[2]->Text);
|
|
|
4844 |
if ( st->ShowDialog(this) == System::Windows::Forms::DialogResult::OK )
|
|
|
4845 |
{
|
216 |
cycrow |
4846 |
((CXspFile *)m_pPackage)->addText(st->GetLanguage(), _WS(st->GetName()), _WS(st->GetDescription()));
|
1 |
cycrow |
4847 |
this->UpdateShipText();
|
|
|
4848 |
this->UpdateChanged();
|
|
|
4849 |
}
|
|
|
4850 |
}
|
|
|
4851 |
private: System::Void ContextShipTextRemove_Click(System::Object^ sender, System::EventArgs^ e) {
|
|
|
4852 |
((CXspFile *)m_pPackage)->RemoveText(Convert::ToInt32(m_pSelectedItem->Text));
|
|
|
4853 |
this->UpdateShipText();
|
|
|
4854 |
this->UpdateChanged();
|
|
|
4855 |
}
|
|
|
4856 |
private: System::Void ContextShipTextClear_Click(System::Object^ sender, System::EventArgs^ e) {
|
|
|
4857 |
((CXspFile *)m_pPackage)->ClearText();
|
|
|
4858 |
this->UpdateShipText();
|
|
|
4859 |
this->UpdateChanged();
|
|
|
4860 |
}
|
|
|
4861 |
private: System::Void checkBox1_CheckedChanged(System::Object^ sender, System::EventArgs^ e) {
|
|
|
4862 |
this->TextShipData->ReadOnly = !this->checkBox1->Checked;
|
|
|
4863 |
if ( this->TextShipData->ReadOnly )
|
|
|
4864 |
this->TextShipData->BackColor = System::Drawing::SystemColors::Control;
|
|
|
4865 |
else
|
|
|
4866 |
this->TextShipData->BackColor = System::Drawing::SystemColors::Window;
|
|
|
4867 |
}
|
|
|
4868 |
private: System::Void button3_Click(System::Object^ sender, System::EventArgs^ e) {
|
|
|
4869 |
this->LoadShipData();
|
|
|
4870 |
}
|
|
|
4871 |
private: System::Void ComboShipPart_SelectedIndexChanged(System::Object^ sender, System::EventArgs^ e) {
|
|
|
4872 |
this->UpdateShipPartList();
|
|
|
4873 |
}
|
|
|
4874 |
private: System::Void ListFiles_MouseDoubleClick(System::Object^ sender, System::Windows::Forms::MouseEventArgs^ e) {
|
|
|
4875 |
if ( this->ListFiles->SelectedItems->Count )
|
|
|
4876 |
{
|
|
|
4877 |
ListViewItem ^item = this->ListFiles->SelectedItems[0];
|
|
|
4878 |
if ( item )
|
|
|
4879 |
{
|
|
|
4880 |
if ( C_File::DoesTypeHaveExtraDir(item->ImageIndex) )
|
|
|
4881 |
{
|
|
|
4882 |
InputBox ^input = gcnew InputBox("Enter the directory to install into", (item->SubItems->Count >= 5) ? item->SubItems[4]->Text : "");
|
|
|
4883 |
if ( input->ShowDialog(this) == System::Windows::Forms::DialogResult::OK )
|
|
|
4884 |
{
|
|
|
4885 |
if ( item->SubItems->Count >= 5 )
|
|
|
4886 |
item->SubItems[4]->Text = input->GetInput();
|
|
|
4887 |
else
|
|
|
4888 |
item->SubItems->Add(input->GetInput());
|
206 |
cycrow |
4889 |
int id = _WS(cli::safe_cast<System::String ^>(item->Tag)).toInt();
|
178 |
cycrow |
4890 |
C_File *file = m_pPackage->fileList().Get(id);
|
206 |
cycrow |
4891 |
file->setDir(_WS(input->GetInput()));
|
1 |
cycrow |
4892 |
}
|
|
|
4893 |
}
|
|
|
4894 |
}
|
|
|
4895 |
}
|
|
|
4896 |
}
|
|
|
4897 |
private: System::Void ListShipText_MouseDoubleClick(System::Object^ sender, System::Windows::Forms::MouseEventArgs^ e) {
|
|
|
4898 |
if ( this->ListShipText->Items->Count )
|
|
|
4899 |
{
|
|
|
4900 |
ListViewItem ^item = this->ListShipText->SelectedItems[0];
|
|
|
4901 |
AddShipText ^st = gcnew AddShipText();
|
|
|
4902 |
st->SetEdit(Convert::ToInt32(item->Text));
|
|
|
4903 |
st->SetLanguage(Convert::ToInt32(item->Text));
|
|
|
4904 |
st->SetName(item->SubItems[1]->Text);
|
|
|
4905 |
st->SetDescription(item->SubItems[2]->Text);
|
|
|
4906 |
if ( st->ShowDialog(this) == System::Windows::Forms::DialogResult::OK )
|
|
|
4907 |
{
|
216 |
cycrow |
4908 |
((CXspFile *)m_pPackage)->addText(st->GetLanguage(), _WS(st->GetName()), _WS(st->GetDescription()));
|
1 |
cycrow |
4909 |
item->SubItems[1]->Text = st->GetName();
|
|
|
4910 |
item->SubItems[2]->Text = st->GetDescription();
|
|
|
4911 |
this->UpdateChanged();
|
|
|
4912 |
}
|
|
|
4913 |
}
|
|
|
4914 |
}
|
|
|
4915 |
private: System::Void ListNames_MouseDoubleClick(System::Object^ sender, System::Windows::Forms::MouseEventArgs^ e) {
|
|
|
4916 |
if ( this->ListNames->Items->Count )
|
|
|
4917 |
{
|
|
|
4918 |
ListViewItem ^item = this->ListNames->SelectedItems[0];
|
|
|
4919 |
InputBox ^input = gcnew InputBox("Enter the package name (Language: " + item->Text + ")", item->SubItems[1]->Text);
|
|
|
4920 |
if ( input->ShowDialog(this) == System::Windows::Forms::DialogResult::OK )
|
|
|
4921 |
{
|
206 |
cycrow |
4922 |
m_pPackage->addName(Convert::ToInt32(item->Text), _WS(input->GetInput()));
|
1 |
cycrow |
4923 |
item->SubItems[1]->Text = input->GetInput();
|
|
|
4924 |
this->UpdateChanged();
|
|
|
4925 |
}
|
|
|
4926 |
}
|
|
|
4927 |
}
|
|
|
4928 |
private: System::Void ListMirrors_MouseDoubleClick(System::Object^ sender, System::Windows::Forms::MouseEventArgs^ e) {
|
|
|
4929 |
if ( this->ListMirrors->Items->Count )
|
|
|
4930 |
{
|
|
|
4931 |
ListViewItem ^item = this->ListMirrors->SelectedItems[0];
|
|
|
4932 |
InputBox ^input = gcnew InputBox("Enter the web address for the mirror", item->Text);
|
|
|
4933 |
if ( input->ShowDialog(this) == System::Windows::Forms::DialogResult::OK )
|
|
|
4934 |
{
|
224 |
cycrow |
4935 |
m_pPackage->removeWebMirror(_WS(item->Text));
|
|
|
4936 |
m_pPackage->addWebMirror(_WS(input->GetInput()));
|
1 |
cycrow |
4937 |
item->Text = input->GetInput();
|
|
|
4938 |
this->UpdateChanged();
|
|
|
4939 |
}
|
|
|
4940 |
}
|
|
|
4941 |
}
|
|
|
4942 |
private: System::Void ListWares_MouseDoubleClick(System::Object^ sender, System::Windows::Forms::MouseEventArgs^ e) {
|
|
|
4943 |
if ( this->ListWares->Items->Count )
|
|
|
4944 |
{
|
|
|
4945 |
ListViewItem ^item = this->ListWares->SelectedItems[0];
|
216 |
cycrow |
4946 |
SWares *w = ((CSpkFile *)m_pPackage)->findWare(_WS(item->Text));
|
1 |
cycrow |
4947 |
if ( w )
|
|
|
4948 |
{
|
|
|
4949 |
AddWare ^aw = gcnew AddWare;
|
191 |
cycrow |
4950 |
aw->SetEdit(_US(w->sID));
|
1 |
cycrow |
4951 |
aw->SetType(CPackages::ConvertWareType(w->cType));
|
|
|
4952 |
aw->SetSize(w->iSize);
|
|
|
4953 |
aw->SetPrice(w->iPrice);
|
|
|
4954 |
aw->SetMinNotoriety(w->iNotority);
|
|
|
4955 |
aw->SetVolumn(w->iVolumn);
|
|
|
4956 |
if ( w->iTextPage == 0 || w->iTextID <= 0 )
|
|
|
4957 |
aw->SetNoText();
|
|
|
4958 |
else
|
|
|
4959 |
aw->SetTextPage(w->iTextPage, w->iTextID);
|
|
|
4960 |
if ( aw->ShowDialog(this) == System::Windows::Forms::DialogResult::OK )
|
|
|
4961 |
{
|
|
|
4962 |
w->cType = CPackages::ConvertWareTypeBack(aw->GetType());
|
|
|
4963 |
w->iNotority = aw->GetMinNotoriety();
|
|
|
4964 |
w->iPrice = aw->GetPrice();
|
|
|
4965 |
w->iVolumn = aw->GetVolumn();
|
|
|
4966 |
w->iSize = aw->GetSize();
|
|
|
4967 |
w->iTextID = aw->GetTextID();
|
|
|
4968 |
w->iTextPage = aw->GetTextPage();
|
|
|
4969 |
this->UpdateWares();
|
|
|
4970 |
this->UpdateChanged();
|
|
|
4971 |
}
|
|
|
4972 |
}
|
|
|
4973 |
}
|
|
|
4974 |
}
|
|
|
4975 |
private: System::Void ListWareText_MouseDoubleClick(System::Object^ sender, System::Windows::Forms::MouseEventArgs^ e) {
|
|
|
4976 |
if ( this->ListWareText->Items->Count )
|
|
|
4977 |
{
|
|
|
4978 |
ListViewItem ^item = this->ListWareText->SelectedItems[0];
|
216 |
cycrow |
4979 |
SWares *w = ((CSpkFile *)m_pPackage)->findWare(_WS(this->ListWares->SelectedItems[0]->Text));
|
1 |
cycrow |
4980 |
if ( w )
|
|
|
4981 |
{
|
191 |
cycrow |
4982 |
AddWareText ^wt = gcnew AddWareText(_US(w->sID));
|
1 |
cycrow |
4983 |
wt->SetEdit(System::Convert::ToInt32(item->Text));
|
|
|
4984 |
wt->SetName(item->SubItems[1]->Text);
|
|
|
4985 |
wt->SetDesc(item->SubItems[2]->Text);
|
|
|
4986 |
if ( wt->ShowDialog(this) == System::Windows::Forms::DialogResult::OK )
|
|
|
4987 |
{
|
197 |
cycrow |
4988 |
((CSpkFile *)m_pPackage)->addWareText(w, wt->GetLang(), _WS(wt->GetName()), _WS(wt->GetDescription()));
|
1 |
cycrow |
4989 |
item->SubItems[1]->Text = wt->GetName();
|
|
|
4990 |
item->SubItems[2]->Text = wt->GetDescription();
|
|
|
4991 |
this->UpdateChanged();
|
|
|
4992 |
}
|
|
|
4993 |
}
|
|
|
4994 |
}
|
|
|
4995 |
}
|
|
|
4996 |
private: System::Void toolStripButton2_Click(System::Object^ sender, System::EventArgs^ e) {
|
|
|
4997 |
this->Save();
|
|
|
4998 |
}
|
|
|
4999 |
private: System::Void toolStripButton3_Click(System::Object^ sender, System::EventArgs^ e) {
|
|
|
5000 |
this->SaveAs();
|
|
|
5001 |
}
|
|
|
5002 |
private: System::Void toolStripButton1_Click(System::Object^ sender, System::EventArgs^ e) {
|
|
|
5003 |
bool wildcard = false;
|
|
|
5004 |
if ( MessageBox::Show(this, "Do you want to generate the script using wildcards for files?", "Generate Script - Wildcards", MessageBoxButtons::YesNo, MessageBoxIcon::Question) == System::Windows::Forms::DialogResult::Yes )
|
|
|
5005 |
wildcard = true;
|
|
|
5006 |
|
210 |
cycrow |
5007 |
Utils::WStringList list;
|
127 |
cycrow |
5008 |
if ( !m_pP->generatePackagerScript(m_pPackage, wildcard, &list, 0) )
|
1 |
cycrow |
5009 |
MessageBox::Show(this, "Unable to generated packager script", "Error", MessageBoxButtons::OK, MessageBoxIcon::Error);
|
|
|
5010 |
else
|
|
|
5011 |
{
|
|
|
5012 |
SaveFileDialog ^ofd = gcnew SaveFileDialog();
|
|
|
5013 |
ofd->Filter = "Package Script (*.sps)|*.sps";
|
|
|
5014 |
ofd->Title = "Select file to save packager script to";
|
|
|
5015 |
ofd->AddExtension = true;
|
|
|
5016 |
ofd->FilterIndex = 1;
|
|
|
5017 |
ofd->RestoreDirectory = true;
|
|
|
5018 |
if ( ofd->ShowDialog() == System::Windows::Forms::DialogResult::OK )
|
|
|
5019 |
{
|
206 |
cycrow |
5020 |
if ( CFileIO(_WS(ofd->FileName)).writeFile(&list) )
|
1 |
cycrow |
5021 |
MessageBox::Show(this, "Package script has been saved\n" + ofd->FileName, "Script Saved", MessageBoxButtons::OK, MessageBoxIcon::Information);
|
|
|
5022 |
}
|
|
|
5023 |
}
|
|
|
5024 |
}
|
|
|
5025 |
private: System::Void ContextShipPart_Opening(System::Object^ sender, System::ComponentModel::CancelEventArgs^ e) {
|
|
|
5026 |
Point ^mousePoint = this->ListShipPart->PointToClient(this->ContextShipPart->MousePosition);
|
|
|
5027 |
ListViewItem ^item = this->ListShipPart->GetItemAt(mousePoint->X, mousePoint->Y);
|
|
|
5028 |
|
|
|
5029 |
this->ContextShipPartEdit->Visible = (item) ? true : false;
|
|
|
5030 |
this->ContextShipPartSep1->Visible = (item) ? true : false;
|
|
|
5031 |
this->ContextShipPartRemove->Visible = (item) ? true : false;
|
|
|
5032 |
|
|
|
5033 |
this->ContextShipPartClear->Visible = (this->ListShipPart->Items->Count) ? true : false;
|
|
|
5034 |
this->ContextShipPartSep2->Visible = (this->ListShipPart->Items->Count) ? true : false;
|
|
|
5035 |
|
|
|
5036 |
this->ContextShipPartAdd->Text = "Add: " + this->ComboShipPart->Text;
|
|
|
5037 |
m_pSelectedItem = item;
|
|
|
5038 |
e->Cancel = false;
|
|
|
5039 |
}
|
|
|
5040 |
private: System::Void ContextShipPartAdd_Click(System::Object^ sender, System::EventArgs^ e) {
|
|
|
5041 |
this->EditShipParts(false);
|
|
|
5042 |
}
|
|
|
5043 |
private: System::Void ContextShipPartClear_Click(System::Object^ sender, System::EventArgs^ e) {
|
|
|
5044 |
CXspFile *xsp = (CXspFile *)m_pPackage;
|
|
|
5045 |
switch ( this->ComboShipPart->SelectedIndex )
|
|
|
5046 |
{
|
|
|
5047 |
case 0:
|
|
|
5048 |
xsp->GetComponents()->MemoryClear();
|
|
|
5049 |
break;
|
|
|
5050 |
case 1:
|
|
|
5051 |
xsp->GetDummies()->MemoryClear();
|
|
|
5052 |
break;
|
|
|
5053 |
case 2:
|
|
|
5054 |
xsp->GetCockpits()->MemoryClear();
|
|
|
5055 |
break;
|
|
|
5056 |
case 3:
|
164 |
cycrow |
5057 |
xsp->clearCutData();
|
1 |
cycrow |
5058 |
break;
|
|
|
5059 |
case 4:
|
170 |
cycrow |
5060 |
xsp->clearBodies();
|
1 |
cycrow |
5061 |
break;
|
|
|
5062 |
case 5:
|
170 |
cycrow |
5063 |
xsp->clearAnimations();
|
1 |
cycrow |
5064 |
break;
|
|
|
5065 |
}
|
|
|
5066 |
|
|
|
5067 |
this->UpdateShipPartList();
|
|
|
5068 |
this->UpdateChanged();
|
|
|
5069 |
}
|
|
|
5070 |
private: System::Void ContextShipPartRemove_Click(System::Object^ sender, System::EventArgs^ e) {
|
|
|
5071 |
CXspFile *xsp = (CXspFile *)m_pPackage;
|
|
|
5072 |
switch ( this->ComboShipPart->SelectedIndex )
|
|
|
5073 |
{
|
|
|
5074 |
case 0:
|
216 |
cycrow |
5075 |
if ( xsp->removeComponent(_WS(m_pSelectedItem->Text), _WS(m_pSelectedItem->SubItems[1]->Text), _WS(m_pSelectedItem->SubItems[2]->Text)) )
|
1 |
cycrow |
5076 |
this->UpdateShipPartList();
|
|
|
5077 |
break;
|
|
|
5078 |
case 1:
|
216 |
cycrow |
5079 |
if ( xsp->removeDummy(_WS(m_pSelectedItem->Text), _WS(m_pSelectedItem->SubItems[1]->Text)) )
|
1 |
cycrow |
5080 |
this->UpdateShipPartList();
|
|
|
5081 |
break;
|
|
|
5082 |
case 2:
|
216 |
cycrow |
5083 |
if ( xsp->removeCockpit(_WS(m_pSelectedItem->Text)) )
|
1 |
cycrow |
5084 |
this->UpdateShipPartList();
|
|
|
5085 |
break;
|
|
|
5086 |
case 3:
|
216 |
cycrow |
5087 |
if ( xsp->removeCutData(_WS(m_pSelectedItem->Text)) )
|
1 |
cycrow |
5088 |
this->UpdateShipPartList();
|
|
|
5089 |
break;
|
|
|
5090 |
case 4:
|
216 |
cycrow |
5091 |
if ( xsp->removeBodies(_WS(m_pSelectedItem->Text + L";" + m_pSelectedItem->SubItems[1]->Text)) )
|
1 |
cycrow |
5092 |
this->UpdateShipPartList();
|
|
|
5093 |
break;
|
|
|
5094 |
case 5:
|
216 |
cycrow |
5095 |
if ( xsp->removeAnimation(_WS(m_pSelectedItem->Text)) )
|
1 |
cycrow |
5096 |
this->UpdateShipPartList();
|
|
|
5097 |
break;
|
|
|
5098 |
}
|
|
|
5099 |
this->UpdateChanged();
|
|
|
5100 |
}
|
|
|
5101 |
private: System::Void ContextShipPartEdit_Click(System::Object^ sender, System::EventArgs^ e) {
|
|
|
5102 |
this->EditShipParts(true);
|
|
|
5103 |
}
|
|
|
5104 |
private: System::Void ListShipPart_MouseDoubleClick(System::Object^ sender, System::Windows::Forms::MouseEventArgs^ e) {
|
|
|
5105 |
if ( this->ListShipPart->SelectedItems->Count )
|
|
|
5106 |
{
|
|
|
5107 |
m_pSelectedItem = this->ListShipPart->SelectedItems[0];
|
|
|
5108 |
this->EditShipParts(true);
|
|
|
5109 |
}
|
|
|
5110 |
}
|
|
|
5111 |
private: System::Void ListFiles_DragDrop(System::Object^ sender, System::Windows::Forms::DragEventArgs^ e) {
|
|
|
5112 |
// dropping from outside
|
|
|
5113 |
if ( e->Data->GetDataPresent(DataFormats::FileDrop) )
|
|
|
5114 |
{
|
197 |
cycrow |
5115 |
Utils::WStringList fileList;
|
1 |
cycrow |
5116 |
cli::array<String ^> ^a = (cli::array<String ^> ^)e->Data->GetData(DataFormats::FileDrop, false);
|
|
|
5117 |
int i;
|
|
|
5118 |
for(i = 0; i < a->Length; i++)
|
|
|
5119 |
{
|
|
|
5120 |
if ( IO::DirectoryInfo(a[i]).Exists )
|
|
|
5121 |
this->DropGetDirectories(a[i], &fileList, false);
|
|
|
5122 |
else
|
197 |
cycrow |
5123 |
fileList.pushBack(_WS(a[i]), Utils::WString::Number(SPK::GetAutomaticFiletype(_WS(a[i]), NULL, false)));
|
1 |
cycrow |
5124 |
}
|
|
|
5125 |
|
180 |
cycrow |
5126 |
SPK::AssignAutomaticFiletypes(fileList);
|
1 |
cycrow |
5127 |
|
180 |
cycrow |
5128 |
if ( !fileList.empty() )
|
1 |
cycrow |
5129 |
{
|
|
|
5130 |
SpkExplorer::DropFileDialog ^dropType = gcnew SpkExplorer::DropFileDialog(&fileList);
|
|
|
5131 |
if ( dropType->ShowDialog(this) == Windows::Forms::DialogResult::OK )
|
|
|
5132 |
{
|
180 |
cycrow |
5133 |
for(auto itr = fileList.begin(); itr != fileList.end(); itr++)
|
1 |
cycrow |
5134 |
{
|
197 |
cycrow |
5135 |
FileType type = static_cast<FileType>((*itr)->data.token(L" ", 1).toInt());
|
170 |
cycrow |
5136 |
if ( type == FileType::FILETYPE_UNKNOWN)
|
1 |
cycrow |
5137 |
continue;
|
|
|
5138 |
|
180 |
cycrow |
5139 |
FileType filetype = m_pP->adjustFileType((*itr)->str, type);
|
196 |
cycrow |
5140 |
Utils::WString dir = (filetype == FILETYPE_EXTRA) ? L"PluginManager/Extras/$scriptname" : L"";
|
|
|
5141 |
Utils::WString checkDir = CFileIO((*itr)->str).dir().token(L"/", -1);
|
|
|
5142 |
if ( checkDir.Compare(L"types") )
|
1 |
cycrow |
5143 |
dir = checkDir;
|
|
|
5144 |
|
197 |
cycrow |
5145 |
C_File *f = m_pPackage->addFile((*itr)->str, dir, filetype);
|
196 |
cycrow |
5146 |
if ( filetype == FILETYPE_MOD && CFileIO((*itr)->str).isFileExtension(L"cat"))
|
197 |
cycrow |
5147 |
m_pPackage->addFile(CFileIO((*itr)->str).changeFileExtension(L"dat"), L"", filetype);
|
196 |
cycrow |
5148 |
else if ( filetype == FILETYPE_MOD && CFileIO((*itr)->str).isFileExtension(L"dat"))
|
197 |
cycrow |
5149 |
m_pPackage->addFile(CFileIO((*itr)->str).changeFileExtension(L"cat"), L"", filetype);
|
1 |
cycrow |
5150 |
}
|
|
|
5151 |
this->UpdateFileList();
|
|
|
5152 |
this->UpdateDisplayPic();
|
|
|
5153 |
this->UpdateChanged();
|
|
|
5154 |
}
|
|
|
5155 |
}
|
|
|
5156 |
return;
|
|
|
5157 |
}
|
|
|
5158 |
}
|
|
|
5159 |
private: System::Void ListFiles_DragOver(System::Object^ sender, System::Windows::Forms::DragEventArgs^ e) {
|
|
|
5160 |
e->Effect = DragDropEffects::None;
|
|
|
5161 |
if ( e->Data->GetDataPresent(DataFormats::FileDrop) )
|
|
|
5162 |
e->Effect = DragDropEffects::Copy;
|
|
|
5163 |
}
|
|
|
5164 |
private: System::Void ContextDep_Opening(System::Object^ sender, System::ComponentModel::CancelEventArgs^ e) {
|
|
|
5165 |
Point ^mousePoint = this->ListDep->PointToClient(this->ContextDep->MousePosition);
|
|
|
5166 |
ListViewItem ^item = this->ListDep->GetItemAt(mousePoint->X, mousePoint->Y);
|
|
|
5167 |
|
|
|
5168 |
this->editSelectedToolStripMenuItem->Visible = (item) ? true : false;
|
|
|
5169 |
this->ContextDepRemove->Visible = (item) ? true : false;
|
|
|
5170 |
this->ContextDepSep1->Visible = (item) ? true : false;
|
|
|
5171 |
|
|
|
5172 |
bool clear = (this->ListDep->Items->Count) ? true : false;
|
|
|
5173 |
|
|
|
5174 |
if ( this->ListDep->Items->Count == 1 && String::Compare("<package>", this->ListDep->Items[0]->Text) == 0 && String::Compare("<author>", this->ListDep->Items[0]->SubItems[1]->Text) == 0)
|
|
|
5175 |
clear = false;
|
|
|
5176 |
|
|
|
5177 |
this->ContextDepClear->Visible = clear;
|
|
|
5178 |
this->ContextDepSep2->Visible = clear;
|
|
|
5179 |
|
|
|
5180 |
if ( item && String::Compare("<package>", item->Text) == 0 && String::Compare("<author>", item->SubItems[1]->Text) == 0 )
|
|
|
5181 |
this->ContextDepRemove->Visible = false;
|
|
|
5182 |
m_pSelectedItem = item;
|
|
|
5183 |
e->Cancel = false;
|
|
|
5184 |
}
|
|
|
5185 |
private: System::Void ContextDepClear_Click(System::Object^ sender, System::EventArgs^ e) {
|
|
|
5186 |
m_pPackage->ClearNeededPackages();
|
|
|
5187 |
this->UpdateDependacies();
|
|
|
5188 |
this->UpdateChanged();
|
|
|
5189 |
}
|
|
|
5190 |
private: System::Void ContextDepRemove_Click(System::Object^ sender, System::EventArgs^ e) {
|
|
|
5191 |
if ( String::Compare("<package>", m_pSelectedItem->Text) == 0 && String::Compare("<author>", m_pSelectedItem->SubItems[1]->Text) == 0 )
|
|
|
5192 |
return;
|
203 |
cycrow |
5193 |
m_pPackage->removePackageNeeded(_WS(m_pSelectedItem->Text), _WS(m_pSelectedItem->SubItems[1]->Text));
|
1 |
cycrow |
5194 |
this->UpdateDependacies();
|
|
|
5195 |
this->UpdateChanged();
|
|
|
5196 |
}
|
|
|
5197 |
private: System::Void manualToolStripMenuItem_Click(System::Object^ sender, System::EventArgs^ e) {
|
|
|
5198 |
AddDepend ^depend = gcnew AddDepend();
|
|
|
5199 |
if ( depend->ShowDialog(this) == Windows::Forms::DialogResult::OK )
|
|
|
5200 |
{
|
204 |
cycrow |
5201 |
m_pPackage->addNeededLibrary(_WS(depend->GetName()), _WS(depend->GetAuthor()), _WS(depend->GetVersion()));
|
1 |
cycrow |
5202 |
this->UpdateDependacies();
|
|
|
5203 |
this->UpdateChanged();
|
|
|
5204 |
}
|
|
|
5205 |
}
|
|
|
5206 |
private: System::Void fromPackageToolStripMenuItem_Click(System::Object^ sender, System::EventArgs^ e) {
|
|
|
5207 |
OpenFileDialog ^ofd = gcnew OpenFileDialog();
|
|
|
5208 |
ofd->Filter = "Package Files (*.spk)|*.spk";
|
|
|
5209 |
ofd->Title = "Select the package to be used as a dependacy";
|
|
|
5210 |
ofd->FilterIndex = 1;
|
|
|
5211 |
ofd->RestoreDirectory = true;
|
|
|
5212 |
ofd->Multiselect = false;
|
|
|
5213 |
|
|
|
5214 |
if ( ofd->ShowDialog(this) == System::Windows::Forms::DialogResult::OK )
|
|
|
5215 |
{
|
|
|
5216 |
int error;
|
206 |
cycrow |
5217 |
CBaseFile *p = m_pP->openPackage(_WS(ofd->FileName), &error, 0, SPKREAD_VALUES);
|
1 |
cycrow |
5218 |
if ( p )
|
|
|
5219 |
{
|
203 |
cycrow |
5220 |
m_pPackage->addNeededLibrary(p->name(), p->author(), p->version());
|
1 |
cycrow |
5221 |
this->UpdateDependacies();
|
|
|
5222 |
this->UpdateChanged();
|
|
|
5223 |
}
|
|
|
5224 |
}
|
|
|
5225 |
}
|
|
|
5226 |
private: System::Void editSelectedToolStripMenuItem_Click(System::Object^ sender, System::EventArgs^ e) {
|
|
|
5227 |
this->EditDepend();
|
|
|
5228 |
}
|
|
|
5229 |
private: System::Void ListDep_MouseDoubleClick(System::Object^ sender, System::Windows::Forms::MouseEventArgs^ e) {
|
|
|
5230 |
if ( this->ListDep->SelectedItems->Count )
|
|
|
5231 |
{
|
|
|
5232 |
m_pSelectedItem = this->ListDep->SelectedItems[0];
|
|
|
5233 |
this->EditDepend();
|
|
|
5234 |
}
|
|
|
5235 |
}
|
|
|
5236 |
private: System::Void ContextFileClear_Click(System::Object^ sender, System::EventArgs^ e) {
|
|
|
5237 |
m_pPackage->GetFileList()->MemoryClear();
|
50 |
cycrow |
5238 |
m_pPackage->adjustChanged(true);
|
1 |
cycrow |
5239 |
this->UpdateChanged();
|
|
|
5240 |
this->UpdateFileList();
|
|
|
5241 |
this->UpdateDisplayPic();
|
|
|
5242 |
}
|
|
|
5243 |
private: System::Void ContextFileDelete_Click(System::Object^ sender, System::EventArgs^ e) {
|
|
|
5244 |
this->RemoveSelectedFiles();
|
|
|
5245 |
}
|
|
|
5246 |
private: System::Void addFileToolStripMenuItem_Click(System::Object^ sender, System::EventArgs^ e) {
|
|
|
5247 |
this->AddNewFile();
|
|
|
5248 |
}
|
|
|
5249 |
private: System::Void ContextFileEdit_Click(System::Object^ sender, System::EventArgs^ e) {
|
|
|
5250 |
InputBox ^input = gcnew InputBox("Enter the directory to install into", m_pSelectedItem->SubItems[4]->Text);
|
|
|
5251 |
if ( input->ShowDialog(this) == System::Windows::Forms::DialogResult::OK )
|
|
|
5252 |
{
|
|
|
5253 |
m_pSelectedItem->SubItems[4]->Text = input->GetInput();
|
|
|
5254 |
int id = Convert::ToInt32(m_pSelectedItem->Tag);
|
178 |
cycrow |
5255 |
C_File *file = m_pPackage->fileList().Get(id);
|
206 |
cycrow |
5256 |
file->setDir(_WS(input->GetInput()));
|
1 |
cycrow |
5257 |
}
|
|
|
5258 |
}
|
|
|
5259 |
private: System::Void TextWebAddress_TextChanged_1(System::Object^ sender, System::EventArgs^ e) {
|
206 |
cycrow |
5260 |
if ( !m_bLoading ) m_pPackage->setWebAddress(_WS(this->TextWebAddress->Text));
|
1 |
cycrow |
5261 |
this->UpdateChanged();
|
|
|
5262 |
}
|
|
|
5263 |
private: System::Void TextCustomType_TextChanged(System::Object^ sender, System::EventArgs^ e) {
|
|
|
5264 |
if ( !m_bLoading )
|
214 |
cycrow |
5265 |
((CSpkFile *)m_pPackage)->setScriptType(_WS(this->TextCustomType->Text));
|
1 |
cycrow |
5266 |
this->UpdateChanged();
|
|
|
5267 |
}
|
|
|
5268 |
private: System::Void fromFileToolStripMenuItem_Click(System::Object^ sender, System::EventArgs^ e) {
|
|
|
5269 |
OpenFileDialog ^ofd = gcnew OpenFileDialog();
|
|
|
5270 |
ofd->Filter = "Text Files (*.xml *.pck)|*.xml;*.pck";
|
|
|
5271 |
ofd->Title = "Select the text file(s) to load text from";
|
|
|
5272 |
ofd->FilterIndex = 1;
|
|
|
5273 |
ofd->RestoreDirectory = true;
|
|
|
5274 |
ofd->Multiselect = true;
|
|
|
5275 |
|
|
|
5276 |
if ( ofd->ShowDialog(this) == System::Windows::Forms::DialogResult::OK )
|
|
|
5277 |
{
|
|
|
5278 |
array<System::String ^> ^fileArray = ofd->FileNames;
|
|
|
5279 |
for ( int i = 0; i < fileArray->Length; i++ )
|
|
|
5280 |
{
|
197 |
cycrow |
5281 |
((CXspFile *)m_pPackage)->addTextFromFile(_WS(fileArray[i]));
|
50 |
cycrow |
5282 |
m_pPackage->adjustChanged(true);
|
1 |
cycrow |
5283 |
}
|
|
|
5284 |
this->UpdateShipText();
|
|
|
5285 |
this->UpdateChanged();
|
|
|
5286 |
}
|
|
|
5287 |
}
|
|
|
5288 |
private: System::Void fromDirectoryToolStripMenuItem_Click(System::Object^ sender, System::EventArgs^ e) {
|
|
|
5289 |
FolderBrowserDialog ^fbd = gcnew FolderBrowserDialog;
|
|
|
5290 |
fbd->Description = "Select the path to load text files from";
|
|
|
5291 |
if ( fbd->ShowDialog(this) == System::Windows::Forms::DialogResult::OK )
|
|
|
5292 |
{
|
|
|
5293 |
bool added = false;
|
|
|
5294 |
array <System::String ^> ^Files = System::IO::Directory::GetFiles(fbd->SelectedPath, "*.xml");
|
|
|
5295 |
for ( int i = 0; i < Files->Length; i++ )
|
|
|
5296 |
{
|
197 |
cycrow |
5297 |
Utils::WString file = _WS(Files[i]);
|
170 |
cycrow |
5298 |
if ( m_pP->adjustFileType(file, FileType::FILETYPE_UNKNOWN) == FILETYPE_TEXT )
|
1 |
cycrow |
5299 |
{
|
197 |
cycrow |
5300 |
if ( ((CXspFile *)m_pPackage)->addTextFromFile(file) )
|
1 |
cycrow |
5301 |
added = true;
|
|
|
5302 |
}
|
|
|
5303 |
}
|
|
|
5304 |
Files = System::IO::Directory::GetFiles(fbd->SelectedPath, "*.pck");
|
|
|
5305 |
for ( int i = 0; i < Files->Length; i++ )
|
|
|
5306 |
{
|
197 |
cycrow |
5307 |
Utils::WString file = _WS(Files[i]);
|
170 |
cycrow |
5308 |
if ( m_pP->adjustFileType(file, FileType::FILETYPE_UNKNOWN) == FILETYPE_TEXT )
|
1 |
cycrow |
5309 |
{
|
197 |
cycrow |
5310 |
if ( ((CXspFile *)m_pPackage)->addTextFromFile(file) )
|
1 |
cycrow |
5311 |
added = true;
|
|
|
5312 |
}
|
|
|
5313 |
}
|
|
|
5314 |
|
|
|
5315 |
if ( added )
|
|
|
5316 |
{
|
|
|
5317 |
this->UpdateShipText();
|
|
|
5318 |
this->UpdateChanged();
|
|
|
5319 |
}
|
|
|
5320 |
}
|
|
|
5321 |
}
|
|
|
5322 |
private: System::Void fromModToolStripMenuItem_Click(System::Object^ sender, System::EventArgs^ e) {
|
|
|
5323 |
OpenFileDialog ^ofd = gcnew OpenFileDialog();
|
|
|
5324 |
ofd->Filter = "X Mod Files (*.cat)|*.cat";
|
|
|
5325 |
ofd->Title = "Select the mod files to extract texts from";
|
|
|
5326 |
ofd->FilterIndex = 1;
|
|
|
5327 |
ofd->RestoreDirectory = true;
|
|
|
5328 |
ofd->Multiselect = true;
|
|
|
5329 |
|
|
|
5330 |
if ( ofd->ShowDialog(this) == System::Windows::Forms::DialogResult::OK )
|
|
|
5331 |
{
|
|
|
5332 |
array<System::String ^> ^fileArray = ofd->FileNames;
|
|
|
5333 |
for ( int i = 0; i < fileArray->Length; i++ )
|
|
|
5334 |
{
|
|
|
5335 |
CCatFile cat;
|
206 |
cycrow |
5336 |
if ( cat.open(_WS(fileArray[i]), L"", CATREAD_CATDECRYPT, false) == CATERR_NONE )
|
31 |
cycrow |
5337 |
((CXspFile *)m_pPackage)->ExtractTexts(&cat, NULL, -1);
|
1 |
cycrow |
5338 |
}
|
|
|
5339 |
this->UpdateShipText();
|
|
|
5340 |
this->UpdateChanged();
|
|
|
5341 |
}
|
|
|
5342 |
|
|
|
5343 |
}
|
|
|
5344 |
private: System::Void importToolStripMenuItem_Click(System::Object^ sender, System::EventArgs^ e) {
|
|
|
5345 |
OpenFileDialog ^ofd = gcnew OpenFileDialog();
|
|
|
5346 |
ofd->FilterIndex = 1;
|
|
|
5347 |
ofd->RestoreDirectory = true;
|
|
|
5348 |
ofd->Multiselect = false;
|
|
|
5349 |
String ^type;
|
|
|
5350 |
|
|
|
5351 |
switch ( this->ComboShipPart->SelectedIndex )
|
|
|
5352 |
{
|
|
|
5353 |
case 0:
|
|
|
5354 |
type = "Components";
|
|
|
5355 |
break;
|
|
|
5356 |
case 1:
|
|
|
5357 |
type = "Dummies";
|
|
|
5358 |
break;
|
|
|
5359 |
case 2:
|
|
|
5360 |
type = "TCockpits";
|
|
|
5361 |
break;
|
|
|
5362 |
case 3:
|
|
|
5363 |
type = "CutData";
|
|
|
5364 |
break;
|
|
|
5365 |
case 4:
|
|
|
5366 |
type = "Bodies";
|
|
|
5367 |
break;
|
|
|
5368 |
case 5:
|
|
|
5369 |
type = "Animations";
|
|
|
5370 |
break;
|
|
|
5371 |
}
|
|
|
5372 |
ofd->Filter = "All|" + type + ".pck;" + type + ".txt;*.cat|Mod Files|*.cat|" + type + "|" + type + ".pck;" + type + ".txt";
|
|
|
5373 |
ofd->Title = "Select the " + type + "/mod file to import data from";
|
|
|
5374 |
|
|
|
5375 |
if ( ofd->ShowDialog(this) == System::Windows::Forms::DialogResult::OK )
|
|
|
5376 |
{
|
|
|
5377 |
String ^f = ExtractImport(ofd->FileName, type);
|
|
|
5378 |
|
|
|
5379 |
if ( !f->Length )
|
|
|
5380 |
{
|
|
|
5381 |
MessageBox::Show(this, "No data to import from file\n" + ofd->FileName + "\nType = " + type, "Error Importing", MessageBoxButtons::OK, MessageBoxIcon::Error);
|
|
|
5382 |
return;
|
|
|
5383 |
}
|
|
|
5384 |
|
|
|
5385 |
switch ( this->ComboShipPart->SelectedIndex )
|
|
|
5386 |
{
|
|
|
5387 |
case 0:
|
|
|
5388 |
case 1:
|
|
|
5389 |
case 2:
|
|
|
5390 |
case 3:
|
|
|
5391 |
case 4:
|
|
|
5392 |
this->ImportData(f, this->ComboShipPart->SelectedIndex);
|
|
|
5393 |
break;
|
|
|
5394 |
case 5:
|
|
|
5395 |
this->ImportAnimations(f);
|
|
|
5396 |
break;
|
|
|
5397 |
}
|
|
|
5398 |
|
264 |
cycrow |
5399 |
if ( IO::File::Exists(_US(CPackages::tempDirectory() + L"/tmp.dat")) )
|
|
|
5400 |
IO::File::Delete(_US(CPackages::tempDirectory() + L"/tmp.dat"));
|
1 |
cycrow |
5401 |
}
|
|
|
5402 |
}
|
|
|
5403 |
private: System::Void TextShipData_TextChanged(System::Object^ sender, System::EventArgs^ e) {
|
217 |
cycrow |
5404 |
((CXspFile *)m_pPackage)->setShipData(_WS(this->TextShipData->Text));
|
1 |
cycrow |
5405 |
this->UpdateChanged();
|
|
|
5406 |
}
|
|
|
5407 |
private: System::Void toolTip1_Popup(System::Object^ sender, System::Windows::Forms::PopupEventArgs^ e) {
|
|
|
5408 |
ToolTip ^tip = cli::safe_cast<ToolTip ^>(sender);
|
|
|
5409 |
tip->ToolTipTitle = e->AssociatedControl->Text;
|
|
|
5410 |
}
|
|
|
5411 |
private: System::Void toolTip2_Popup(System::Object^ sender, System::Windows::Forms::PopupEventArgs^ e) {
|
|
|
5412 |
ToolTip ^tip = cli::safe_cast<ToolTip ^>(sender);
|
|
|
5413 |
tip->ToolTipTitle = Convert::ToString(e->AssociatedControl->Tag);
|
|
|
5414 |
}
|
|
|
5415 |
private: System::Void packFileToolStripMenuItem_Click(System::Object^ sender, System::EventArgs^ e) {
|
|
|
5416 |
if ( !m_pSelectedItem ) return;
|
|
|
5417 |
|
|
|
5418 |
int id = Convert::ToInt32(m_pSelectedItem->Tag);
|
|
|
5419 |
C_File *f = m_pPackage->GetFileList()->Get(id);
|
|
|
5420 |
|
|
|
5421 |
if ( f )
|
|
|
5422 |
{
|
|
|
5423 |
if ( !f->PCKFile() )
|
158 |
cycrow |
5424 |
MessageBox::Show(this, "There was a problem trying to pack the file\n" + _US(f->filename()), "Error", MessageBoxButtons::OK, MessageBoxIcon::Error);
|
1 |
cycrow |
5425 |
else
|
|
|
5426 |
{
|
226 |
cycrow |
5427 |
if (f->checkFileExt(L"bob"))
|
|
|
5428 |
f->changeFileExt(L"pbb");
|
|
|
5429 |
else if (f->checkFileExt(L"bod"))
|
|
|
5430 |
f->changeFileExt(L"pbd");
|
1 |
cycrow |
5431 |
else
|
226 |
cycrow |
5432 |
f->changeFileExt(L"pck");
|
|
|
5433 |
m_pSelectedItem->SubItems[1]->Text = _US(L"<PACKAGE>/" + f->getNameDirectory(NULL));
|
178 |
cycrow |
5434 |
m_pSelectedItem->SubItems[2]->Text = _US(f->uncompressedSizeString());
|
1 |
cycrow |
5435 |
|
50 |
cycrow |
5436 |
m_pPackage->adjustChanged(true);
|
1 |
cycrow |
5437 |
this->UpdateChanged();
|
|
|
5438 |
}
|
|
|
5439 |
}
|
|
|
5440 |
}
|
|
|
5441 |
private: System::Void unpackFileToolStripMenuItem_Click(System::Object^ sender, System::EventArgs^ e) {
|
|
|
5442 |
if ( !m_pSelectedItem ) return;
|
|
|
5443 |
|
|
|
5444 |
int id = Convert::ToInt32(m_pSelectedItem->Tag);
|
|
|
5445 |
C_File *f = m_pPackage->GetFileList()->Get(id);
|
|
|
5446 |
|
|
|
5447 |
if ( f )
|
|
|
5448 |
{
|
|
|
5449 |
if ( !f->UnPCKFile() )
|
158 |
cycrow |
5450 |
MessageBox::Show(this, "There was a problem trying to unpack the file\n" + _US(f->filename()), "Error", MessageBoxButtons::OK, MessageBoxIcon::Error);
|
1 |
cycrow |
5451 |
else
|
|
|
5452 |
{
|
226 |
cycrow |
5453 |
if (f->checkFileExt(L"pbb"))
|
|
|
5454 |
f->changeFileExt(L"bob");
|
|
|
5455 |
else if (f->checkFileExt(L"pbd"))
|
|
|
5456 |
f->changeFileExt(L"bod");
|
1 |
cycrow |
5457 |
else
|
226 |
cycrow |
5458 |
f->changeFileExt(L"xml");
|
|
|
5459 |
m_pSelectedItem->SubItems[1]->Text = _US(L"<PACKAGE>/" + f->getNameDirectory(NULL));
|
178 |
cycrow |
5460 |
m_pSelectedItem->SubItems[2]->Text = _US(f->uncompressedSizeString());
|
1 |
cycrow |
5461 |
|
50 |
cycrow |
5462 |
m_pPackage->adjustChanged(true);
|
1 |
cycrow |
5463 |
this->UpdateChanged();
|
|
|
5464 |
}
|
|
|
5465 |
}
|
|
|
5466 |
}
|
|
|
5467 |
private: System::Void convertToFakePatchToolStripMenuItem_Click(System::Object^ sender, System::EventArgs^ e) {
|
|
|
5468 |
if ( !m_pSelectedItem ) return;
|
|
|
5469 |
|
|
|
5470 |
int id = Convert::ToInt32(m_pSelectedItem->Tag);
|
|
|
5471 |
C_File *f = m_pPackage->GetFileList()->Get(id);
|
|
|
5472 |
|
|
|
5473 |
if ( f )
|
|
|
5474 |
{
|
170 |
cycrow |
5475 |
m_pPackage->convertFakePatch(f);
|
1 |
cycrow |
5476 |
this->UpdateFileList();
|
|
|
5477 |
}
|
|
|
5478 |
}
|
|
|
5479 |
private: System::Void convertToNormalModToolStripMenuItem_Click(System::Object^ sender, System::EventArgs^ e) {
|
|
|
5480 |
if ( !m_pSelectedItem ) return;
|
|
|
5481 |
|
|
|
5482 |
int id = Convert::ToInt32(m_pSelectedItem->Tag);
|
178 |
cycrow |
5483 |
C_File *f = m_pPackage->fileList().Get(id);
|
1 |
cycrow |
5484 |
|
|
|
5485 |
if ( f )
|
|
|
5486 |
{
|
|
|
5487 |
InputBox ^input = gcnew InputBox("Enter the name you want the mod to be called");
|
|
|
5488 |
if ( input->ShowDialog(this) == Windows::Forms::DialogResult::OK )
|
|
|
5489 |
{
|
|
|
5490 |
if ( input->GetInput()->Length )
|
|
|
5491 |
{
|
224 |
cycrow |
5492 |
m_pPackage->convertNormalMod(f, _WS(input->GetInput()));
|
1 |
cycrow |
5493 |
this->UpdateFileList();
|
|
|
5494 |
}
|
|
|
5495 |
}
|
|
|
5496 |
}
|
|
|
5497 |
}
|
|
|
5498 |
private: System::Void renameFileToolStripMenuItem_Click(System::Object^ sender, System::EventArgs^ e) {
|
|
|
5499 |
if ( !m_pSelectedItem ) return;
|
|
|
5500 |
|
|
|
5501 |
int id = Convert::ToInt32(m_pSelectedItem->Tag);
|
|
|
5502 |
C_File *f = m_pPackage->GetFileList()->Get(id);
|
|
|
5503 |
|
|
|
5504 |
if ( f )
|
|
|
5505 |
{
|
178 |
cycrow |
5506 |
InputBox ^input = gcnew InputBox("Enter the new file name to change to", _US(f->baseName()));
|
1 |
cycrow |
5507 |
if ( input->ShowDialog(this) == Windows::Forms::DialogResult::OK )
|
|
|
5508 |
{
|
|
|
5509 |
if ( input->GetInput()->Length )
|
|
|
5510 |
{
|
224 |
cycrow |
5511 |
m_pPackage->renameFile(f, _WS(input->GetInput()));
|
1 |
cycrow |
5512 |
this->UpdateFileList();
|
|
|
5513 |
}
|
|
|
5514 |
}
|
|
|
5515 |
}
|
|
|
5516 |
}
|
|
|
5517 |
private: System::Void toolStripButton4_Click(System::Object^ sender, System::EventArgs^ e) {
|
49 |
cycrow |
5518 |
if ( m_pPackage->webAddress().empty() )
|
1 |
cycrow |
5519 |
MessageBox::Show(this, "You dont have a primary web address set, you need an address for automatic updates to work", "No Web Address", MessageBoxButtons::OK, MessageBoxIcon::Asterisk);
|
|
|
5520 |
else
|
|
|
5521 |
{
|
|
|
5522 |
FolderBrowserDialog ^fbd = gcnew FolderBrowserDialog;
|
|
|
5523 |
fbd->Description = "Select the path to save the update file to";
|
226 |
cycrow |
5524 |
fbd->SelectedPath = _US(CFileIO(m_pPackage->filename()).dir().findReplace(L"/", L"\\"));
|
1 |
cycrow |
5525 |
if ( fbd->ShowDialog(this) == System::Windows::Forms::DialogResult::OK )
|
|
|
5526 |
{
|
196 |
cycrow |
5527 |
Utils::WString file = m_pPackage->createUpdateFile(_WS(fbd->SelectedPath));
|
134 |
cycrow |
5528 |
if ( !file.empty() )
|
|
|
5529 |
MessageBox::Show(this, "Update file has been created\n" + _US(file) + "\n\nRemember to upload it your web server so its accessable\n" + _US(m_pPackage->webAddress()), "Update File Created", MessageBoxButtons::OK, MessageBoxIcon::Information);
|
1 |
cycrow |
5530 |
}
|
|
|
5531 |
}
|
|
|
5532 |
}
|
|
|
5533 |
private: System::Void button5_Click(System::Object^ sender, System::EventArgs^ e) {
|
94 |
cycrow |
5534 |
CustomiseShip ^ship = gcnew CustomiseShip((CXspFile *)m_pPackage, this->MdiParent, m_pP, this->imageListSmall, this->imageListLarge, this->gameDirectories());
|
1 |
cycrow |
5535 |
if ( ship->ShowDialog(this) == Windows::Forms::DialogResult::OK )
|
|
|
5536 |
this->UpdateView();
|
|
|
5537 |
}
|
|
|
5538 |
private: System::Void ToolCustomise_Click(System::Object^ sender, System::EventArgs^ e) {
|
94 |
cycrow |
5539 |
CustomiseShip ^ship = gcnew CustomiseShip((CXspFile *)m_pPackage, this->MdiParent, m_pP, this->imageListSmall, this->imageListLarge, this->gameDirectories());
|
1 |
cycrow |
5540 |
if ( ship->ShowDialog(this) == Windows::Forms::DialogResult::OK )
|
|
|
5541 |
this->UpdateView();
|
|
|
5542 |
}
|
|
|
5543 |
private: System::Void PackageForm_Load(System::Object^ sender, System::EventArgs^ e) {
|
|
|
5544 |
this->UpdateView();
|
|
|
5545 |
}
|
|
|
5546 |
private: System::Void toolStripButton5_Click(System::Object^ sender, System::EventArgs^ e) {
|
|
|
5547 |
this->Export();
|
|
|
5548 |
}
|
|
|
5549 |
private: System::Void convertToAutoTextFileToolStripMenuItem_Click(System::Object^ sender, System::EventArgs^ e) {
|
|
|
5550 |
if ( !m_pSelectedItem ) return;
|
|
|
5551 |
|
|
|
5552 |
int id = Convert::ToInt32(m_pSelectedItem->Tag);
|
|
|
5553 |
C_File *f = m_pPackage->GetFileList()->Get(id);
|
|
|
5554 |
|
|
|
5555 |
if ( f )
|
|
|
5556 |
{
|
170 |
cycrow |
5557 |
m_pPackage->convertAutoText(f);
|
1 |
cycrow |
5558 |
this->UpdateFileList();
|
|
|
5559 |
}
|
|
|
5560 |
}
|
|
|
5561 |
private: System::Void ButGameAdd_Click(System::Object^ sender, System::EventArgs^ e) {
|
|
|
5562 |
if ( ButGame->ImageIndex < 0 )
|
|
|
5563 |
return;
|
|
|
5564 |
|
|
|
5565 |
if ( this->TextExactVersion->Visible )
|
224 |
cycrow |
5566 |
m_pPackage->AddGameCompatability(ButGame->ImageIndex + 1, _WS(this->TextExactVersion->Text));
|
1 |
cycrow |
5567 |
else
|
46 |
cycrow |
5568 |
m_pPackage->AddGameCompatability(ButGame->ImageIndex + 1, (long)this->ComboVersion->SelectedIndex);
|
1 |
cycrow |
5569 |
|
|
|
5570 |
this->UpdateGamesList();
|
|
|
5571 |
ButGame->Text = "- Select Game -";
|
|
|
5572 |
this->TextExactVersion->Text = "";
|
|
|
5573 |
this->TextExactVersion->Visible = false;
|
|
|
5574 |
this->ComboVersion->Items->Clear();
|
|
|
5575 |
this->ComboVersion->Enabled = false;
|
|
|
5576 |
ButGame->ImageIndex = -1;
|
|
|
5577 |
this->ButGameAdd->Enabled = false;
|
|
|
5578 |
this->UpdateChanged();
|
|
|
5579 |
}
|
|
|
5580 |
private: System::Void ListGames_SelectedIndexChanged(System::Object^ sender, System::EventArgs^ e) {
|
|
|
5581 |
|
|
|
5582 |
if ( !this->ListGames->SelectedItems->Count )
|
|
|
5583 |
return;
|
|
|
5584 |
|
|
|
5585 |
System::Windows::Forms::ListViewItem ^item = this->ListGames->SelectedItems[0];
|
|
|
5586 |
if ( item ) {
|
|
|
5587 |
int game = Convert::ToInt32(item->Tag);
|
|
|
5588 |
if ( game ) {
|
|
|
5589 |
SGameCompat *g = m_pPackage->GetGameCompatability(game);
|
|
|
5590 |
if ( g ) {
|
197 |
cycrow |
5591 |
SGameExe *exe = m_pP->GetGameExe()->game(game - 1);
|
1 |
cycrow |
5592 |
if ( exe ) {
|
|
|
5593 |
this->ButGame->ImageIndex = game - 1;
|
178 |
cycrow |
5594 |
this->ButGame->Text = _US(exe->sName);
|
1 |
cycrow |
5595 |
this->ComboVersion->Enabled = true;
|
|
|
5596 |
this->ButGameAdd->Enabled = true;
|
|
|
5597 |
this->UpdateGameVersion();
|
46 |
cycrow |
5598 |
if ( !g->sVersion.empty() ) {
|
1 |
cycrow |
5599 |
this->ComboVersion->SelectedIndex = this->ComboVersion->Items->Count - 1;
|
|
|
5600 |
this->TextExactVersion->Visible = true;
|
178 |
cycrow |
5601 |
this->TextExactVersion->Text = _US(g->sVersion);
|
1 |
cycrow |
5602 |
}
|
|
|
5603 |
else {
|
|
|
5604 |
this->ComboVersion->SelectedIndex = g->iVersion;
|
|
|
5605 |
this->TextExactVersion->Visible = false;
|
|
|
5606 |
}
|
|
|
5607 |
this->UpdateChanged();
|
|
|
5608 |
}
|
|
|
5609 |
}
|
|
|
5610 |
}
|
|
|
5611 |
}
|
|
|
5612 |
}
|
|
|
5613 |
private: System::Void ListGames_DoubleClick(System::Object^ sender, System::EventArgs^ e) {
|
|
|
5614 |
if ( !this->ListGames->SelectedItems->Count )
|
|
|
5615 |
return;
|
|
|
5616 |
|
|
|
5617 |
System::Windows::Forms::ListViewItem ^item = this->ListGames->SelectedItems[0];
|
|
|
5618 |
if ( !item ) return;
|
|
|
5619 |
|
|
|
5620 |
int game = Convert::ToInt32(item->Tag);
|
|
|
5621 |
if ( !game ) return;
|
|
|
5622 |
|
|
|
5623 |
m_pPackage->RemoveGameCompatability(game);
|
|
|
5624 |
this->UpdateGamesList();
|
|
|
5625 |
this->UpdateChanged();
|
|
|
5626 |
}
|
|
|
5627 |
private: System::Void ComboGameFilter_SelectedIndexChanged(System::Object^ sender, System::EventArgs^ e) {
|
|
|
5628 |
this->UpdateFileList();
|
|
|
5629 |
}
|
237 |
cycrow |
5630 |
private: System::Void butAddGlobal_Click(System::Object^ sender, System::EventArgs^ e) {
|
|
|
5631 |
this->AddNewGlobal();
|
|
|
5632 |
}
|
|
|
5633 |
private: System::Void butGlobalClear_Click(System::Object^ sender, System::EventArgs^ e) {
|
|
|
5634 |
m_pPackage->clearGlobals();
|
|
|
5635 |
this->UpdateGlobals();
|
|
|
5636 |
this->UpdateChanged();
|
|
|
5637 |
}
|
238 |
cycrow |
5638 |
private: System::Void addNewToolStripMenuItem_Click(System::Object^ sender, System::EventArgs^ e) {
|
|
|
5639 |
this->AddNewGlobal();
|
|
|
5640 |
}
|
|
|
5641 |
private: System::Void editSelectedToolStripMenuItem1_Click(System::Object^ sender, System::EventArgs^ e) {
|
|
|
5642 |
this->EditGlobal();
|
|
|
5643 |
}
|
|
|
5644 |
private: System::Void removeSelectedToolStripMenuItem_Click(System::Object^ sender, System::EventArgs^ e) {
|
|
|
5645 |
m_pPackage->removeGlobal(_WS(m_pSelectedItem->Text));
|
|
|
5646 |
this->UpdateGlobals();
|
|
|
5647 |
this->UpdateChanged();
|
|
|
5648 |
}
|
|
|
5649 |
private: System::Void clearAllToolStripMenuItem2_Click(System::Object^ sender, System::EventArgs^ e) {
|
|
|
5650 |
m_pPackage->clearGlobals();
|
|
|
5651 |
this->UpdateGlobals();
|
|
|
5652 |
this->UpdateChanged();
|
|
|
5653 |
}
|
|
|
5654 |
private: System::Void contextGlobal_Opening(System::Object^ sender, System::ComponentModel::CancelEventArgs^ e) {
|
|
|
5655 |
Point^ mousePoint = this->listGlobals->PointToClient(this->contextGlobal->MousePosition);
|
|
|
5656 |
ListViewItem^ item = this->listGlobals->GetItemAt(mousePoint->X, mousePoint->Y);
|
|
|
5657 |
|
|
|
5658 |
this->editSelectedToolStripMenuItem1->Visible = (item) ? true : false;
|
|
|
5659 |
this->removeSelectedToolStripMenuItem->Visible = (item) ? true : false;
|
|
|
5660 |
this->toolStripSeparator6->Visible = (item) ? true : false;
|
|
|
5661 |
|
|
|
5662 |
bool clear = (this->listGlobals->Items->Count) ? true : false;
|
|
|
5663 |
|
|
|
5664 |
this->clearAllToolStripMenuItem2->Visible = clear;
|
|
|
5665 |
this->toolStripSeparator7->Visible = clear;
|
|
|
5666 |
|
|
|
5667 |
m_pSelectedItem = item;
|
|
|
5668 |
e->Cancel = false;
|
|
|
5669 |
}
|
1 |
cycrow |
5670 |
};
|
|
|
5671 |
}
|