Skip to content

Latest commit

 

History

History
100 lines (90 loc) · 2.48 KB

Style.h.md

File metadata and controls

100 lines (90 loc) · 2.48 KB

Master-Mind

//Style.h

#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 Style
/// </summary>
public ref class Style : public System::Windows::Forms::Form
{
public:
	Style(void)
	{
		InitializeComponent();
		//
		//TODO: agregar código de constructor aquí
		//
	}

protected:
	/// <summary>
	/// Limpiar los recursos que se estén usando.
	/// </summary>
	~Style()
	{
		if (components)
		{
			delete components;
		}
	}
private: System::Windows::Forms::Button^ button1;
protected:
private: System::Windows::Forms::Button^ button2;

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) { this->button1 = (gcnew System::Windows::Forms::Button()); this->button2 = (gcnew System::Windows::Forms::Button()); this->SuspendLayout(); // // button1 // this->button1->Location = System::Drawing::Point(130, 234); this->button1->Name = L"button1"; this->button1->Size = System::Drawing::Size(75, 23); this->button1->TabIndex = 0; this->button1->Text = L"Save"; this->button1->UseVisualStyleBackColor = true; // // button2 // this->button2->Location = System::Drawing::Point(12, 280); this->button2->Name = L"button2"; this->button2->Size = System::Drawing::Size(75, 23); this->button2->TabIndex = 1; this->button2->Text = L"Back"; this->button2->UseVisualStyleBackColor = true; this->button2->Click += gcnew System::EventHandler(this, &Style::button2_Click); // // Style // this->AutoScaleDimensions = System::Drawing::SizeF(6, 13); this->AutoScaleMode = System::Windows::Forms::AutoScaleMode::Font; this->ClientSize = System::Drawing::Size(338, 315); this->Controls->Add(this->button2); this->Controls->Add(this->button1); this->Name = L"Style"; this->Text = L"Style"; this->ResumeLayout(false);

	}

#pragma endregion private: System::Void button2_Click(System::Object^ sender, System::EventArgs^ e) { Style::Close(); }

};

}