Subversion Repositories spk

Rev

Rev 1 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
1 cycrow 1
#pragma once
2
 
3
using namespace System;
4
using namespace System::ComponentModel;
5
using namespace System::Collections;
6
using namespace System::Windows::Forms;
7
using namespace System::Data;
8
using namespace System::Drawing;
9
 
10
 
11
namespace PluginManager {
12
 
13
	/// <summary>
14
	/// Summary for About
15
	///
16
	/// WARNING: If you change the name of this class, you will need to change the
17
	///          'Resource File Name' property for the managed resource compiler tool
18
	///          associated with all .resx files this class depends on.  Otherwise,
19
	///          the designers will not be able to interact properly with localized
20
	///          resources associated with this form.
21
	/// </summary>
22
	public ref class About : public System::Windows::Forms::Form
23
	{
24
	public:
25
		About(System::String ^version, System::String ^date, System::String ^script, bool advanced)
26
		{
27
			InitializeComponent();
28
 
29
			this->LabDate->Text = date;
30
			this->LabVersion->Text = version;
191 cycrow 31
			this->LabSpk->Text = "Spk Libraries: " + _US(Utils::WString::FromFloat(GetLibraryVersion(), 2));
1 cycrow 32
			this->LabScript->Text = "Script Version: " + script;
33
 
34
			this->label1->Text = GetProgramName(advanced);
35
		}
36
 
37
	protected:
38
		/// <summary>
39
		/// Clean up any resources being used.
40
		/// </summary>
41
		~About()
42
		{
43
			if (components)
44
			{
45
				delete components;
46
			}
47
		}
48
	private: System::Windows::Forms::PictureBox^  pictureBox1;
49
	protected: 
50
	private: System::Windows::Forms::Label^  label1;
51
	private: System::Windows::Forms::Label^  label2;
52
	private: System::Windows::Forms::Label^  LabVersion;
53
	private: System::Windows::Forms::Label^  LabDate;
54
 
55
 
56
	private: System::Windows::Forms::Button^  ButClose;
57
	private: System::Windows::Forms::Label^  LabSpk;
58
	private: System::Windows::Forms::Label^  LabScript;
59
 
60
	private:
61
		/// <summary>
62
		/// Required designer variable.
63
		/// </summary>
64
		System::ComponentModel::Container ^components;
65
 
66
#pragma region Windows Form Designer generated code
67
		/// <summary>
68
		/// Required method for Designer support - do not modify
69
		/// the contents of this method with the code editor.
70
		/// </summary>
71
		void InitializeComponent(void)
72
		{
73
			System::ComponentModel::ComponentResourceManager^  resources = (gcnew System::ComponentModel::ComponentResourceManager(About::typeid));
74
			this->pictureBox1 = (gcnew System::Windows::Forms::PictureBox());
75
			this->label1 = (gcnew System::Windows::Forms::Label());
76
			this->label2 = (gcnew System::Windows::Forms::Label());
77
			this->LabVersion = (gcnew System::Windows::Forms::Label());
78
			this->LabDate = (gcnew System::Windows::Forms::Label());
79
			this->ButClose = (gcnew System::Windows::Forms::Button());
80
			this->LabSpk = (gcnew System::Windows::Forms::Label());
81
			this->LabScript = (gcnew System::Windows::Forms::Label());
82
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->pictureBox1))->BeginInit();
83
			this->SuspendLayout();
84
			// 
85
			// pictureBox1
86
			// 
87
			this->pictureBox1->Dock = System::Windows::Forms::DockStyle::Fill;
88
			this->pictureBox1->Image = (cli::safe_cast<System::Drawing::Image^  >(resources->GetObject(L"pictureBox1.Image")));
89
			this->pictureBox1->Location = System::Drawing::Point(0, 0);
90
			this->pictureBox1->Name = L"pictureBox1";
91
			this->pictureBox1->Size = System::Drawing::Size(473, 88);
92
			this->pictureBox1->SizeMode = System::Windows::Forms::PictureBoxSizeMode::StretchImage;
93
			this->pictureBox1->TabIndex = 0;
94
			this->pictureBox1->TabStop = false;
95
			// 
96
			// label1
97
			// 
98
			this->label1->Dock = System::Windows::Forms::DockStyle::Bottom;
99
			this->label1->Font = (gcnew System::Drawing::Font(L"Comic Sans MS", 14.25F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point, 
100
				static_cast<System::Byte>(0)));
101
			this->label1->Location = System::Drawing::Point(0, 88);
102
			this->label1->Name = L"label1";
103
			this->label1->Size = System::Drawing::Size(473, 47);
104
			this->label1->TabIndex = 1;
105
			this->label1->Text = L"X-Universe Plugin Manager Lite";
106
			this->label1->TextAlign = System::Drawing::ContentAlignment::MiddleCenter;
107
			// 
108
			// label2
109
			// 
110
			this->label2->Dock = System::Windows::Forms::DockStyle::Bottom;
111
			this->label2->Font = (gcnew System::Drawing::Font(L"Comic Sans MS", 9.75F, System::Drawing::FontStyle::Italic, System::Drawing::GraphicsUnit::Point, 
112
				static_cast<System::Byte>(0)));
113
			this->label2->Location = System::Drawing::Point(0, 135);
114
			this->label2->Name = L"label2";
115
			this->label2->Size = System::Drawing::Size(473, 23);
116
			this->label2->TabIndex = 2;
117
			this->label2->Text = L"By Cycrow";
118
			this->label2->TextAlign = System::Drawing::ContentAlignment::MiddleCenter;
119
			// 
120
			// LabVersion
121
			// 
122
			this->LabVersion->Dock = System::Windows::Forms::DockStyle::Bottom;
123
			this->LabVersion->Font = (gcnew System::Drawing::Font(L"Arial", 12, System::Drawing::FontStyle::Regular, System::Drawing::GraphicsUnit::Point, 
124
				static_cast<System::Byte>(0)));
125
			this->LabVersion->Location = System::Drawing::Point(0, 158);
126
			this->LabVersion->Name = L"LabVersion";
127
			this->LabVersion->Size = System::Drawing::Size(473, 23);
128
			this->LabVersion->TabIndex = 3;
129
			this->LabVersion->Text = L"V1.00 (Beta 6)";
130
			this->LabVersion->TextAlign = System::Drawing::ContentAlignment::MiddleCenter;
131
			// 
132
			// LabDate
133
			// 
134
			this->LabDate->Dock = System::Windows::Forms::DockStyle::Bottom;
135
			this->LabDate->Font = (gcnew System::Drawing::Font(L"Arial", 12, System::Drawing::FontStyle::Regular, System::Drawing::GraphicsUnit::Point, 
136
				static_cast<System::Byte>(0)));
137
			this->LabDate->Location = System::Drawing::Point(0, 181);
138
			this->LabDate->Name = L"LabDate";
139
			this->LabDate->Size = System::Drawing::Size(473, 23);
140
			this->LabDate->TabIndex = 4;
141
			this->LabDate->Text = L"20/10/2009";
142
			this->LabDate->TextAlign = System::Drawing::ContentAlignment::MiddleCenter;
143
			// 
144
			// ButClose
145
			// 
146
			this->ButClose->DialogResult = System::Windows::Forms::DialogResult::Cancel;
147
			this->ButClose->Dock = System::Windows::Forms::DockStyle::Bottom;
148
			this->ButClose->Location = System::Drawing::Point(0, 250);
149
			this->ButClose->Name = L"ButClose";
150
			this->ButClose->Size = System::Drawing::Size(473, 29);
151
			this->ButClose->TabIndex = 5;
152
			this->ButClose->Text = L"Close";
153
			this->ButClose->UseVisualStyleBackColor = true;
154
			// 
155
			// LabSpk
156
			// 
157
			this->LabSpk->Dock = System::Windows::Forms::DockStyle::Bottom;
158
			this->LabSpk->Location = System::Drawing::Point(0, 204);
159
			this->LabSpk->Name = L"LabSpk";
160
			this->LabSpk->Size = System::Drawing::Size(473, 23);
161
			this->LabSpk->TabIndex = 6;
162
			this->LabSpk->Text = L"label3";
163
			this->LabSpk->TextAlign = System::Drawing::ContentAlignment::MiddleCenter;
164
			// 
165
			// LabScript
166
			// 
167
			this->LabScript->Dock = System::Windows::Forms::DockStyle::Bottom;
168
			this->LabScript->Location = System::Drawing::Point(0, 227);
169
			this->LabScript->Name = L"LabScript";
170
			this->LabScript->Size = System::Drawing::Size(473, 23);
171
			this->LabScript->TabIndex = 7;
172
			this->LabScript->Text = L"label3";
173
			this->LabScript->TextAlign = System::Drawing::ContentAlignment::TopCenter;
174
			// 
175
			// About
176
			// 
177
			this->AcceptButton = this->ButClose;
178
			this->AutoScaleDimensions = System::Drawing::SizeF(6, 13);
179
			this->AutoScaleMode = System::Windows::Forms::AutoScaleMode::Font;
180
			this->CancelButton = this->ButClose;
181
			this->ClientSize = System::Drawing::Size(473, 279);
182
			this->Controls->Add(this->pictureBox1);
183
			this->Controls->Add(this->label1);
184
			this->Controls->Add(this->label2);
185
			this->Controls->Add(this->LabVersion);
186
			this->Controls->Add(this->LabDate);
187
			this->Controls->Add(this->LabSpk);
188
			this->Controls->Add(this->LabScript);
189
			this->Controls->Add(this->ButClose);
190
			this->Icon = (cli::safe_cast<System::Drawing::Icon^  >(resources->GetObject(L"$this.Icon")));
191
			this->MaximizeBox = false;
192
			this->MinimizeBox = false;
193
			this->Name = L"About";
194
			this->SizeGripStyle = System::Windows::Forms::SizeGripStyle::Hide;
195
			this->StartPosition = System::Windows::Forms::FormStartPosition::CenterParent;
196
			this->Text = L"About";
197
			this->TopMost = true;
198
			(cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->pictureBox1))->EndInit();
199
			this->ResumeLayout(false);
200
 
201
		}
202
#pragma endregion
203
};
204
}