//HowToPlay.h
//Fully Documented
#pragma once
namespace MasterMindProyectoFinal {
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>
/// Resumen de HowToPlay
/// </summary>
public ref class HowToPlay : public System::Windows::Forms::Form
{
public:
HowToPlay(void)
{
InitializeComponent();
//
//TODO: agregar código de constructor aquí
//
}
protected:
/// <summary>
/// Limpiar los recursos que se estén usando.
/// </summary>
~HowToPlay()
{
if (components)
{
delete components;
}
}
private: System::Windows::Forms::Button^ button1;
private: System::Windows::Forms::VScrollBar^ vScrollBar1;
private: System::Windows::Forms::Label^ label1;
protected:
private:
/// <summary>
/// Variable del diseñador necesaria.
/// </summary>
System::ComponentModel::Container ^components;
#pragma region Windows Form Designer generated code
///
/// Método necesario para admitir el Diseñador. No se puede modificar
/// el contenido de este método con el editor de código.
///
void InitializeComponent(void)
{
System::ComponentModel::ComponentResourceManager^ resources = (gcnew System::ComponentModel::ComponentResourceManager(HowToPlay::typeid));
this->button1 = (gcnew System::Windows::Forms::Button());
this->vScrollBar1 = (gcnew System::Windows::Forms::VScrollBar());
this->label1 = (gcnew System::Windows::Forms::Label());
this->SuspendLayout();
//
// button1
//
this->button1->Location = System::Drawing::Point(464, 376);
this->button1->Name = L"button1";
this->button1->Size = System::Drawing::Size(75, 23);
this->button1->TabIndex = 0;
this->button1->Text = L"Back";
this->button1->UseVisualStyleBackColor = true;
this->button1->Click += gcnew System::EventHandler(this, &HowToPlay::button1_Click);
//
// vScrollBar1
//
this->vScrollBar1->Location = System::Drawing::Point(311, 9);
this->vScrollBar1->Name = L"vScrollBar1";
this->vScrollBar1->Size = System::Drawing::Size(22, 322);
this->vScrollBar1->TabIndex = 1;
//
// label1
//
this->label1->AutoSize = true;
this->label1->Location = System::Drawing::Point(12, 9);
this->label1->Name = L"label1";
this->label1->Size = System::Drawing::Size(527, 364);
this->label1->TabIndex = 2;
this->label1->Text = resources->GetString(L"label1.Text");
//
// HowToPlay
//
this->AutoScaleDimensions = System::Drawing::SizeF(6, 13);
this->AutoScaleMode = System::Windows::Forms::AutoScaleMode::Font;
this->ClientSize = System::Drawing::Size(551, 405);
this->Controls->Add(this->label1);
this->Controls->Add(this->vScrollBar1);
this->Controls->Add(this->button1);
this->Name = L"HowToPlay";
this->Text = L"HowToPlay";
this->ResumeLayout(false);
this->PerformLayout();
#pragma endregion
private: System::Void button1_Click(System::Object^ sender, System::EventArgs^ e)
{
//Closes the HowToPlay window
HowToPlay::Close();
}
}