Rev 1 | Blame | Compare with Previous | Last modification | View Log | RSS feed
#pragma once
using namespace System;
using namespace System::ComponentModel;
using namespace System::Collections;
using namespace System::Windows::Forms;
using namespace System::Data;
using namespace System::Drawing;
namespace PluginManager {
/// <summary>
/// Summary for About
///
/// WARNING: If you change the name of this class, you will need to change the
/// 'Resource File Name' property for the managed resource compiler tool
/// associated with all .resx files this class depends on. Otherwise,
/// the designers will not be able to interact properly with localized
/// resources associated with this form.
/// </summary>
public ref class About : public System::Windows::Forms::Form
{
public:
About(System::String ^version, System::String ^date, System::String ^script, bool advanced)
{
InitializeComponent();
this->LabDate->Text = date;
this->LabVersion->Text = version;
this->LabSpk->Text = "Spk Libraries: " + _US(Utils::WString::FromFloat(GetLibraryVersion(), 2));
this->LabScript->Text = "Script Version: " + script;
this->label1->Text = GetProgramName(advanced);
}
protected:
/// <summary>
/// Clean up any resources being used.
/// </summary>
~About()
{
if (components)
{
delete components;
}
}
private: System::Windows::Forms::PictureBox^ pictureBox1;
protected:
private: System::Windows::Forms::Label^ label1;
private: System::Windows::Forms::Label^ label2;
private: System::Windows::Forms::Label^ LabVersion;
private: System::Windows::Forms::Label^ LabDate;
private: System::Windows::Forms::Button^ ButClose;
private: System::Windows::Forms::Label^ LabSpk;
private: System::Windows::Forms::Label^ LabScript;
private:
/// <summary>
/// Required designer variable.
/// </summary>
System::ComponentModel::Container ^components;
#pragma region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
void InitializeComponent(void)
{
System::ComponentModel::ComponentResourceManager^ resources = (gcnew System::ComponentModel::ComponentResourceManager(About::typeid));
this->pictureBox1 = (gcnew System::Windows::Forms::PictureBox());
this->label1 = (gcnew System::Windows::Forms::Label());
this->label2 = (gcnew System::Windows::Forms::Label());
this->LabVersion = (gcnew System::Windows::Forms::Label());
this->LabDate = (gcnew System::Windows::Forms::Label());
this->ButClose = (gcnew System::Windows::Forms::Button());
this->LabSpk = (gcnew System::Windows::Forms::Label());
this->LabScript = (gcnew System::Windows::Forms::Label());
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->pictureBox1))->BeginInit();
this->SuspendLayout();
//
// pictureBox1
//
this->pictureBox1->Dock = System::Windows::Forms::DockStyle::Fill;
this->pictureBox1->Image = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"pictureBox1.Image")));
this->pictureBox1->Location = System::Drawing::Point(0, 0);
this->pictureBox1->Name = L"pictureBox1";
this->pictureBox1->Size = System::Drawing::Size(473, 88);
this->pictureBox1->SizeMode = System::Windows::Forms::PictureBoxSizeMode::StretchImage;
this->pictureBox1->TabIndex = 0;
this->pictureBox1->TabStop = false;
//
// label1
//
this->label1->Dock = System::Windows::Forms::DockStyle::Bottom;
this->label1->Font = (gcnew System::Drawing::Font(L"Comic Sans MS", 14.25F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point,
static_cast<System::Byte>(0)));
this->label1->Location = System::Drawing::Point(0, 88);
this->label1->Name = L"label1";
this->label1->Size = System::Drawing::Size(473, 47);
this->label1->TabIndex = 1;
this->label1->Text = L"X-Universe Plugin Manager Lite";
this->label1->TextAlign = System::Drawing::ContentAlignment::MiddleCenter;
//
// label2
//
this->label2->Dock = System::Windows::Forms::DockStyle::Bottom;
this->label2->Font = (gcnew System::Drawing::Font(L"Comic Sans MS", 9.75F, System::Drawing::FontStyle::Italic, System::Drawing::GraphicsUnit::Point,
static_cast<System::Byte>(0)));
this->label2->Location = System::Drawing::Point(0, 135);
this->label2->Name = L"label2";
this->label2->Size = System::Drawing::Size(473, 23);
this->label2->TabIndex = 2;
this->label2->Text = L"By Cycrow";
this->label2->TextAlign = System::Drawing::ContentAlignment::MiddleCenter;
//
// LabVersion
//
this->LabVersion->Dock = System::Windows::Forms::DockStyle::Bottom;
this->LabVersion->Font = (gcnew System::Drawing::Font(L"Arial", 12, System::Drawing::FontStyle::Regular, System::Drawing::GraphicsUnit::Point,
static_cast<System::Byte>(0)));
this->LabVersion->Location = System::Drawing::Point(0, 158);
this->LabVersion->Name = L"LabVersion";
this->LabVersion->Size = System::Drawing::Size(473, 23);
this->LabVersion->TabIndex = 3;
this->LabVersion->Text = L"V1.00 (Beta 6)";
this->LabVersion->TextAlign = System::Drawing::ContentAlignment::MiddleCenter;
//
// LabDate
//
this->LabDate->Dock = System::Windows::Forms::DockStyle::Bottom;
this->LabDate->Font = (gcnew System::Drawing::Font(L"Arial", 12, System::Drawing::FontStyle::Regular, System::Drawing::GraphicsUnit::Point,
static_cast<System::Byte>(0)));
this->LabDate->Location = System::Drawing::Point(0, 181);
this->LabDate->Name = L"LabDate";
this->LabDate->Size = System::Drawing::Size(473, 23);
this->LabDate->TabIndex = 4;
this->LabDate->Text = L"20/10/2009";
this->LabDate->TextAlign = System::Drawing::ContentAlignment::MiddleCenter;
//
// ButClose
//
this->ButClose->DialogResult = System::Windows::Forms::DialogResult::Cancel;
this->ButClose->Dock = System::Windows::Forms::DockStyle::Bottom;
this->ButClose->Location = System::Drawing::Point(0, 250);
this->ButClose->Name = L"ButClose";
this->ButClose->Size = System::Drawing::Size(473, 29);
this->ButClose->TabIndex = 5;
this->ButClose->Text = L"Close";
this->ButClose->UseVisualStyleBackColor = true;
//
// LabSpk
//
this->LabSpk->Dock = System::Windows::Forms::DockStyle::Bottom;
this->LabSpk->Location = System::Drawing::Point(0, 204);
this->LabSpk->Name = L"LabSpk";
this->LabSpk->Size = System::Drawing::Size(473, 23);
this->LabSpk->TabIndex = 6;
this->LabSpk->Text = L"label3";
this->LabSpk->TextAlign = System::Drawing::ContentAlignment::MiddleCenter;
//
// LabScript
//
this->LabScript->Dock = System::Windows::Forms::DockStyle::Bottom;
this->LabScript->Location = System::Drawing::Point(0, 227);
this->LabScript->Name = L"LabScript";
this->LabScript->Size = System::Drawing::Size(473, 23);
this->LabScript->TabIndex = 7;
this->LabScript->Text = L"label3";
this->LabScript->TextAlign = System::Drawing::ContentAlignment::TopCenter;
//
// About
//
this->AcceptButton = this->ButClose;
this->AutoScaleDimensions = System::Drawing::SizeF(6, 13);
this->AutoScaleMode = System::Windows::Forms::AutoScaleMode::Font;
this->CancelButton = this->ButClose;
this->ClientSize = System::Drawing::Size(473, 279);
this->Controls->Add(this->pictureBox1);
this->Controls->Add(this->label1);
this->Controls->Add(this->label2);
this->Controls->Add(this->LabVersion);
this->Controls->Add(this->LabDate);
this->Controls->Add(this->LabSpk);
this->Controls->Add(this->LabScript);
this->Controls->Add(this->ButClose);
this->Icon = (cli::safe_cast<System::Drawing::Icon^ >(resources->GetObject(L"$this.Icon")));
this->MaximizeBox = false;
this->MinimizeBox = false;
this->Name = L"About";
this->SizeGripStyle = System::Windows::Forms::SizeGripStyle::Hide;
this->StartPosition = System::Windows::Forms::FormStartPosition::CenterParent;
this->Text = L"About";
this->TopMost = true;
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->pictureBox1))->EndInit();
this->ResumeLayout(false);
}
#pragma endregion
};
}