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 "WizardCore1.h"
|
|
|
11 |
|
|
|
12 |
namespace Creator {
|
|
|
13 |
|
|
|
14 |
/// <summary>
|
|
|
15 |
/// Summary for WizardBasic1
|
|
|
16 |
/// </summary>
|
|
|
17 |
#ifdef DESIGNER
|
|
|
18 |
public ref class WizardBasic1 : public System::Windows::Forms::UserControl
|
|
|
19 |
#else
|
|
|
20 |
public ref class WizardBasic1 : public Creator::WizardCore1
|
|
|
21 |
#endif
|
|
|
22 |
{
|
|
|
23 |
public:
|
|
|
24 |
#ifdef DESIGNER
|
|
|
25 |
WizardBasic1(Windows::Forms::Form ^parent, CBaseFile *p)
|
|
|
26 |
#else
|
|
|
27 |
WizardBasic1(Windows::Forms::Form ^parent, CBaseFile *p) : WizardCore1(parent, p)
|
|
|
28 |
#endif
|
|
|
29 |
{
|
|
|
30 |
InitializeComponent();
|
|
|
31 |
|
|
|
32 |
m_pParent = parent;
|
|
|
33 |
|
|
|
34 |
this->Tag = "basic1";
|
|
|
35 |
}
|
|
|
36 |
|
|
|
37 |
void UpdateDone()
|
|
|
38 |
{
|
|
|
39 |
if ( this->textBox2->Text && this->textBox3->Text && this->textBox4->Text )
|
|
|
40 |
this->EnableDone(true, -1);
|
|
|
41 |
else
|
|
|
42 |
this->EnableDone(false, -1);
|
|
|
43 |
}
|
|
|
44 |
|
|
|
45 |
virtual Windows::Forms::UserControl ^GetNext(CBaseFile *package) override
|
|
|
46 |
{
|
|
|
47 |
/*
|
|
|
48 |
if ( this->radioButton1->Checked )
|
|
|
49 |
return gcnew WizardBasic1(m_pParent, package);
|
|
|
50 |
else if ( this->radioButton2->Checked )
|
|
|
51 |
return gcnew WizardUpdate(m_pParent, package);
|
|
|
52 |
else if ( this->radioButton3->Checked )
|
|
|
53 |
return gcnew WizardRebalance(m_pParent, package);*/
|
|
|
54 |
|
|
|
55 |
return nullptr;
|
|
|
56 |
}
|
|
|
57 |
|
|
|
58 |
protected:
|
|
|
59 |
/// <summary>
|
|
|
60 |
/// Clean up any resources being used.
|
|
|
61 |
/// </summary>
|
|
|
62 |
~WizardBasic1()
|
|
|
63 |
{
|
|
|
64 |
if (components)
|
|
|
65 |
{
|
|
|
66 |
delete components;
|
|
|
67 |
}
|
|
|
68 |
}
|
|
|
69 |
|
|
|
70 |
private:
|
|
|
71 |
Windows::Forms::Form ^m_pParent;
|
|
|
72 |
private: System::Windows::Forms::Label^ label1;
|
|
|
73 |
private: System::Windows::Forms::GroupBox^ groupBox1;
|
|
|
74 |
private: System::Windows::Forms::Label^ label2;
|
|
|
75 |
|
|
|
76 |
private: System::Windows::Forms::GroupBox^ groupBox2;
|
|
|
77 |
private: System::Windows::Forms::Label^ label3;
|
|
|
78 |
private: System::Windows::Forms::TextBox^ textBox2;
|
|
|
79 |
private: System::Windows::Forms::GroupBox^ groupBox3;
|
|
|
80 |
private: System::Windows::Forms::Label^ label4;
|
|
|
81 |
private: System::Windows::Forms::TextBox^ textBox3;
|
|
|
82 |
private: System::Windows::Forms::DateTimePicker^ dateTimePicker1;
|
|
|
83 |
private: System::Windows::Forms::GroupBox^ groupBox4;
|
|
|
84 |
private: System::Windows::Forms::Label^ label5;
|
|
|
85 |
private: System::Windows::Forms::TextBox^ textBox4;
|
|
|
86 |
/// <summary>
|
|
|
87 |
/// Required designer variable.
|
|
|
88 |
/// </summary>
|
|
|
89 |
System::ComponentModel::Container ^components;
|
|
|
90 |
|
|
|
91 |
#pragma region Windows Form Designer generated code
|
|
|
92 |
/// <summary>
|
|
|
93 |
/// Required method for Designer support - do not modify
|
|
|
94 |
/// the contents of this method with the code editor.
|
|
|
95 |
/// </summary>
|
|
|
96 |
void InitializeComponent(void)
|
|
|
97 |
{
|
|
|
98 |
System::ComponentModel::ComponentResourceManager^ resources = (gcnew System::ComponentModel::ComponentResourceManager(WizardBasic1::typeid));
|
|
|
99 |
this->label1 = (gcnew System::Windows::Forms::Label());
|
|
|
100 |
this->groupBox1 = (gcnew System::Windows::Forms::GroupBox());
|
|
|
101 |
this->label2 = (gcnew System::Windows::Forms::Label());
|
|
|
102 |
this->dateTimePicker1 = (gcnew System::Windows::Forms::DateTimePicker());
|
|
|
103 |
this->groupBox2 = (gcnew System::Windows::Forms::GroupBox());
|
|
|
104 |
this->label3 = (gcnew System::Windows::Forms::Label());
|
|
|
105 |
this->textBox2 = (gcnew System::Windows::Forms::TextBox());
|
|
|
106 |
this->groupBox3 = (gcnew System::Windows::Forms::GroupBox());
|
|
|
107 |
this->label4 = (gcnew System::Windows::Forms::Label());
|
|
|
108 |
this->textBox3 = (gcnew System::Windows::Forms::TextBox());
|
|
|
109 |
this->groupBox4 = (gcnew System::Windows::Forms::GroupBox());
|
|
|
110 |
this->label5 = (gcnew System::Windows::Forms::Label());
|
|
|
111 |
this->textBox4 = (gcnew System::Windows::Forms::TextBox());
|
|
|
112 |
this->groupBox1->SuspendLayout();
|
|
|
113 |
this->groupBox2->SuspendLayout();
|
|
|
114 |
this->groupBox3->SuspendLayout();
|
|
|
115 |
this->groupBox4->SuspendLayout();
|
|
|
116 |
this->SuspendLayout();
|
|
|
117 |
//
|
|
|
118 |
// label1
|
|
|
119 |
//
|
|
|
120 |
this->label1->Dock = System::Windows::Forms::DockStyle::Top;
|
|
|
121 |
this->label1->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 12, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point,
|
|
|
122 |
static_cast<System::Byte>(0)));
|
|
|
123 |
this->label1->Location = System::Drawing::Point(10, 10);
|
|
|
124 |
this->label1->Name = L"label1";
|
|
|
125 |
this->label1->Size = System::Drawing::Size(649, 65);
|
|
|
126 |
this->label1->TabIndex = 4;
|
|
|
127 |
this->label1->Text = L"Required Basic Package Settings";
|
|
|
128 |
this->label1->TextAlign = System::Drawing::ContentAlignment::MiddleCenter;
|
|
|
129 |
//
|
|
|
130 |
// groupBox1
|
|
|
131 |
//
|
|
|
132 |
this->groupBox1->Controls->Add(this->label2);
|
|
|
133 |
this->groupBox1->Controls->Add(this->dateTimePicker1);
|
|
|
134 |
this->groupBox1->Dock = System::Windows::Forms::DockStyle::Top;
|
|
|
135 |
this->groupBox1->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 8.25F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point,
|
|
|
136 |
static_cast<System::Byte>(0)));
|
|
|
137 |
this->groupBox1->Location = System::Drawing::Point(10, 376);
|
|
|
138 |
this->groupBox1->Name = L"groupBox1";
|
|
|
139 |
this->groupBox1->Padding = System::Windows::Forms::Padding(10);
|
|
|
140 |
this->groupBox1->Size = System::Drawing::Size(649, 96);
|
|
|
141 |
this->groupBox1->TabIndex = 3;
|
|
|
142 |
this->groupBox1->TabStop = false;
|
|
|
143 |
this->groupBox1->Text = L"Creation Date";
|
|
|
144 |
//
|
|
|
145 |
// label2
|
|
|
146 |
//
|
|
|
147 |
this->label2->Dock = System::Windows::Forms::DockStyle::Fill;
|
|
|
148 |
this->label2->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 9.75F, System::Drawing::FontStyle::Italic, System::Drawing::GraphicsUnit::Point,
|
|
|
149 |
static_cast<System::Byte>(0)));
|
|
|
150 |
this->label2->Location = System::Drawing::Point(10, 23);
|
|
|
151 |
this->label2->Name = L"label2";
|
|
|
152 |
this->label2->Size = System::Drawing::Size(629, 43);
|
|
|
153 |
this->label2->TabIndex = 0;
|
|
|
154 |
this->label2->Text = L"The creation date is the date the package was created, or updated, this is mainly"
|
|
|
155 |
L" just to allow other users to know how old the package might be, or when it was "
|
|
|
156 |
L"last updated";
|
|
|
157 |
//
|
|
|
158 |
// dateTimePicker1
|
|
|
159 |
//
|
|
|
160 |
this->dateTimePicker1->CalendarFont = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 8.25F, System::Drawing::FontStyle::Regular,
|
|
|
161 |
System::Drawing::GraphicsUnit::Point, static_cast<System::Byte>(0)));
|
|
|
162 |
this->dateTimePicker1->Dock = System::Windows::Forms::DockStyle::Bottom;
|
|
|
163 |
this->dateTimePicker1->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 8.25F, System::Drawing::FontStyle::Regular, System::Drawing::GraphicsUnit::Point,
|
|
|
164 |
static_cast<System::Byte>(0)));
|
|
|
165 |
this->dateTimePicker1->Location = System::Drawing::Point(10, 66);
|
|
|
166 |
this->dateTimePicker1->Name = L"dateTimePicker1";
|
|
|
167 |
this->dateTimePicker1->Size = System::Drawing::Size(629, 20);
|
|
|
168 |
this->dateTimePicker1->TabIndex = 0;
|
|
|
169 |
this->dateTimePicker1->ValueChanged += gcnew System::EventHandler(this, &WizardBasic1::dateTimePicker1_ValueChanged);
|
|
|
170 |
//
|
|
|
171 |
// groupBox2
|
|
|
172 |
//
|
|
|
173 |
this->groupBox2->Controls->Add(this->label3);
|
|
|
174 |
this->groupBox2->Controls->Add(this->textBox2);
|
|
|
175 |
this->groupBox2->Dock = System::Windows::Forms::DockStyle::Top;
|
|
|
176 |
this->groupBox2->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 8.25F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point,
|
|
|
177 |
static_cast<System::Byte>(0)));
|
|
|
178 |
this->groupBox2->Location = System::Drawing::Point(10, 280);
|
|
|
179 |
this->groupBox2->Name = L"groupBox2";
|
|
|
180 |
this->groupBox2->Padding = System::Windows::Forms::Padding(10);
|
|
|
181 |
this->groupBox2->Size = System::Drawing::Size(649, 96);
|
|
|
182 |
this->groupBox2->TabIndex = 2;
|
|
|
183 |
this->groupBox2->TabStop = false;
|
|
|
184 |
this->groupBox2->Text = L"Package Version";
|
|
|
185 |
//
|
|
|
186 |
// label3
|
|
|
187 |
//
|
|
|
188 |
this->label3->Dock = System::Windows::Forms::DockStyle::Fill;
|
|
|
189 |
this->label3->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 9.75F, System::Drawing::FontStyle::Italic, System::Drawing::GraphicsUnit::Point,
|
|
|
190 |
static_cast<System::Byte>(0)));
|
|
|
191 |
this->label3->Location = System::Drawing::Point(10, 23);
|
|
|
192 |
this->label3->Name = L"label3";
|
|
|
193 |
this->label3->Size = System::Drawing::Size(629, 43);
|
|
|
194 |
this->label3->TabIndex = 0;
|
|
|
195 |
this->label3->Text = L"The version number is used to display what version the current package is, and fo"
|
|
|
196 |
L"r the installer to determine if its a new or older version than whats previously"
|
|
|
197 |
L" installed";
|
|
|
198 |
//
|
|
|
199 |
// textBox2
|
|
|
200 |
//
|
|
|
201 |
this->textBox2->Dock = System::Windows::Forms::DockStyle::Bottom;
|
|
|
202 |
this->textBox2->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 8.25F, System::Drawing::FontStyle::Regular, System::Drawing::GraphicsUnit::Point,
|
|
|
203 |
static_cast<System::Byte>(0)));
|
|
|
204 |
this->textBox2->Location = System::Drawing::Point(10, 66);
|
|
|
205 |
this->textBox2->Name = L"textBox2";
|
|
|
206 |
this->textBox2->Size = System::Drawing::Size(629, 20);
|
|
|
207 |
this->textBox2->TabIndex = 0;
|
|
|
208 |
this->textBox2->Text = L"1.00";
|
|
|
209 |
this->textBox2->TextChanged += gcnew System::EventHandler(this, &WizardBasic1::textBox2_TextChanged);
|
|
|
210 |
this->textBox2->KeyPress += gcnew System::Windows::Forms::KeyPressEventHandler(this, &WizardBasic1::textBox2_KeyPress);
|
|
|
211 |
//
|
|
|
212 |
// groupBox3
|
|
|
213 |
//
|
|
|
214 |
this->groupBox3->Controls->Add(this->label4);
|
|
|
215 |
this->groupBox3->Controls->Add(this->textBox3);
|
|
|
216 |
this->groupBox3->Dock = System::Windows::Forms::DockStyle::Top;
|
|
|
217 |
this->groupBox3->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 8.25F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point,
|
|
|
218 |
static_cast<System::Byte>(0)));
|
|
|
219 |
this->groupBox3->Location = System::Drawing::Point(10, 184);
|
|
|
220 |
this->groupBox3->Name = L"groupBox3";
|
|
|
221 |
this->groupBox3->Padding = System::Windows::Forms::Padding(10);
|
|
|
222 |
this->groupBox3->Size = System::Drawing::Size(649, 96);
|
|
|
223 |
this->groupBox3->TabIndex = 1;
|
|
|
224 |
this->groupBox3->TabStop = false;
|
|
|
225 |
this->groupBox3->Text = L"Package Author";
|
|
|
226 |
//
|
|
|
227 |
// label4
|
|
|
228 |
//
|
|
|
229 |
this->label4->Dock = System::Windows::Forms::DockStyle::Fill;
|
|
|
230 |
this->label4->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 9.75F, System::Drawing::FontStyle::Italic, System::Drawing::GraphicsUnit::Point,
|
|
|
231 |
static_cast<System::Byte>(0)));
|
|
|
232 |
this->label4->Location = System::Drawing::Point(10, 23);
|
|
|
233 |
this->label4->Name = L"label4";
|
|
|
234 |
this->label4->Size = System::Drawing::Size(629, 43);
|
|
|
235 |
this->label4->TabIndex = 0;
|
|
|
236 |
this->label4->Text = resources->GetString(L"label4.Text");
|
|
|
237 |
//
|
|
|
238 |
// textBox3
|
|
|
239 |
//
|
|
|
240 |
this->textBox3->AcceptsReturn = true;
|
|
|
241 |
this->textBox3->Dock = System::Windows::Forms::DockStyle::Bottom;
|
|
|
242 |
this->textBox3->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 8.25F, System::Drawing::FontStyle::Regular, System::Drawing::GraphicsUnit::Point,
|
|
|
243 |
static_cast<System::Byte>(0)));
|
|
|
244 |
this->textBox3->Location = System::Drawing::Point(10, 66);
|
|
|
245 |
this->textBox3->Name = L"textBox3";
|
|
|
246 |
this->textBox3->Size = System::Drawing::Size(629, 20);
|
|
|
247 |
this->textBox3->TabIndex = 0;
|
|
|
248 |
this->textBox3->TextChanged += gcnew System::EventHandler(this, &WizardBasic1::textBox3_TextChanged);
|
|
|
249 |
this->textBox3->KeyPress += gcnew System::Windows::Forms::KeyPressEventHandler(this, &WizardBasic1::textBox3_KeyPress);
|
|
|
250 |
//
|
|
|
251 |
// groupBox4
|
|
|
252 |
//
|
|
|
253 |
this->groupBox4->Controls->Add(this->label5);
|
|
|
254 |
this->groupBox4->Controls->Add(this->textBox4);
|
|
|
255 |
this->groupBox4->Dock = System::Windows::Forms::DockStyle::Top;
|
|
|
256 |
this->groupBox4->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 8.25F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point,
|
|
|
257 |
static_cast<System::Byte>(0)));
|
|
|
258 |
this->groupBox4->Location = System::Drawing::Point(10, 75);
|
|
|
259 |
this->groupBox4->Name = L"groupBox4";
|
|
|
260 |
this->groupBox4->Padding = System::Windows::Forms::Padding(10);
|
|
|
261 |
this->groupBox4->Size = System::Drawing::Size(649, 109);
|
|
|
262 |
this->groupBox4->TabIndex = 0;
|
|
|
263 |
this->groupBox4->TabStop = false;
|
|
|
264 |
this->groupBox4->Text = L"Package Name";
|
|
|
265 |
//
|
|
|
266 |
// label5
|
|
|
267 |
//
|
|
|
268 |
this->label5->Dock = System::Windows::Forms::DockStyle::Fill;
|
|
|
269 |
this->label5->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 9.75F, System::Drawing::FontStyle::Italic, System::Drawing::GraphicsUnit::Point,
|
|
|
270 |
static_cast<System::Byte>(0)));
|
|
|
271 |
this->label5->Location = System::Drawing::Point(10, 23);
|
|
|
272 |
this->label5->Name = L"label5";
|
|
|
273 |
this->label5->Size = System::Drawing::Size(629, 56);
|
|
|
274 |
this->label5->TabIndex = 0;
|
|
|
275 |
this->label5->Text = resources->GetString(L"label5.Text");
|
|
|
276 |
//
|
|
|
277 |
// textBox4
|
|
|
278 |
//
|
|
|
279 |
this->textBox4->Dock = System::Windows::Forms::DockStyle::Bottom;
|
|
|
280 |
this->textBox4->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 8.25F, System::Drawing::FontStyle::Regular, System::Drawing::GraphicsUnit::Point,
|
|
|
281 |
static_cast<System::Byte>(0)));
|
|
|
282 |
this->textBox4->Location = System::Drawing::Point(10, 79);
|
|
|
283 |
this->textBox4->Name = L"textBox4";
|
|
|
284 |
this->textBox4->Size = System::Drawing::Size(629, 20);
|
|
|
285 |
this->textBox4->TabIndex = 0;
|
|
|
286 |
this->textBox4->TextChanged += gcnew System::EventHandler(this, &WizardBasic1::textBox4_TextChanged);
|
|
|
287 |
this->textBox4->KeyPress += gcnew System::Windows::Forms::KeyPressEventHandler(this, &WizardBasic1::textBox4_KeyPress);
|
|
|
288 |
//
|
|
|
289 |
// WizardBasic1
|
|
|
290 |
//
|
|
|
291 |
this->AutoScaleDimensions = System::Drawing::SizeF(6, 13);
|
|
|
292 |
this->AutoScaleMode = System::Windows::Forms::AutoScaleMode::Font;
|
|
|
293 |
this->Controls->Add(this->groupBox1);
|
|
|
294 |
this->Controls->Add(this->groupBox2);
|
|
|
295 |
this->Controls->Add(this->groupBox3);
|
|
|
296 |
this->Controls->Add(this->groupBox4);
|
|
|
297 |
this->Controls->Add(this->label1);
|
|
|
298 |
this->Name = L"WizardBasic1";
|
|
|
299 |
this->Padding = System::Windows::Forms::Padding(10);
|
|
|
300 |
this->Size = System::Drawing::Size(669, 595);
|
|
|
301 |
this->Load += gcnew System::EventHandler(this, &WizardBasic1::WizardBasic1_Load);
|
|
|
302 |
this->groupBox1->ResumeLayout(false);
|
|
|
303 |
this->groupBox2->ResumeLayout(false);
|
|
|
304 |
this->groupBox2->PerformLayout();
|
|
|
305 |
this->groupBox3->ResumeLayout(false);
|
|
|
306 |
this->groupBox3->PerformLayout();
|
|
|
307 |
this->groupBox4->ResumeLayout(false);
|
|
|
308 |
this->groupBox4->PerformLayout();
|
|
|
309 |
this->ResumeLayout(false);
|
|
|
310 |
|
|
|
311 |
}
|
|
|
312 |
#pragma endregion
|
|
|
313 |
private: System::Void textBox4_TextChanged(System::Object^ sender, System::EventArgs^ e) {
|
224 |
cycrow |
314 |
m_pPackage->setName(_WS(this->textBox4->Text));
|
1 |
cycrow |
315 |
this->UpdateDone();
|
|
|
316 |
}
|
|
|
317 |
private: System::Void textBox3_TextChanged(System::Object^ sender, System::EventArgs^ e) {
|
224 |
cycrow |
318 |
m_pPackage->setAuthor(_WS(this->textBox3->Text));
|
1 |
cycrow |
319 |
this->UpdateDone();
|
|
|
320 |
}
|
|
|
321 |
private: System::Void textBox2_TextChanged(System::Object^ sender, System::EventArgs^ e) {
|
224 |
cycrow |
322 |
m_pPackage->setVersion(_WS(this->textBox2->Text));
|
1 |
cycrow |
323 |
this->UpdateDone();
|
|
|
324 |
}
|
|
|
325 |
private: System::Void dateTimePicker1_ValueChanged(System::Object^ sender, System::EventArgs^ e) {
|
|
|
326 |
System::DateTime ^time = DateTime(this->dateTimePicker1->Value);
|
|
|
327 |
|
224 |
cycrow |
328 |
m_pPackage->setCreationDate(_WS(System::Convert::ToString(time->Day) + "/" + System::Convert::ToString(time->Month) + "/" + System::Convert::ToString(time->Year)));
|
1 |
cycrow |
329 |
this->UpdateDone();
|
|
|
330 |
}
|
|
|
331 |
private: System::Void WizardBasic1_Load(System::Object^ sender, System::EventArgs^ e) {
|
|
|
332 |
this->textBox4->Focus();
|
|
|
333 |
}
|
|
|
334 |
private: System::Void textBox3_KeyPress(System::Object^ sender, System::Windows::Forms::KeyPressEventArgs^ e) {
|
|
|
335 |
if ( e->KeyChar == 13 ) {
|
|
|
336 |
this->textBox2->Focus();
|
|
|
337 |
}
|
|
|
338 |
}
|
|
|
339 |
private: System::Void textBox4_KeyPress(System::Object^ sender, System::Windows::Forms::KeyPressEventArgs^ e) {
|
|
|
340 |
if ( e->KeyChar == 13 ) {
|
|
|
341 |
this->textBox3->Focus();
|
|
|
342 |
}
|
|
|
343 |
}
|
|
|
344 |
private: System::Void textBox2_KeyPress(System::Object^ sender, System::Windows::Forms::KeyPressEventArgs^ e) {
|
|
|
345 |
if ( e->KeyChar == 13 ) {
|
|
|
346 |
this->dateTimePicker1->Focus();
|
|
|
347 |
}
|
|
|
348 |
}
|
|
|
349 |
};
|
|
|
350 |
}
|