Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #pragma once
- namespace LR2813 {
- using namespace System;
- using namespace System::ComponentModel;
- using namespace System::Collections;
- using namespace System::Windows::Forms;
- using namespace System::Data;
- using namespace System::Drawing;
- /// <summary>
- /// Сводка для Info
- /// </summary>
- public ref class Info : public System::Windows::Forms::Form
- {
- public:
- Info(void)
- {
- InitializeComponent();
- //
- //TODO: добавьте код конструктора
- //
- }
- protected:
- /// <summary>
- /// Освободить все используемые ресурсы.
- /// </summary>
- ~Info()
- {
- if (components)
- {
- delete components;
- }
- }
- private: System::Windows::Forms::Label^ label1;
- private: System::Windows::Forms::Button^ button1;
- protected:
- private:
- /// <summary>
- /// Обязательная переменная конструктора.
- /// </summary>
- System::ComponentModel::Container ^components;
- #pragma region Windows Form Designer generated code
- /// <summary>
- /// Требуемый метод для поддержки конструктора — не изменяйте
- /// содержимое этого метода с помощью редактора кода.
- /// </summary>
- void InitializeComponent(void)
- {
- this->label1 = (gcnew System::Windows::Forms::Label());
- this->button1 = (gcnew System::Windows::Forms::Button());
- this->SuspendLayout();
- //
- // label1
- //
- this->label1->AutoSize = true;
- this->label1->BackColor = System::Drawing::SystemColors::ControlDark;
- this->label1->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 15, System::Drawing::FontStyle::Regular, System::Drawing::GraphicsUnit::Point,
- static_cast<System::Byte>(204)));
- this->label1->Location = System::Drawing::Point(7, 179);
- this->label1->Name = L"label1";
- this->label1->Size = System::Drawing::Size(555, 116);
- this->label1->TabIndex = 0;
- this->label1->Text = L"Имеется массив кодов групп товаров. \r\nКод группы товара – это последовательность\r"
- L"\n четырех цифр. Упорядочите данный массив, \r\nне используя операций срав-нения.";
- //
- // button1
- //
- this->button1->Location = System::Drawing::Point(12, 12);
- this->button1->Name = L"button1";
- this->button1->Size = System::Drawing::Size(96, 36);
- this->button1->TabIndex = 1;
- this->button1->Text = L"Назад";
- this->button1->UseVisualStyleBackColor = true;
- this->button1->Click += gcnew System::EventHandler(this, &Info::button1_Click);
- //
- // Info
- //
- this->AutoScaleDimensions = System::Drawing::SizeF(8, 16);
- this->AutoScaleMode = System::Windows::Forms::AutoScaleMode::Font;
- this->BackColor = System::Drawing::SystemColors::ControlDarkDark;
- this->ClientSize = System::Drawing::Size(561, 481);
- this->Controls->Add(this->button1);
- this->Controls->Add(this->label1);
- this->Name = L"Info";
- this->Text = L"Info";
- this->ResumeLayout(false);
- this->PerformLayout();
- }
- #pragma endregion
- private: System::Void button1_Click(System::Object^ sender, System::EventArgs^ e) {
- Owner->Show();
- this->Close();
- }
- };
- }
Advertisement
Add Comment
Please, Sign In to add comment