📄 formabout.h
字号:
#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 LeastLIDE {
/// <summary>
/// Summary for FormAbout
///
/// 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 FormAbout : public System::Windows::Forms::Form
{
public:
FormAbout(void)
{
InitializeComponent();
//
//TODO: Add the constructor code here
//
}
protected:
/// <summary>
/// Clean up any resources being used.
/// </summary>
~FormAbout()
{
if (components)
{
delete components;
}
}
private: System::Windows::Forms::PictureBox^ pictureBox1;
private: System::Windows::Forms::Label^ label1;
private: System::Windows::Forms::Label^ label2;
private: System::Windows::Forms::GroupBox^ groupBox1;
private: System::Windows::Forms::Label^ label6;
private: System::Windows::Forms::Label^ label5;
private: System::Windows::Forms::Label^ label4;
private: System::Windows::Forms::Label^ label3;
private: System::Windows::Forms::GroupBox^ groupBox3;
private: System::Windows::Forms::Button^ buttonClose;
private: System::Windows::Forms::Label^ label7;
private: System::Windows::Forms::Label^ label8;
private: System::Windows::Forms::Label^ label9;
protected:
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(FormAbout::typeid));
this->pictureBox1 = (gcnew System::Windows::Forms::PictureBox());
this->label1 = (gcnew System::Windows::Forms::Label());
this->label2 = (gcnew System::Windows::Forms::Label());
this->groupBox1 = (gcnew System::Windows::Forms::GroupBox());
this->label6 = (gcnew System::Windows::Forms::Label());
this->label5 = (gcnew System::Windows::Forms::Label());
this->label4 = (gcnew System::Windows::Forms::Label());
this->label3 = (gcnew System::Windows::Forms::Label());
this->groupBox3 = (gcnew System::Windows::Forms::GroupBox());
this->label9 = (gcnew System::Windows::Forms::Label());
this->label8 = (gcnew System::Windows::Forms::Label());
this->label7 = (gcnew System::Windows::Forms::Label());
this->buttonClose = (gcnew System::Windows::Forms::Button());
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->pictureBox1))->BeginInit();
this->groupBox1->SuspendLayout();
this->groupBox3->SuspendLayout();
this->SuspendLayout();
//
// pictureBox1
//
this->pictureBox1->Image = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"pictureBox1.Image")));
this->pictureBox1->Location = System::Drawing::Point(12, 15);
this->pictureBox1->Name = L"pictureBox1";
this->pictureBox1->Size = System::Drawing::Size(70, 69);
this->pictureBox1->TabIndex = 0;
this->pictureBox1->TabStop = false;
//
// label1
//
this->label1->AutoSize = true;
this->label1->Font = (gcnew System::Drawing::Font(L"Courier New", 14, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point,
static_cast<System::Byte>(134)));
this->label1->Location = System::Drawing::Point(108, 9);
this->label1->Name = L"label1";
this->label1->Size = System::Drawing::Size(86, 19);
this->label1->TabIndex = 1;
this->label1->Text = L"C0 IDE ";
//
// label2
//
this->label2->AutoSize = true;
this->label2->Location = System::Drawing::Point(235, 15);
this->label2->Name = L"label2";
this->label2->Size = System::Drawing::Size(143, 12);
this->label2->TabIndex = 2;
this->label2->Text = L"--A IDE for C0 Language";
//
// groupBox1
//
this->groupBox1->Controls->Add(this->label6);
this->groupBox1->Controls->Add(this->label5);
this->groupBox1->Controls->Add(this->label4);
this->groupBox1->Controls->Add(this->label3);
this->groupBox1->Location = System::Drawing::Point(112, 32);
this->groupBox1->Name = L"groupBox1";
this->groupBox1->Size = System::Drawing::Size(284, 56);
this->groupBox1->TabIndex = 3;
this->groupBox1->TabStop = false;
this->groupBox1->Text = L"Version";
//
// label6
//
this->label6->AutoSize = true;
this->label6->Location = System::Drawing::Point(123, 34);
this->label6->Name = L"label6";
this->label6->Size = System::Drawing::Size(47, 12);
this->label6->TabIndex = 3;
this->label6->Text = L"0.0.0.1";
//
// label5
//
this->label5->AutoSize = true;
this->label5->Location = System::Drawing::Point(123, 17);
this->label5->Name = L"label5";
this->label5->Size = System::Drawing::Size(47, 12);
this->label5->TabIndex = 2;
this->label5->Text = L"0.0.0.1";
//
// label4
//
this->label4->AutoSize = true;
this->label4->Location = System::Drawing::Point(18, 34);
this->label4->Name = L"label4";
this->label4->Size = System::Drawing::Size(77, 12);
this->label4->TabIndex = 1;
this->label4->Text = L"GUI version:";
//
// label3
//
this->label3->AutoSize = true;
this->label3->Location = System::Drawing::Point(18, 17);
this->label3->Name = L"label3";
this->label3->Size = System::Drawing::Size(83, 12);
this->label3->TabIndex = 0;
this->label3->Text = L"Core version:";
//
// groupBox3
//
this->groupBox3->Controls->Add(this->label9);
this->groupBox3->Controls->Add(this->label8);
this->groupBox3->Controls->Add(this->label7);
this->groupBox3->Location = System::Drawing::Point(12, 94);
this->groupBox3->Name = L"groupBox3";
this->groupBox3->Size = System::Drawing::Size(384, 145);
this->groupBox3->TabIndex = 5;
this->groupBox3->TabStop = false;
this->groupBox3->Text = L"Credits";
//
// label9
//
this->label9->AutoSize = true;
this->label9->Location = System::Drawing::Point(16, 75);
this->label9->Name = L"label9";
this->label9->Size = System::Drawing::Size(131, 12);
this->label9->TabIndex = 2;
this->label9->Text = L"Thanks to Prof. Zheng";
//
// label8
//
this->label8->AutoSize = true;
this->label8->Location = System::Drawing::Point(16, 46);
this->label8->Name = L"label8";
this->label8->Size = System::Drawing::Size(257, 12);
this->label8->TabIndex = 1;
this->label8->Text = L"GUI IDE was mainly written by Wei Yonglong";
//
// label7
//
this->label7->AutoSize = true;
this->label7->Location = System::Drawing::Point(16, 17);
this->label7->Name = L"label7";
this->label7->Size = System::Drawing::Size(311, 12);
this->label7->TabIndex = 0;
this->label7->Text = L"Core Interpreter was mainly written by Ren Jinglei ";
//
// buttonClose
//
this->buttonClose->Location = System::Drawing::Point(321, 245);
this->buttonClose->Name = L"buttonClose";
this->buttonClose->Size = System::Drawing::Size(75, 23);
this->buttonClose->TabIndex = 6;
this->buttonClose->Text = L"Close";
this->buttonClose->UseVisualStyleBackColor = true;
this->buttonClose->Click += gcnew System::EventHandler(this, &FormAbout::buttonClose_Click);
//
// FormAbout
//
this->AutoScaleDimensions = System::Drawing::SizeF(6, 12);
this->AutoScaleMode = System::Windows::Forms::AutoScaleMode::Font;
this->ClientSize = System::Drawing::Size(410, 279);
this->Controls->Add(this->buttonClose);
this->Controls->Add(this->groupBox3);
this->Controls->Add(this->groupBox1);
this->Controls->Add(this->label2);
this->Controls->Add(this->label1);
this->Controls->Add(this->pictureBox1);
this->FormBorderStyle = System::Windows::Forms::FormBorderStyle::FixedSingle;
this->MaximizeBox = false;
this->Name = L"FormAbout";
this->StartPosition = System::Windows::Forms::FormStartPosition::CenterScreen;
this->Text = L"About C0 IDE";
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->pictureBox1))->EndInit();
this->groupBox1->ResumeLayout(false);
this->groupBox1->PerformLayout();
this->groupBox3->ResumeLayout(false);
this->groupBox3->PerformLayout();
this->ResumeLayout(false);
this->PerformLayout();
}
#pragma endregion
private:
System::Void buttonClose_Click(System::Object^ sender, System::EventArgs^ e) {
this->Close();
}
};
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -