Pretty sure this would be the right area to post this, I recently started to make this program in Visual c++ 2010, and Before I added the GCF.h form, I had no errors at all. Now I get all these
1>------ Build started: Project: Valestroms Calculator, Configuration: Debug Win32 ------
1> Calclist.cpp
1>c:\users\blackmethod\documents\visual studio 2010\projects\valestroms calculator\valestroms calculator\Form1.h(139): error C2065: 'Calclist' : undeclared identifier
1>c:\users\blackmethod\documents\visual studio 2010\projects\valestroms calculator\valestroms calculator\Form1.h(139): error C2065: 'form' : undeclared identifier
1>c:\users\blackmethod\documents\visual studio 2010\projects\valestroms calculator\valestroms calculator\Form1.h(139): error C2061: syntax error : identifier 'Calclist'
1>c:\users\blackmethod\documents\visual studio 2010\projects\valestroms calculator\valestroms calculator\Form1.h(140): error C2065: 'form' : undeclared identifier
1>c:\users\blackmethod\documents\visual studio 2010\projects\valestroms calculator\valestroms calculator\Form1.h(140): error C2227: left of '->Show' must point to class/struct/union/generic type
1> type is ''unknown-type''
1>c:\users\blackmethod\documents\visual studio 2010\projects\valestroms calculator\valestroms calculator\GCF.h(182): error C2065: 'Calclist' : undeclared identifier
1>c:\users\blackmethod\documents\visual studio 2010\projects\valestroms calculator\valestroms calculator\GCF.h(182): error C2065: 'form' : undeclared identifier
1>c:\users\blackmethod\documents\visual studio 2010\projects\valestroms calculator\valestroms calculator\GCF.h(182): error C2061: syntax error : identifier 'Calclist'
1>c:\users\blackmethod\documents\visual studio 2010\projects\valestroms calculator\valestroms calculator\GCF.h(183): error C2065: 'form' : undeclared identifier
1>c:\users\blackmethod\documents\visual studio 2010\projects\valestroms calculator\valestroms calculator\GCF.h(183): error C2227: left of '->Show' must point to class/struct/union/generic type
1> type is ''unknown-type''
1> GCF.cpp
1>c:\users\blackmethod\documents\visual studio 2010\projects\valestroms calculator\valestroms calculator\Form1.h(139): error C2065: 'Calclist' : undeclared identifier
1>c:\users\blackmethod\documents\visual studio 2010\projects\valestroms calculator\valestroms calculator\Form1.h(139): error C2065: 'form' : undeclared identifier
1>c:\users\blackmethod\documents\visual studio 2010\projects\valestroms calculator\valestroms calculator\Form1.h(139): error C2061: syntax error : identifier 'Calclist'
1>c:\users\blackmethod\documents\visual studio 2010\projects\valestroms calculator\valestroms calculator\Form1.h(140): error C2065: 'form' : undeclared identifier
1>c:\users\blackmethod\documents\visual studio 2010\projects\valestroms calculator\valestroms calculator\Form1.h(140): error C2227: left of '->Show' must point to class/struct/union/generic type
1> type is ''unknown-type''
1>c:\users\blackmethod\documents\visual studio 2010\projects\valestroms calculator\valestroms calculator\Calclist.h(296): error C2065: 'GCF' : undeclared identifier
1>c:\users\blackmethod\documents\visual studio 2010\projects\valestroms calculator\valestroms calculator\Calclist.h(296): error C2065: 'form' : undeclared identifier
1>c:\users\blackmethod\documents\visual studio 2010\projects\valestroms calculator\valestroms calculator\Calclist.h(296): error C2061: syntax error : identifier 'GCF'
1>c:\users\blackmethod\documents\visual studio 2010\projects\valestroms calculator\valestroms calculator\Calclist.h(297): error C2065: 'form' : undeclared identifier
1>c:\users\blackmethod\documents\visual studio 2010\projects\valestroms calculator\valestroms calculator\Calclist.h(297): error C2227: left of '->Show' must point to class/struct/union/generic type
1> type is ''unknown-type''
1> Valestroms Calculator.cpp
1>c:\users\blackmethod\documents\visual studio 2010\projects\valestroms calculator\valestroms calculator\GCF.h(182): error C2065: 'Calclist' : undeclared identifier
1>c:\users\blackmethod\documents\visual studio 2010\projects\valestroms calculator\valestroms calculator\GCF.h(182): error C2065: 'form' : undeclared identifier
1>c:\users\blackmethod\documents\visual studio 2010\projects\valestroms calculator\valestroms calculator\GCF.h(182): error C2061: syntax error : identifier 'Calclist'
1>c:\users\blackmethod\documents\visual studio 2010\projects\valestroms calculator\valestroms calculator\GCF.h(183): error C2065: 'form' : undeclared identifier
1>c:\users\blackmethod\documents\visual studio 2010\projects\valestroms calculator\valestroms calculator\GCF.h(183): error C2227: left of '->Show' must point to class/struct/union/generic type
Here is my code.
Form1.h
#pragma once
#include "Calclist.h"
#include "GCF.h"
namespace ValestromsCalculator {
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>
/// Summary for Form1
/// </summary>
public ref class Form1 : public System::Windows::Forms::Form
{
public:
Form1(void)
{
InitializeComponent();
//
//TODO: Add the constructor code here
//
}
protected:
/// <summary>
/// Clean up any resources being used.
/// </summary>
~Form1()
{
if (components)
{
delete components;
}
}
private: System::Windows::Forms::PictureBox^ pictureBox1;
private: System::Windows::Forms::Button^ button1;
private: System::Windows::Forms::Button^ button2;
private: System::Windows::Forms::Button^ button3;
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(Form1::typeid));
this->pictureBox1 = (gcnew System::Windows::Forms::PictureBox());
this->button1 = (gcnew System::Windows::Forms::Button());
this->button2 = (gcnew System::Windows::Forms::Button());
this->button3 = (gcnew System::Windows::Forms::Button());
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->pictureBox1))->BeginInit();
this->SuspendLayout();
//
// pictureBox1
//
this->pictureBox1->Image = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"pictureBox1.Image")));
this->pictureBox1->Location = System::Drawing::Point(-31, -2);
this->pictureBox1->Name = L"pictureBox1";
this->pictureBox1->Size = System::Drawing::Size(348, 130);
this->pictureBox1->TabIndex = 0;
this->pictureBox1->TabStop = false;
this->pictureBox1->Click += gcnew System::EventHandler(this, &Form1::pictureBox1_Click);
//
// button1
//
this->button1->BackColor = System::Drawing::Color::Black;
this->button1->Cursor = System::Windows::Forms::Cursors::Arrow;
this->button1->ForeColor = System::Drawing::Color::DarkRed;
this->button1->Location = System::Drawing::Point(12, 134);
this->button1->Name = L"button1";
this->button1->Size = System::Drawing::Size(260, 32);
this->button1->TabIndex = 1;
this->button1->Text = L"New";
this->button1->UseVisualStyleBackColor = false;
this->button1->Click += gcnew System::EventHandler(this, &Form1::button1_Click);
//
// button2
//
this->button2->BackColor = System::Drawing::Color::Black;
this->button2->ForeColor = System::Drawing::Color::DarkRed;
this->button2->Location = System::Drawing::Point(12, 172);
this->button2->Name = L"button2";
this->button2->Size = System::Drawing::Size(260, 32);
this->button2->TabIndex = 2;
this->button2->Text = L"Info";
this->button2->UseVisualStyleBackColor = false;
this->button2->Click += gcnew System::EventHandler(this, &Form1::button2_Click);
//
// button3
//
this->button3->BackColor = System::Drawing::Color::Black;
this->button3->ForeColor = System::Drawing::Color::DarkRed;
this->button3->Location = System::Drawing::Point(12, 210);
this->button3->Name = L"button3";
this->button3->Size = System::Drawing::Size(260, 40);
this->button3->TabIndex = 3;
this->button3->Text = L"Exit";
this->button3->UseVisualStyleBackColor = false;
this->button3->Click += gcnew System::EventHandler(this, &Form1::button3_Click);
//
// Form1
//
this->AutoScaleDimensions = System::Drawing::SizeF(6, 13);
this->AutoScaleMode = System::Windows::Forms::AutoScaleMode::Font;
this->ClientSize = System::Drawing::Size(284, 262);
this->Controls->Add(this->button3);
this->Controls->Add(this->button2);
this->Controls->Add(this->button1);
this->Controls->Add(this->pictureBox1);
this->MaximumSize = System::Drawing::Size(300, 300);
this->MinimumSize = System::Drawing::Size(300, 300);
this->Name = L"Form1";
this->Opacity = 0.85;
this->Text = L"Valestrom\'s Calculator 1.0";
this->TransparencyKey = System::Drawing::Color::FromArgb(static_cast<System::Int32>(static_cast<System::Byte>(192)), static_cast<System::Int32>(static_cast<System::Byte>(0)),
static_cast<System::Int32>(static_cast<System::Byte>(0)));
(cli::safe_cast<System::ComponentModel::ISupportInitialize^ >(this->pictureBox1))->EndInit();
this->ResumeLayout(false);
}
#pragma endregion
private: System::Void pictureBox1_Click(System::Object^ sender, System::EventArgs^ e) {
}
private: System::Void button1_Click(System::Object^ sender, System::EventArgs^ e) {
MessageBox::Show("You're a nigger. This program isn't done yet.");
Form1::Hide();
Calclist^ form = gcnew Calclist();
form->Show();
}
private: System::Void button3_Click(System::Object^ sender, System::EventArgs^ e) {
Application::Exit();
}
private: System::Void button2_Click(System::Object^ sender, System::EventArgs^ e) {
MessageBox::Show("Author: Valestrom\n valestrom@aim.com");
}
};
}
Calclist.h
#pragma once
#include "GCF.h"
#include "Form1.h"
namespace ValestromsCalculator {
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>
/// Summary for Calclist
/// </summary>
public ref class Calclist : public System::Windows::Forms::Form
{
public:
Calclist(void)
{
InitializeComponent();
//
//TODO: Add the constructor code here
//
}
protected:
/// <summary>
/// Clean up any resources being used.
/// </summary>
~Calclist()
{
if (components)
{
delete components;
}
}
private: System::Windows::Forms::Button^ button1;
private: System::Windows::Forms::Button^ button2;
private: System::Windows::Forms::Button^ button3;
private: System::Windows::Forms::Button^ button4;
private: System::Windows::Forms::Button^ button5;
private: System::Windows::Forms::Button^ button6;
private: System::Windows::Forms::Button^ button7;
private: System::Windows::Forms::Button^ button8;
private: System::Windows::Forms::Button^ button9;
private: System::Windows::Forms::Button^ button10;
private: System::Windows::Forms::Button^ button11;
private: System::Windows::Forms::Button^ button12;
private: System::Windows::Forms::Button^ button13;
private: System::Windows::Forms::Button^ button14;
private: System::Windows::Forms::Button^ button15;
private: System::Windows::Forms::Button^ button16;
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)
{
this->button1 = (gcnew System::Windows::Forms::Button());
this->button2 = (gcnew System::Windows::Forms::Button());
this->button3 = (gcnew System::Windows::Forms::Button());
this->button4 = (gcnew System::Windows::Forms::Button());
this->button5 = (gcnew System::Windows::Forms::Button());
this->button6 = (gcnew System::Windows::Forms::Button());
this->button7 = (gcnew System::Windows::Forms::Button());
this->button8 = (gcnew System::Windows::Forms::Button());
this->button9 = (gcnew System::Windows::Forms::Button());
this->button10 = (gcnew System::Windows::Forms::Button());
this->button11 = (gcnew System::Windows::Forms::Button());
this->button12 = (gcnew System::Windows::Forms::Button());
this->button13 = (gcnew System::Windows::Forms::Button());
this->button14 = (gcnew System::Windows::Forms::Button());
this->button15 = (gcnew System::Windows::Forms::Button());
this->button16 = (gcnew System::Windows::Forms::Button());
this->SuspendLayout();
//
// button1
//
this->button1->BackColor = System::Drawing::Color::Black;
this->button1->ForeColor = System::Drawing::Color::DarkRed;
this->button1->Location = System::Drawing::Point(13, 13);
this->button1->Name = L"button1";
this->button1->Size = System::Drawing::Size(75, 23);
this->button1->TabIndex = 0;
this->button1->Text = L"GCF";
this->button1->UseVisualStyleBackColor = false;
this->button1->Click += gcnew System::EventHandler(this, &Calclist::button1_Click);
//
// button2
//
this->button2->BackColor = System::Drawing::Color::Black;
this->button2->ForeColor = System::Drawing::Color::DarkRed;
this->button2->Location = System::Drawing::Point(12, 42);
this->button2->Name = L"button2";
this->button2->Size = System::Drawing::Size(75, 23);
this->button2->TabIndex = 1;
this->button2->Text = L"LCM";
this->button2->UseVisualStyleBackColor = false;
//
// button3
//
this->button3->BackColor = System::Drawing::Color::Black;
this->button3->ForeColor = System::Drawing::Color::DarkRed;
this->button3->Location = System::Drawing::Point(12, 71);
this->button3->Name = L"button3";
this->button3->Size = System::Drawing::Size(75, 23);
this->button3->TabIndex = 2;
this->button3->Text = L"Integer";
this->button3->UseVisualStyleBackColor = false;
//
// button4
//
this->button4->BackColor = System::Drawing::Color::Black;
this->button4->ForeColor = System::Drawing::Color::DarkRed;
this->button4->Location = System::Drawing::Point(13, 100);
this->button4->Name = L"button4";
this->button4->Size = System::Drawing::Size(75, 23);
this->button4->TabIndex = 3;
this->button4->Text = L"Frac->Dec";
this->button4->UseVisualStyleBackColor = false;
//
// button5
//
this->button5->BackColor = System::Drawing::Color::Black;
this->button5->ForeColor = System::Drawing::Color::DarkRed;
this->button5->Location = System::Drawing::Point(12, 129);
this->button5->Name = L"button5";
this->button5->Size = System::Drawing::Size(75, 23);
this->button5->TabIndex = 4;
this->button5->Text = L"button5";
this->button5->UseVisualStyleBackColor = false;
//
// button6
//
this->button6->BackColor = System::Drawing::Color::Black;
this->button6->ForeColor = System::Drawing::Color::DarkRed;
this->button6->Location = System::Drawing::Point(13, 158);
this->button6->Name = L"button6";
this->button6->Size = System::Drawing::Size(75, 23);
this->button6->TabIndex = 5;
this->button6->Text = L"button6";
this->button6->UseVisualStyleBackColor = false;
//
// button7
//
this->button7->BackColor = System::Drawing::Color::Black;
this->button7->ForeColor = System::Drawing::Color::DarkRed;
this->button7->Location = System::Drawing::Point(13, 187);
this->button7->Name = L"button7";
this->button7->Size = System::Drawing::Size(75, 23);
this->button7->TabIndex = 6;
this->button7->Text = L"button7";
this->button7->UseVisualStyleBackColor = false;
//
// button8
//
this->button8->BackColor = System::Drawing::Color::Black;
this->button8->ForeColor = System::Drawing::Color::DarkRed;
this->button8->Location = System::Drawing::Point(13, 216);
this->button8->Name = L"button8";
this->button8->Size = System::Drawing::Size(75, 23);
this->button8->TabIndex = 7;
this->button8->Text = L"button8";
this->button8->UseVisualStyleBackColor = false;
//
// button9
//
this->button9->BackColor = System::Drawing::Color::Black;
this->button9->ForeColor = System::Drawing::Color::DarkRed;
this->button9->Location = System::Drawing::Point(197, 12);
this->button9->Name = L"button9";
this->button9->Size = System::Drawing::Size(75, 23);
this->button9->TabIndex = 8;
this->button9->Text = L"button9";
this->button9->UseVisualStyleBackColor = false;
//
// button10
//
this->button10->BackColor = System::Drawing::Color::Black;
this->button10->ForeColor = System::Drawing::Color::DarkRed;
this->button10->Location = System::Drawing::Point(197, 42);
this->button10->Name = L"button10";
this->button10->Size = System::Drawing::Size(75, 23);
this->button10->TabIndex = 9;
this->button10->Text = L"button10";
this->button10->UseVisualStyleBackColor = false;
//
// button11
//
this->button11->BackColor = System::Drawing::Color::Black;
this->button11->ForeColor = System::Drawing::Color::DarkRed;
this->button11->Location = System::Drawing::Point(197, 71);
this->button11->Name = L"button11";
this->button11->Size = System::Drawing::Size(75, 23);
this->button11->TabIndex = 10;
this->button11->Text = L"button11";
this->button11->UseVisualStyleBackColor = false;
//
// button12
//
this->button12->BackColor = System::Drawing::Color::Black;
this->button12->ForeColor = System::Drawing::Color::DarkRed;
this->button12->Location = System::Drawing::Point(197, 100);
this->button12->Name = L"button12";
this->button12->Size = System::Drawing::Size(75, 23);
this->button12->TabIndex = 11;
this->button12->Text = L"button12";
this->button12->UseVisualStyleBackColor = false;
//
// button13
//
this->button13->BackColor = System::Drawing::Color::Black;
this->button13->ForeColor = System::Drawing::Color::DarkRed;
this->button13->Location = System::Drawing::Point(197, 129);
this->button13->Name = L"button13";
this->button13->Size = System::Drawing::Size(75, 23);
this->button13->TabIndex = 12;
this->button13->Text = L"button13";
this->button13->UseVisualStyleBackColor = false;
//
// button14
//
this->button14->BackColor = System::Drawing::Color::Black;
this->button14->ForeColor = System::Drawing::Color::DarkRed;
this->button14->Location = System::Drawing::Point(197, 158);
this->button14->Name = L"button14";
this->button14->Size = System::Drawing::Size(75, 23);
this->button14->TabIndex = 13;
this->button14->Text = L"button14";
this->button14->UseVisualStyleBackColor = false;
//
// button15
//
this->button15->BackColor = System::Drawing::Color::Black;
this->button15->ForeColor = System::Drawing::Color::DarkRed;
this->button15->Location = System::Drawing::Point(197, 187);
this->button15->Name = L"button15";
this->button15->Size = System::Drawing::Size(75, 23);
this->button15->TabIndex = 14;
this->button15->Text = L"button15";
this->button15->UseVisualStyleBackColor = false;
//
// button16
//
this->button16->BackColor = System::Drawing::Color::Black;
this->button16->ForeColor = System::Drawing::Color::DarkRed;
this->button16->Location = System::Drawing::Point(197, 216);
this->button16->Name = L"button16";
this->button16->Size = System::Drawing::Size(75, 23);
this->button16->TabIndex = 15;
this->button16->Text = L"button16";
this->button16->UseVisualStyleBackColor = false;
//
// Calclist
//
this->AutoScaleDimensions = System::Drawing::SizeF(6, 13);
this->AutoScaleMode = System::Windows::Forms::AutoScaleMode::Font;
this->ClientSize = System::Drawing::Size(284, 262);
this->Controls->Add(this->button16);
this->Controls->Add(this->button15);
this->Controls->Add(this->button14);
this->Controls->Add(this->button13);
this->Controls->Add(this->button12);
this->Controls->Add(this->button11);
this->Controls->Add(this->button10);
this->Controls->Add(this->button9);
this->Controls->Add(this->button8);
this->Controls->Add(this->button7);
this->Controls->Add(this->button6);
this->Controls->Add(this->button5);
this->Controls->Add(this->button4);
this->Controls->Add(this->button3);
this->Controls->Add(this->button2);
this->Controls->Add(this->button1);
this->Name = L"Calclist";
this->Opacity = 0.85;
this->Text = L"List of Calculations";
this->ResumeLayout(false);
}
#pragma endregion
private: System::Void button1_Click(System::Object^ sender, System::EventArgs^ e) {
Calclist::Hide();
GCF^form = gcnew GCF();
form->Show();
}
};
}
And finally
GCF.h
#pragma once
#include "Calclist.h"
#include "Form1.h"
namespace ValestromsCalculator {
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>
/// Summary for GCF
/// </summary>
public ref class GCF : public System::Windows::Forms::Form
{
public:
GCF(void)
{
InitializeComponent();
//
//TODO: Add the constructor code here
//
}
protected:
/// <summary>
/// Clean up any resources being used.
/// </summary>
~GCF()
{
if (components)
{
delete components;
}
}
private: System::Windows::Forms::TextBox^ textBox1;
private: System::Windows::Forms::TextBox^ textBox2;
private: System::Windows::Forms::TextBox^ textBox3;
private: System::Windows::Forms::Label^ label1;
private: System::Windows::Forms::Label^ label2;
private: System::Windows::Forms::Label^ label3;
private: System::Windows::Forms::Button^ button1;
private: System::Windows::Forms::Label^ label4;
private: System::Windows::Forms::Button^ button2;
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)
{
this->textBox1 = (gcnew System::Windows::Forms::TextBox());
this->textBox2 = (gcnew System::Windows::Forms::TextBox());
this->textBox3 = (gcnew System::Windows::Forms::TextBox());
this->label1 = (gcnew System::Windows::Forms::Label());
this->label2 = (gcnew System::Windows::Forms::Label());
this->label3 = (gcnew System::Windows::Forms::Label());
this->button1 = (gcnew System::Windows::Forms::Button());
this->label4 = (gcnew System::Windows::Forms::Label());
this->button2 = (gcnew System::Windows::Forms::Button());
this->SuspendLayout();
//
// textBox1
//
this->textBox1->Location = System::Drawing::Point(78, 36);
this->textBox1->Name = L"textBox1";
this->textBox1->Size = System::Drawing::Size(39, 20);
this->textBox1->TabIndex = 0;
//
// textBox2
//
this->textBox2->Location = System::Drawing::Point(168, 36);
this->textBox2->Name = L"textBox2";
this->textBox2->Size = System::Drawing::Size(39, 20);
this->textBox2->TabIndex = 1;
//
// textBox3
//
this->textBox3->Location = System::Drawing::Point(123, 36);
this->textBox3->Name = L"textBox3";
this->textBox3->Size = System::Drawing::Size(39, 20);
this->textBox3->TabIndex = 2;
//
// label1
//
this->label1->AutoSize = true;
this->label1->Location = System::Drawing::Point(86, 20);
this->label1->Name = L"label1";
this->label1->Size = System::Drawing::Size(23, 13);
this->label1->TabIndex = 3;
this->label1->Text = L"# 1";
//
// label2
//
this->label2->AutoSize = true;
this->label2->Location = System::Drawing::Point(131, 20);
this->label2->Name = L"label2";
this->label2->Size = System::Drawing::Size(23, 13);
this->label2->TabIndex = 4;
this->label2->Text = L"# 2";
this->label2->Click += gcnew System::EventHandler(this, &GCF::label2_Click);
//
// label3
//
this->label3->AutoSize = true;
this->label3->Location = System::Drawing::Point(176, 20);
this->label3->Name = L"label3";
this->label3->Size = System::Drawing::Size(23, 13);
this->label3->TabIndex = 5;
this->label3->Text = L"# 3";
//
// button1
//
this->button1->BackColor = System::Drawing::Color::Black;
this->button1->ForeColor = System::Drawing::Color::DarkRed;
this->button1->Location = System::Drawing::Point(78, 71);
this->button1->Name = L"button1";
this->button1->Size = System::Drawing::Size(129, 54);
this->button1->TabIndex = 6;
this->button1->Text = L"Find The GCF!";
this->button1->UseVisualStyleBackColor = false;
this->button1->Click += gcnew System::EventHandler(this, &GCF::button1_Click);
//
// label4
//
this->label4->AutoSize = true;
this->label4->Location = System::Drawing::Point(142, 189);
this->label4->Name = L"label4";
this->label4->Size = System::Drawing::Size(0, 13);
this->label4->TabIndex = 7;
this->label4->TextAlign = System::Drawing::ContentAlignment::TopCenter;
//
// button2
//
this->button2->BackColor = System::Drawing::Color::Black;
this->button2->ForeColor = System::Drawing::Color::DarkRed;
this->button2->Location = System::Drawing::Point(85, 212);
this->button2->Name = L"button2";
this->button2->Size = System::Drawing::Size(114, 38);
this->button2->TabIndex = 8;
this->button2->Text = L"Return";
this->button2->UseVisualStyleBackColor = false;
this->button2->Click += gcnew System::EventHandler(this, &GCF::button2_Click);
//
// GCF
//
this->AutoScaleDimensions = System::Drawing::SizeF(6, 13);
this->AutoScaleMode = System::Windows::Forms::AutoScaleMode::Font;
this->ClientSize = System::Drawing::Size(284, 262);
this->Controls->Add(this->button2);
this->Controls->Add(this->label4);
this->Controls->Add(this->button1);
this->Controls->Add(this->label3);
this->Controls->Add(this->label2);
this->Controls->Add(this->label1);
this->Controls->Add(this->textBox3);
this->Controls->Add(this->textBox2);
this->Controls->Add(this->textBox1);
this->Name = L"GCF";
this->Text = L"GCF";
this->ResumeLayout(false);
this->PerformLayout();
}
#pragma endregion
private: System::Void label2_Click(System::Object^ sender, System::EventArgs^ e) {
}
private: System::Void button1_Click(System::Object^ sender, System::EventArgs^ e) {
}
private: System::Void button2_Click(System::Object^ sender, System::EventArgs^ e) {
Calclist^ form = gcnew Calclist();
form->Show();
}
};
}
Any help with this would be greatly appreciated!
Visual Studio 2010 files included in zip.