Line 27... |
Line 27... |
27 |
EditWares(CPackages *pPackages) : _pPackages(pPackages)
|
27 |
EditWares(CPackages *pPackages) : _pPackages(pPackages)
|
28 |
{
|
28 |
{
|
29 |
InitializeComponent();
|
29 |
InitializeComponent();
|
30 |
|
30 |
|
31 |
loadWares();
|
31 |
loadWares();
|
- |
|
32 |
updateConflicts();
|
32 |
}
|
33 |
}
|
33 |
|
34 |
|
34 |
void loadWares();
|
35 |
void loadWares();
|
- |
|
36 |
void updateConflicts();
|
35 |
|
37 |
|
36 |
protected:
|
38 |
protected:
|
37 |
void editPrice();
|
39 |
void editPrice();
|
38 |
void editNoto(int iNoto);
|
40 |
void editNoto(int iNoto);
|
39 |
void reset();
|
41 |
void reset();
|
Line 86... |
Line 88... |
86 |
private: System::Windows::Forms::ToolStripMenuItem^ toolStripMenuItem13;
|
88 |
private: System::Windows::Forms::ToolStripMenuItem^ toolStripMenuItem13;
|
87 |
private: System::Windows::Forms::ToolStripMenuItem^ toolStripMenuItem14;
|
89 |
private: System::Windows::Forms::ToolStripMenuItem^ toolStripMenuItem14;
|
88 |
private: System::Windows::Forms::ToolStripMenuItem^ toolStripMenuItem15;
|
90 |
private: System::Windows::Forms::ToolStripMenuItem^ toolStripMenuItem15;
|
89 |
private: System::Windows::Forms::ToolStripMenuItem^ toolStripMenuItem16;
|
91 |
private: System::Windows::Forms::ToolStripMenuItem^ toolStripMenuItem16;
|
90 |
private: System::Windows::Forms::ToolStripMenuItem^ toolStripMenuItem17;
|
92 |
private: System::Windows::Forms::ToolStripMenuItem^ toolStripMenuItem17;
|
- |
|
93 |
private: System::Windows::Forms::TabControl^ tabControl1;
|
- |
|
94 |
private: System::Windows::Forms::TabPage^ tabPage1;
|
- |
|
95 |
private: System::Windows::Forms::TabPage^ tabPage2;
|
- |
|
96 |
private: System::Windows::Forms::ListView^ listView2;
|
- |
|
97 |
private: System::Windows::Forms::ColumnHeader^ columnHeader9;
|
- |
|
98 |
private: System::Windows::Forms::ColumnHeader^ columnHeader10;
|
- |
|
99 |
private: System::Windows::Forms::ColumnHeader^ columnHeader11;
|
91 |
private: System::ComponentModel::IContainer^ components;
|
100 |
private: System::ComponentModel::IContainer^ components;
|
92 |
|
101 |
|
93 |
/// <summary>
|
102 |
/// <summary>
|
94 |
/// Required designer variable.
|
103 |
/// Required designer variable.
|
95 |
/// </summary>
|
104 |
/// </summary>
|
Line 134... |
Line 143... |
134 |
this->toolStripMenuItem17 = (gcnew System::Windows::Forms::ToolStripMenuItem());
|
143 |
this->toolStripMenuItem17 = (gcnew System::Windows::Forms::ToolStripMenuItem());
|
135 |
this->toolStripSeparator1 = (gcnew System::Windows::Forms::ToolStripSeparator());
|
144 |
this->toolStripSeparator1 = (gcnew System::Windows::Forms::ToolStripSeparator());
|
136 |
this->resetToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
|
145 |
this->resetToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
|
137 |
this->imageList1 = (gcnew System::Windows::Forms::ImageList(this->components));
|
146 |
this->imageList1 = (gcnew System::Windows::Forms::ImageList(this->components));
|
138 |
this->button1 = (gcnew System::Windows::Forms::Button());
|
147 |
this->button1 = (gcnew System::Windows::Forms::Button());
|
- |
|
148 |
this->tabControl1 = (gcnew System::Windows::Forms::TabControl());
|
- |
|
149 |
this->tabPage1 = (gcnew System::Windows::Forms::TabPage());
|
- |
|
150 |
this->tabPage2 = (gcnew System::Windows::Forms::TabPage());
|
- |
|
151 |
this->listView2 = (gcnew System::Windows::Forms::ListView());
|
- |
|
152 |
this->columnHeader9 = (gcnew System::Windows::Forms::ColumnHeader());
|
- |
|
153 |
this->columnHeader10 = (gcnew System::Windows::Forms::ColumnHeader());
|
- |
|
154 |
this->columnHeader11 = (gcnew System::Windows::Forms::ColumnHeader());
|
139 |
this->contextMenuStrip1->SuspendLayout();
|
155 |
this->contextMenuStrip1->SuspendLayout();
|
- |
|
156 |
this->tabControl1->SuspendLayout();
|
- |
|
157 |
this->tabPage1->SuspendLayout();
|
- |
|
158 |
this->tabPage2->SuspendLayout();
|
140 |
this->SuspendLayout();
|
159 |
this->SuspendLayout();
|
141 |
//
|
160 |
//
|
142 |
// listView1
|
161 |
// listView1
|
143 |
//
|
162 |
//
|
144 |
this->listView1->AllowColumnReorder = true;
|
163 |
this->listView1->AllowColumnReorder = true;
|
Line 149... |
Line 168... |
149 |
this->columnHeader4, this->columnHeader5, this->columnHeader2, this->columnHeader6, this->columnHeader7, this->columnHeader8});
|
168 |
this->columnHeader4, this->columnHeader5, this->columnHeader2, this->columnHeader6, this->columnHeader7, this->columnHeader8});
|
150 |
this->listView1->ContextMenuStrip = this->contextMenuStrip1;
|
169 |
this->listView1->ContextMenuStrip = this->contextMenuStrip1;
|
151 |
this->listView1->FullRowSelect = true;
|
170 |
this->listView1->FullRowSelect = true;
|
152 |
this->listView1->HideSelection = false;
|
171 |
this->listView1->HideSelection = false;
|
153 |
this->listView1->LargeImageList = this->imageList1;
|
172 |
this->listView1->LargeImageList = this->imageList1;
|
154 |
this->listView1->Location = System::Drawing::Point(12, 12);
|
173 |
this->listView1->Location = System::Drawing::Point(-4, 0);
|
155 |
this->listView1->MultiSelect = false;
|
174 |
this->listView1->MultiSelect = false;
|
156 |
this->listView1->Name = L"listView1";
|
175 |
this->listView1->Name = L"listView1";
|
157 |
this->listView1->Size = System::Drawing::Size(767, 394);
|
176 |
this->listView1->Size = System::Drawing::Size(903, 503);
|
158 |
this->listView1->SmallImageList = this->imageList1;
|
177 |
this->listView1->SmallImageList = this->imageList1;
|
159 |
this->listView1->TabIndex = 0;
|
178 |
this->listView1->TabIndex = 0;
|
160 |
this->listView1->UseCompatibleStateImageBehavior = false;
|
179 |
this->listView1->UseCompatibleStateImageBehavior = false;
|
161 |
this->listView1->View = System::Windows::Forms::View::Details;
|
180 |
this->listView1->View = System::Windows::Forms::View::Details;
|
162 |
//
|
181 |
//
|
Line 198... |
Line 217... |
198 |
//
|
217 |
//
|
199 |
this->contextMenuStrip1->ImageScalingSize = System::Drawing::Size(32, 32);
|
218 |
this->contextMenuStrip1->ImageScalingSize = System::Drawing::Size(32, 32);
|
200 |
this->contextMenuStrip1->Items->AddRange(gcnew cli::array< System::Windows::Forms::ToolStripItem^ >(4) {this->editPriceToolStripMenuItem,
|
219 |
this->contextMenuStrip1->Items->AddRange(gcnew cli::array< System::Windows::Forms::ToolStripItem^ >(4) {this->editPriceToolStripMenuItem,
|
201 |
this->editNotoToolStripMenuItem, this->toolStripSeparator1, this->resetToolStripMenuItem});
|
220 |
this->editNotoToolStripMenuItem, this->toolStripSeparator1, this->resetToolStripMenuItem});
|
202 |
this->contextMenuStrip1->Name = L"contextMenuStrip1";
|
221 |
this->contextMenuStrip1->Name = L"contextMenuStrip1";
|
203 |
this->contextMenuStrip1->Size = System::Drawing::Size(174, 146);
|
222 |
this->contextMenuStrip1->Size = System::Drawing::Size(174, 124);
|
204 |
this->contextMenuStrip1->Opening += gcnew System::ComponentModel::CancelEventHandler(this, &EditWares::contextMenuStrip1_Opening);
|
223 |
this->contextMenuStrip1->Opening += gcnew System::ComponentModel::CancelEventHandler(this, &EditWares::contextMenuStrip1_Opening);
|
205 |
//
|
224 |
//
|
206 |
// editPriceToolStripMenuItem
|
225 |
// editPriceToolStripMenuItem
|
207 |
//
|
226 |
//
|
208 |
this->editPriceToolStripMenuItem->Image = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"editPriceToolStripMenuItem.Image")));
|
227 |
this->editPriceToolStripMenuItem->Image = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"editPriceToolStripMenuItem.Image")));
|
Line 224... |
Line 243... |
224 |
//
|
243 |
//
|
225 |
// toolStripMenuItem2
|
244 |
// toolStripMenuItem2
|
226 |
//
|
245 |
//
|
227 |
this->toolStripMenuItem2->Image = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"toolStripMenuItem2.Image")));
|
246 |
this->toolStripMenuItem2->Image = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"toolStripMenuItem2.Image")));
|
228 |
this->toolStripMenuItem2->Name = L"toolStripMenuItem2";
|
247 |
this->toolStripMenuItem2->Name = L"toolStripMenuItem2";
|
229 |
this->toolStripMenuItem2->Size = System::Drawing::Size(169, 38);
|
248 |
this->toolStripMenuItem2->Size = System::Drawing::Size(153, 22);
|
230 |
this->toolStripMenuItem2->Text = L"+10 (1,000,000)";
|
249 |
this->toolStripMenuItem2->Text = L"+10 (1,000,000)";
|
231 |
this->toolStripMenuItem2->Click += gcnew System::EventHandler(this, &EditWares::toolStripMenuItem2_Click);
|
250 |
this->toolStripMenuItem2->Click += gcnew System::EventHandler(this, &EditWares::toolStripMenuItem2_Click);
|
232 |
//
|
251 |
//
|
233 |
// toolStripMenuItem3
|
252 |
// toolStripMenuItem3
|
234 |
//
|
253 |
//
|
235 |
this->toolStripMenuItem3->Image = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"toolStripMenuItem3.Image")));
|
254 |
this->toolStripMenuItem3->Image = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"toolStripMenuItem3.Image")));
|
236 |
this->toolStripMenuItem3->Name = L"toolStripMenuItem3";
|
255 |
this->toolStripMenuItem3->Name = L"toolStripMenuItem3";
|
237 |
this->toolStripMenuItem3->Size = System::Drawing::Size(169, 38);
|
256 |
this->toolStripMenuItem3->Size = System::Drawing::Size(153, 22);
|
238 |
this->toolStripMenuItem3->Text = L"+9 (100,000)";
|
257 |
this->toolStripMenuItem3->Text = L"+9 (100,000)";
|
239 |
this->toolStripMenuItem3->Click += gcnew System::EventHandler(this, &EditWares::toolStripMenuItem3_Click);
|
258 |
this->toolStripMenuItem3->Click += gcnew System::EventHandler(this, &EditWares::toolStripMenuItem3_Click);
|
240 |
//
|
259 |
//
|
241 |
// toolStripMenuItem4
|
260 |
// toolStripMenuItem4
|
242 |
//
|
261 |
//
|
243 |
this->toolStripMenuItem4->Image = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"toolStripMenuItem4.Image")));
|
262 |
this->toolStripMenuItem4->Image = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"toolStripMenuItem4.Image")));
|
244 |
this->toolStripMenuItem4->Name = L"toolStripMenuItem4";
|
263 |
this->toolStripMenuItem4->Name = L"toolStripMenuItem4";
|
245 |
this->toolStripMenuItem4->Size = System::Drawing::Size(169, 38);
|
264 |
this->toolStripMenuItem4->Size = System::Drawing::Size(153, 22);
|
246 |
this->toolStripMenuItem4->Text = L"+8 (33,333)";
|
265 |
this->toolStripMenuItem4->Text = L"+8 (33,333)";
|
247 |
this->toolStripMenuItem4->Click += gcnew System::EventHandler(this, &EditWares::toolStripMenuItem4_Click);
|
266 |
this->toolStripMenuItem4->Click += gcnew System::EventHandler(this, &EditWares::toolStripMenuItem4_Click);
|
248 |
//
|
267 |
//
|
249 |
// toolStripMenuItem5
|
268 |
// toolStripMenuItem5
|
250 |
//
|
269 |
//
|
251 |
this->toolStripMenuItem5->Image = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"toolStripMenuItem5.Image")));
|
270 |
this->toolStripMenuItem5->Image = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"toolStripMenuItem5.Image")));
|
252 |
this->toolStripMenuItem5->Name = L"toolStripMenuItem5";
|
271 |
this->toolStripMenuItem5->Name = L"toolStripMenuItem5";
|
253 |
this->toolStripMenuItem5->Size = System::Drawing::Size(169, 38);
|
272 |
this->toolStripMenuItem5->Size = System::Drawing::Size(153, 22);
|
254 |
this->toolStripMenuItem5->Text = L"+7 (10,000)";
|
273 |
this->toolStripMenuItem5->Text = L"+7 (10,000)";
|
255 |
this->toolStripMenuItem5->Click += gcnew System::EventHandler(this, &EditWares::toolStripMenuItem5_Click);
|
274 |
this->toolStripMenuItem5->Click += gcnew System::EventHandler(this, &EditWares::toolStripMenuItem5_Click);
|
256 |
//
|
275 |
//
|
257 |
// toolStripMenuItem6
|
276 |
// toolStripMenuItem6
|
258 |
//
|
277 |
//
|
259 |
this->toolStripMenuItem6->Image = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"toolStripMenuItem6.Image")));
|
278 |
this->toolStripMenuItem6->Image = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"toolStripMenuItem6.Image")));
|
260 |
this->toolStripMenuItem6->Name = L"toolStripMenuItem6";
|
279 |
this->toolStripMenuItem6->Name = L"toolStripMenuItem6";
|
261 |
this->toolStripMenuItem6->Size = System::Drawing::Size(169, 38);
|
280 |
this->toolStripMenuItem6->Size = System::Drawing::Size(153, 22);
|
262 |
this->toolStripMenuItem6->Text = L"+6 (3,333)";
|
281 |
this->toolStripMenuItem6->Text = L"+6 (3,333)";
|
263 |
this->toolStripMenuItem6->Click += gcnew System::EventHandler(this, &EditWares::toolStripMenuItem6_Click);
|
282 |
this->toolStripMenuItem6->Click += gcnew System::EventHandler(this, &EditWares::toolStripMenuItem6_Click);
|
264 |
//
|
283 |
//
|
265 |
// toolStripMenuItem7
|
284 |
// toolStripMenuItem7
|
266 |
//
|
285 |
//
|
267 |
this->toolStripMenuItem7->Image = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"toolStripMenuItem7.Image")));
|
286 |
this->toolStripMenuItem7->Image = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"toolStripMenuItem7.Image")));
|
268 |
this->toolStripMenuItem7->Name = L"toolStripMenuItem7";
|
287 |
this->toolStripMenuItem7->Name = L"toolStripMenuItem7";
|
269 |
this->toolStripMenuItem7->Size = System::Drawing::Size(169, 38);
|
288 |
this->toolStripMenuItem7->Size = System::Drawing::Size(153, 22);
|
270 |
this->toolStripMenuItem7->Text = L"+5 (1,000)";
|
289 |
this->toolStripMenuItem7->Text = L"+5 (1,000)";
|
271 |
this->toolStripMenuItem7->Click += gcnew System::EventHandler(this, &EditWares::toolStripMenuItem7_Click);
|
290 |
this->toolStripMenuItem7->Click += gcnew System::EventHandler(this, &EditWares::toolStripMenuItem7_Click);
|
272 |
//
|
291 |
//
|
273 |
// toolStripMenuItem8
|
292 |
// toolStripMenuItem8
|
274 |
//
|
293 |
//
|
275 |
this->toolStripMenuItem8->Image = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"toolStripMenuItem8.Image")));
|
294 |
this->toolStripMenuItem8->Image = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"toolStripMenuItem8.Image")));
|
276 |
this->toolStripMenuItem8->Name = L"toolStripMenuItem8";
|
295 |
this->toolStripMenuItem8->Name = L"toolStripMenuItem8";
|
277 |
this->toolStripMenuItem8->Size = System::Drawing::Size(169, 38);
|
296 |
this->toolStripMenuItem8->Size = System::Drawing::Size(153, 22);
|
278 |
this->toolStripMenuItem8->Text = L"+4 (333)";
|
297 |
this->toolStripMenuItem8->Text = L"+4 (333)";
|
279 |
this->toolStripMenuItem8->Click += gcnew System::EventHandler(this, &EditWares::toolStripMenuItem8_Click);
|
298 |
this->toolStripMenuItem8->Click += gcnew System::EventHandler(this, &EditWares::toolStripMenuItem8_Click);
|
280 |
//
|
299 |
//
|
281 |
// toolStripMenuItem9
|
300 |
// toolStripMenuItem9
|
282 |
//
|
301 |
//
|
283 |
this->toolStripMenuItem9->Image = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"toolStripMenuItem9.Image")));
|
302 |
this->toolStripMenuItem9->Image = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"toolStripMenuItem9.Image")));
|
284 |
this->toolStripMenuItem9->Name = L"toolStripMenuItem9";
|
303 |
this->toolStripMenuItem9->Name = L"toolStripMenuItem9";
|
285 |
this->toolStripMenuItem9->Size = System::Drawing::Size(169, 38);
|
304 |
this->toolStripMenuItem9->Size = System::Drawing::Size(153, 22);
|
286 |
this->toolStripMenuItem9->Text = L"+3 (100)";
|
305 |
this->toolStripMenuItem9->Text = L"+3 (100)";
|
287 |
this->toolStripMenuItem9->Click += gcnew System::EventHandler(this, &EditWares::toolStripMenuItem9_Click);
|
306 |
this->toolStripMenuItem9->Click += gcnew System::EventHandler(this, &EditWares::toolStripMenuItem9_Click);
|
288 |
//
|
307 |
//
|
289 |
// toolStripMenuItem10
|
308 |
// toolStripMenuItem10
|
290 |
//
|
309 |
//
|
291 |
this->toolStripMenuItem10->Image = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"toolStripMenuItem10.Image")));
|
310 |
this->toolStripMenuItem10->Image = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"toolStripMenuItem10.Image")));
|
292 |
this->toolStripMenuItem10->Name = L"toolStripMenuItem10";
|
311 |
this->toolStripMenuItem10->Name = L"toolStripMenuItem10";
|
293 |
this->toolStripMenuItem10->Size = System::Drawing::Size(169, 38);
|
312 |
this->toolStripMenuItem10->Size = System::Drawing::Size(153, 22);
|
294 |
this->toolStripMenuItem10->Text = L"+2 (33)";
|
313 |
this->toolStripMenuItem10->Text = L"+2 (33)";
|
295 |
this->toolStripMenuItem10->Click += gcnew System::EventHandler(this, &EditWares::toolStripMenuItem10_Click);
|
314 |
this->toolStripMenuItem10->Click += gcnew System::EventHandler(this, &EditWares::toolStripMenuItem10_Click);
|
296 |
//
|
315 |
//
|
297 |
// toolStripMenuItem11
|
316 |
// toolStripMenuItem11
|
298 |
//
|
317 |
//
|
299 |
this->toolStripMenuItem11->Image = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"toolStripMenuItem11.Image")));
|
318 |
this->toolStripMenuItem11->Image = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"toolStripMenuItem11.Image")));
|
300 |
this->toolStripMenuItem11->Name = L"toolStripMenuItem11";
|
319 |
this->toolStripMenuItem11->Name = L"toolStripMenuItem11";
|
301 |
this->toolStripMenuItem11->Size = System::Drawing::Size(169, 38);
|
320 |
this->toolStripMenuItem11->Size = System::Drawing::Size(153, 22);
|
302 |
this->toolStripMenuItem11->Text = L"+ 1 (10)";
|
321 |
this->toolStripMenuItem11->Text = L"+ 1 (10)";
|
303 |
this->toolStripMenuItem11->Click += gcnew System::EventHandler(this, &EditWares::toolStripMenuItem11_Click);
|
322 |
this->toolStripMenuItem11->Click += gcnew System::EventHandler(this, &EditWares::toolStripMenuItem11_Click);
|
304 |
//
|
323 |
//
|
305 |
// toolStripMenuItem12
|
324 |
// toolStripMenuItem12
|
306 |
//
|
325 |
//
|
307 |
this->toolStripMenuItem12->Image = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"toolStripMenuItem12.Image")));
|
326 |
this->toolStripMenuItem12->Image = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"toolStripMenuItem12.Image")));
|
308 |
this->toolStripMenuItem12->Name = L"toolStripMenuItem12";
|
327 |
this->toolStripMenuItem12->Name = L"toolStripMenuItem12";
|
309 |
this->toolStripMenuItem12->Size = System::Drawing::Size(169, 38);
|
328 |
this->toolStripMenuItem12->Size = System::Drawing::Size(153, 22);
|
310 |
this->toolStripMenuItem12->Text = L"0 (-10)";
|
329 |
this->toolStripMenuItem12->Text = L"0 (-10)";
|
311 |
this->toolStripMenuItem12->Click += gcnew System::EventHandler(this, &EditWares::toolStripMenuItem12_Click);
|
330 |
this->toolStripMenuItem12->Click += gcnew System::EventHandler(this, &EditWares::toolStripMenuItem12_Click);
|
312 |
//
|
331 |
//
|
313 |
// toolStripMenuItem13
|
332 |
// toolStripMenuItem13
|
314 |
//
|
333 |
//
|
315 |
this->toolStripMenuItem13->Image = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"toolStripMenuItem13.Image")));
|
334 |
this->toolStripMenuItem13->Image = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"toolStripMenuItem13.Image")));
|
316 |
this->toolStripMenuItem13->Name = L"toolStripMenuItem13";
|
335 |
this->toolStripMenuItem13->Name = L"toolStripMenuItem13";
|
317 |
this->toolStripMenuItem13->Size = System::Drawing::Size(169, 38);
|
336 |
this->toolStripMenuItem13->Size = System::Drawing::Size(153, 22);
|
318 |
this->toolStripMenuItem13->Text = L"-1 (-100)";
|
337 |
this->toolStripMenuItem13->Text = L"-1 (-100)";
|
319 |
this->toolStripMenuItem13->Click += gcnew System::EventHandler(this, &EditWares::toolStripMenuItem13_Click);
|
338 |
this->toolStripMenuItem13->Click += gcnew System::EventHandler(this, &EditWares::toolStripMenuItem13_Click);
|
320 |
//
|
339 |
//
|
321 |
// toolStripMenuItem14
|
340 |
// toolStripMenuItem14
|
322 |
//
|
341 |
//
|
323 |
this->toolStripMenuItem14->Image = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"toolStripMenuItem14.Image")));
|
342 |
this->toolStripMenuItem14->Image = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"toolStripMenuItem14.Image")));
|
324 |
this->toolStripMenuItem14->Name = L"toolStripMenuItem14";
|
343 |
this->toolStripMenuItem14->Name = L"toolStripMenuItem14";
|
325 |
this->toolStripMenuItem14->Size = System::Drawing::Size(169, 38);
|
344 |
this->toolStripMenuItem14->Size = System::Drawing::Size(153, 22);
|
326 |
this->toolStripMenuItem14->Text = L"-2 (-1,000)";
|
345 |
this->toolStripMenuItem14->Text = L"-2 (-1,000)";
|
327 |
this->toolStripMenuItem14->Click += gcnew System::EventHandler(this, &EditWares::toolStripMenuItem14_Click);
|
346 |
this->toolStripMenuItem14->Click += gcnew System::EventHandler(this, &EditWares::toolStripMenuItem14_Click);
|
328 |
//
|
347 |
//
|
329 |
// toolStripMenuItem15
|
348 |
// toolStripMenuItem15
|
330 |
//
|
349 |
//
|
331 |
this->toolStripMenuItem15->Image = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"toolStripMenuItem15.Image")));
|
350 |
this->toolStripMenuItem15->Image = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"toolStripMenuItem15.Image")));
|
332 |
this->toolStripMenuItem15->Name = L"toolStripMenuItem15";
|
351 |
this->toolStripMenuItem15->Name = L"toolStripMenuItem15";
|
333 |
this->toolStripMenuItem15->Size = System::Drawing::Size(169, 38);
|
352 |
this->toolStripMenuItem15->Size = System::Drawing::Size(153, 22);
|
334 |
this->toolStripMenuItem15->Text = L"-3 (-10,000)";
|
353 |
this->toolStripMenuItem15->Text = L"-3 (-10,000)";
|
335 |
this->toolStripMenuItem15->Click += gcnew System::EventHandler(this, &EditWares::toolStripMenuItem15_Click);
|
354 |
this->toolStripMenuItem15->Click += gcnew System::EventHandler(this, &EditWares::toolStripMenuItem15_Click);
|
336 |
//
|
355 |
//
|
337 |
// toolStripMenuItem16
|
356 |
// toolStripMenuItem16
|
338 |
//
|
357 |
//
|
339 |
this->toolStripMenuItem16->Image = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"toolStripMenuItem16.Image")));
|
358 |
this->toolStripMenuItem16->Image = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"toolStripMenuItem16.Image")));
|
340 |
this->toolStripMenuItem16->Name = L"toolStripMenuItem16";
|
359 |
this->toolStripMenuItem16->Name = L"toolStripMenuItem16";
|
341 |
this->toolStripMenuItem16->Size = System::Drawing::Size(169, 38);
|
360 |
this->toolStripMenuItem16->Size = System::Drawing::Size(153, 22);
|
342 |
this->toolStripMenuItem16->Text = L"-4 (-100,000)";
|
361 |
this->toolStripMenuItem16->Text = L"-4 (-100,000)";
|
343 |
this->toolStripMenuItem16->Click += gcnew System::EventHandler(this, &EditWares::toolStripMenuItem16_Click);
|
362 |
this->toolStripMenuItem16->Click += gcnew System::EventHandler(this, &EditWares::toolStripMenuItem16_Click);
|
344 |
//
|
363 |
//
|
345 |
// toolStripMenuItem17
|
364 |
// toolStripMenuItem17
|
346 |
//
|
365 |
//
|
347 |
this->toolStripMenuItem17->Image = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"toolStripMenuItem17.Image")));
|
366 |
this->toolStripMenuItem17->Image = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"toolStripMenuItem17.Image")));
|
348 |
this->toolStripMenuItem17->Name = L"toolStripMenuItem17";
|
367 |
this->toolStripMenuItem17->Name = L"toolStripMenuItem17";
|
349 |
this->toolStripMenuItem17->Size = System::Drawing::Size(169, 38);
|
368 |
this->toolStripMenuItem17->Size = System::Drawing::Size(153, 22);
|
350 |
this->toolStripMenuItem17->Text = L"-5 (-1,000,000)";
|
369 |
this->toolStripMenuItem17->Text = L"-5 (-1,000,000)";
|
351 |
this->toolStripMenuItem17->Click += gcnew System::EventHandler(this, &EditWares::toolStripMenuItem17_Click);
|
370 |
this->toolStripMenuItem17->Click += gcnew System::EventHandler(this, &EditWares::toolStripMenuItem17_Click);
|
352 |
//
|
371 |
//
|
353 |
// toolStripSeparator1
|
372 |
// toolStripSeparator1
|
354 |
//
|
373 |
//
|
Line 366... |
Line 385... |
366 |
// imageList1
|
385 |
// imageList1
|
367 |
//
|
386 |
//
|
368 |
this->imageList1->ImageStream = (cli::safe_cast<System::Windows::Forms::ImageListStreamer^ >(resources->GetObject(L"imageList1.ImageStream")));
|
387 |
this->imageList1->ImageStream = (cli::safe_cast<System::Windows::Forms::ImageListStreamer^ >(resources->GetObject(L"imageList1.ImageStream")));
|
369 |
this->imageList1->TransparentColor = System::Drawing::Color::Transparent;
|
388 |
this->imageList1->TransparentColor = System::Drawing::Color::Transparent;
|
370 |
this->imageList1->Images->SetKeyName(0, L"label1.Image.png");
|
389 |
this->imageList1->Images->SetKeyName(0, L"label1.Image.png");
|
- |
|
390 |
this->imageList1->Images->SetKeyName(1, L"emblem_cvs_conflict.png");
|
- |
|
391 |
this->imageList1->Images->SetKeyName(2, L"yes.png");
|
- |
|
392 |
this->imageList1->Images->SetKeyName(3, L"no.png");
|
371 |
//
|
393 |
//
|
372 |
// button1
|
394 |
// button1
|
373 |
//
|
395 |
//
|
374 |
this->button1->Anchor = static_cast<System::Windows::Forms::AnchorStyles>((System::Windows::Forms::AnchorStyles::Bottom | System::Windows::Forms::AnchorStyles::Right));
|
396 |
this->button1->Anchor = static_cast<System::Windows::Forms::AnchorStyles>((System::Windows::Forms::AnchorStyles::Bottom | System::Windows::Forms::AnchorStyles::Right));
|
375 |
this->button1->DialogResult = System::Windows::Forms::DialogResult::OK;
|
397 |
this->button1->DialogResult = System::Windows::Forms::DialogResult::OK;
|
376 |
this->button1->Location = System::Drawing::Point(689, 413);
|
398 |
this->button1->Location = System::Drawing::Point(825, 563);
|
377 |
this->button1->Name = L"button1";
|
399 |
this->button1->Name = L"button1";
|
378 |
this->button1->Size = System::Drawing::Size(90, 33);
|
400 |
this->button1->Size = System::Drawing::Size(90, 33);
|
379 |
this->button1->TabIndex = 1;
|
401 |
this->button1->TabIndex = 1;
|
380 |
this->button1->Text = L"Close";
|
402 |
this->button1->Text = L"Close";
|
381 |
this->button1->UseVisualStyleBackColor = true;
|
403 |
this->button1->UseVisualStyleBackColor = true;
|
382 |
this->button1->Click += gcnew System::EventHandler(this, &EditWares::button1_Click);
|
404 |
this->button1->Click += gcnew System::EventHandler(this, &EditWares::button1_Click);
|
- |
|
405 |
//
|
- |
|
406 |
// tabControl1
|
- |
|
407 |
//
|
- |
|
408 |
this->tabControl1->Anchor = static_cast<System::Windows::Forms::AnchorStyles>((((System::Windows::Forms::AnchorStyles::Top | System::Windows::Forms::AnchorStyles::Bottom)
|
- |
|
409 |
| System::Windows::Forms::AnchorStyles::Left)
|
- |
|
410 |
| System::Windows::Forms::AnchorStyles::Right));
|
- |
|
411 |
this->tabControl1->Controls->Add(this->tabPage1);
|
- |
|
412 |
this->tabControl1->Controls->Add(this->tabPage2);
|
- |
|
413 |
this->tabControl1->ImageList = this->imageList1;
|
- |
|
414 |
this->tabControl1->Location = System::Drawing::Point(12, 12);
|
- |
|
415 |
this->tabControl1->Name = L"tabControl1";
|
- |
|
416 |
this->tabControl1->SelectedIndex = 0;
|
- |
|
417 |
this->tabControl1->Size = System::Drawing::Size(903, 542);
|
- |
|
418 |
this->tabControl1->TabIndex = 2;
|
- |
|
419 |
//
|
- |
|
420 |
// tabPage1
|
- |
|
421 |
//
|
- |
|
422 |
this->tabPage1->Controls->Add(this->listView1);
|
- |
|
423 |
this->tabPage1->ImageKey = L"label1.Image.png";
|
- |
|
424 |
this->tabPage1->Location = System::Drawing::Point(4, 39);
|
- |
|
425 |
this->tabPage1->Name = L"tabPage1";
|
- |
|
426 |
this->tabPage1->Padding = System::Windows::Forms::Padding(3);
|
- |
|
427 |
this->tabPage1->Size = System::Drawing::Size(895, 499);
|
- |
|
428 |
this->tabPage1->TabIndex = 0;
|
- |
|
429 |
this->tabPage1->Text = L"Wares";
|
- |
|
430 |
this->tabPage1->UseVisualStyleBackColor = true;
|
- |
|
431 |
//
|
- |
|
432 |
// tabPage2
|
- |
|
433 |
//
|
- |
|
434 |
this->tabPage2->Controls->Add(this->listView2);
|
- |
|
435 |
this->tabPage2->ImageIndex = 1;
|
- |
|
436 |
this->tabPage2->Location = System::Drawing::Point(4, 39);
|
- |
|
437 |
this->tabPage2->Name = L"tabPage2";
|
- |
|
438 |
this->tabPage2->Padding = System::Windows::Forms::Padding(3);
|
- |
|
439 |
this->tabPage2->Size = System::Drawing::Size(895, 499);
|
- |
|
440 |
this->tabPage2->TabIndex = 1;
|
- |
|
441 |
this->tabPage2->Text = L"Conflicts";
|
- |
|
442 |
this->tabPage2->UseVisualStyleBackColor = true;
|
- |
|
443 |
//
|
- |
|
444 |
// listView2
|
- |
|
445 |
//
|
- |
|
446 |
this->listView2->Anchor = static_cast<System::Windows::Forms::AnchorStyles>((((System::Windows::Forms::AnchorStyles::Top | System::Windows::Forms::AnchorStyles::Bottom)
|
- |
|
447 |
| System::Windows::Forms::AnchorStyles::Left)
|
- |
|
448 |
| System::Windows::Forms::AnchorStyles::Right));
|
- |
|
449 |
this->listView2->Columns->AddRange(gcnew cli::array< System::Windows::Forms::ColumnHeader^ >(3) {this->columnHeader9, this->columnHeader10,
|
- |
|
450 |
this->columnHeader11});
|
- |
|
451 |
this->listView2->FullRowSelect = true;
|
- |
|
452 |
this->listView2->LargeImageList = this->imageList1;
|
- |
|
453 |
this->listView2->Location = System::Drawing::Point(-4, 0);
|
- |
|
454 |
this->listView2->Name = L"listView2";
|
- |
|
455 |
this->listView2->Size = System::Drawing::Size(903, 503);
|
- |
|
456 |
this->listView2->SmallImageList = this->imageList1;
|
- |
|
457 |
this->listView2->TabIndex = 0;
|
- |
|
458 |
this->listView2->UseCompatibleStateImageBehavior = false;
|
- |
|
459 |
this->listView2->View = System::Windows::Forms::View::Details;
|
- |
|
460 |
//
|
- |
|
461 |
// columnHeader9
|
- |
|
462 |
//
|
- |
|
463 |
this->columnHeader9->Text = L"Package";
|
- |
|
464 |
//
|
- |
|
465 |
// columnHeader10
|
- |
|
466 |
//
|
- |
|
467 |
this->columnHeader10->Text = L"Name";
|
- |
|
468 |
//
|
- |
|
469 |
// columnHeader11
|
- |
|
470 |
//
|
- |
|
471 |
this->columnHeader11->Text = L"Description";
|
383 |
//
|
472 |
//
|
384 |
// EditWares
|
473 |
// EditWares
|
385 |
//
|
474 |
//
|
386 |
this->ClientSize = System::Drawing::Size(791, 458);
|
475 |
this->ClientSize = System::Drawing::Size(927, 608);
|
- |
|
476 |
this->Controls->Add(this->tabControl1);
|
387 |
this->Controls->Add(this->button1);
|
477 |
this->Controls->Add(this->button1);
|
388 |
this->Controls->Add(this->listView1);
|
- |
|
389 |
this->Icon = (cli::safe_cast<System::Drawing::Icon^ >(resources->GetObject(L"$this.Icon")));
|
478 |
this->Icon = (cli::safe_cast<System::Drawing::Icon^ >(resources->GetObject(L"$this.Icon")));
|
390 |
this->Name = L"EditWares";
|
479 |
this->Name = L"EditWares";
|
391 |
this->Text = L"Used Wares";
|
480 |
this->Text = L"Used Wares";
|
392 |
this->contextMenuStrip1->ResumeLayout(false);
|
481 |
this->contextMenuStrip1->ResumeLayout(false);
|
- |
|
482 |
this->tabControl1->ResumeLayout(false);
|
- |
|
483 |
this->tabPage1->ResumeLayout(false);
|
- |
|
484 |
this->tabPage2->ResumeLayout(false);
|
393 |
this->ResumeLayout(false);
|
485 |
this->ResumeLayout(false);
|
394 |
|
486 |
|
395 |
}
|
487 |
}
|
396 |
#pragma endregion
|
488 |
#pragma endregion
|
397 |
private: System::Void button1_Click(System::Object^ sender, System::EventArgs^ e) {
|
489 |
private: System::Void button1_Click(System::Object^ sender, System::EventArgs^ e) {
|