• Nenhum resultado encontrado

44 | Σ ε λ ί δ α

45 | Σ ε λ ί δ α

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->label1 = (gcnew System::Windows::Forms::Label());

this->label2 = (gcnew System::Windows::Forms::Label());

this->label3 = (gcnew System::Windows::Forms::Label());

this->label4 = (gcnew System::Windows::Forms::Label());

this->label5 = (gcnew System::Windows::Forms::Label());

this->label6 = (gcnew System::Windows::Forms::Label());

this->label7 = (gcnew System::Windows::Forms::Label());

this->label8 = (gcnew System::Windows::Forms::Label());

this->label9 = (gcnew System::Windows::Forms::Label());

this->SuspendLayout();

//

// label1 //

this->label1->AutoSize = true;

this->label1->Font = (gcnew System::Drawing::Font(L"Arial", 9.75F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point,

static_cast<System::Byte>(161)));

this->label1->Location = System::Drawing::Point(84, 9);

this->label1->Name = L"label1";

this->label1->Size = System::Drawing::Size(302, 16);

this->label1->TabIndex = 0;

this->label1->Text = L"Διαδικτυακό Λογισμικό Αριθμητικής Ανάλυσης";

//

// label2 //

this->label2->AutoSize = true;

this->label2->Location = System::Drawing::Point(12, 40);

this->label2->Name = L"label2";

this->label2->Size = System::Drawing::Size(184, 26);

this->label2->TabIndex = 1;

this->label2->Text = L"Δημιουργήθηκε από τις φοιτήτριες:\r\n\r\n";

this->label2->Click += gcnew System::EventHandler(this,

&About::label2_Click);

//

// label3 //

this->label3->AutoSize = true;

this->label3->Location = System::Drawing::Point(202, 192);

this->label3->Name = L"label3";

this->label3->Size = System::Drawing::Size(124, 13);

this->label3->TabIndex = 2;

this->label3->Text = L" Δρ.Λαυράνος Χρήστος";

//

// label4 //

this->label4->AutoSize = true;

this->label4->Location = System::Drawing::Point(202, 40);

this->label4->Name = L"label4";

this->label4->Size = System::Drawing::Size(153, 26);

this->label4->TabIndex = 3;

46 | Σ ε λ ί δ α

this->label4->Text = L"Κομποθανάση Δ. Νίκη \r\nΠαπαδημοπούλου Μ.

Αντωνία\r\n";

this->label4->Click += gcnew System::EventHandler(this,

&About::label4_Click);

//

// label5 //

this->label5->AutoSize = true;

this->label5->Location = System::Drawing::Point(12, 93);

this->label5->Name = L"label5";

this->label5->Size = System::Drawing::Size(148, 26);

this->label5->TabIndex = 4;

this->label5->Text = L"Τίτλος Πτυχιακής Εργασίας:\r\n\r\n";

//

// label6 //

this->label6->AutoSize = true;

this->label6->Location = System::Drawing::Point(202, 93);

this->label6->Name = L"label6";

this->label6->Size = System::Drawing::Size(236, 13);

this->label6->TabIndex = 5;

this->label6->Text = L"Διαδικτυακό Λογισμικό Αριθμητικής Ανάλυσης\r\n";

//

// label7 //

this->label7->AutoSize = true;

this->label7->Location = System::Drawing::Point(12, 139);

this->label7->Name = L"label7";

this->label7->Size = System::Drawing::Size(165, 26);

this->label7->TabIndex = 6;

this->label7->Text = L"Τμήμα και Εκπαιδευτικό Ίδρυμα:\r\n\r\n";

this->label7->Click += gcnew System::EventHandler(this,

&About::label7_Click);

//

// label8 //

this->label8->AutoSize = true;

this->label8->Location = System::Drawing::Point(202, 139);

this->label8->Name = L"label8";

this->label8->Size = System::Drawing::Size(175, 26);

this->label8->TabIndex = 7;

this->label8->Text = L" Βιομηχανική Πληροφορκή\r\nΤεχνολογικού Ιδρύματος Καβάλας\r\n";

//

// label9 //

this->label9->AutoSize = true;

this->label9->Location = System::Drawing::Point(12, 192);

this->label9->Name = L"label9";

this->label9->Size = System::Drawing::Size(118, 13);

this->label9->TabIndex = 8;

this->label9->Text = L"Επιβλέπον Καθηγητής:";

//

// About //

this->AutoScaleDimensions = System::Drawing::SizeF(6, 13);

this->AutoScaleMode = System::Windows::Forms::AutoScaleMode::Font;

this->ClientSize = System::Drawing::Size(443, 227);

this->Controls->Add(this->label9);

47 | Σ ε λ ί δ α

this->Controls->Add(this->label8);

this->Controls->Add(this->label7);

this->Controls->Add(this->label6);

this->Controls->Add(this->label5);

this->Controls->Add(this->label4);

this->Controls->Add(this->label3);

this->Controls->Add(this->label2);

this->Controls->Add(this->label1);

this->Name = L"About";

this->Text = L"About";

this->Load += gcnew System::EventHandler(this, &About::About_Load);

this->ResumeLayout(false);

this->PerformLayout();

}

#pragma endregion

private: System::Void label2_Click(System::Object^ sender, System::EventArgs^ e) {

}

private: System::Void About_Load(System::Object^ sender, System::EventArgs^ e) { }

private: System::Void label4_Click(System::Object^ sender, System::EventArgs^ e) {

}

private: System::Void label7_Click(System::Object^ sender, System::EventArgs^ e) { }

};

}

Asumptwtiki_paremvolh.h

#pragma once

#using <Microsoft.VisualBasic.dll>

#include <iostream>

#include <cmath>

#include <string>

#include <stdlib.h>

#include "About.h"

namespace diadiktiako_logismiko_arithm {

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 Asumptwtiki_paremvolh /// </summary>

public ref class Asumptwtiki_paremvolh : public System::Windows::Forms::Form {

public:

Asumptwtiki_paremvolh(void)

48 | Σ ε λ ί δ α {

InitializeComponent();

//

//TODO: Add the constructor code here //

}

protected:

/// <summary>

/// Clean up any resources being used.

/// </summary>

~Asumptwtiki_paremvolh() {

if (components) {

delete components;

} }

private: System::Windows::Forms::Label^ label2;

protected:

private: System::Windows::Forms::Label^ label1

private: System::Windows::Forms::TextBox^ textBox2;

private: System::Windows::Forms::MenuStrip^ menuStrip1;

private: System::Windows::Forms::ToolStripMenuItem^ fileToolStripMenuItem;

private: System::Windows::Forms::ToolStripMenuItem^ exitToolStripMenuItem;

private: System::Windows::Forms::ToolStripMenuItem^ aboutToolStripMenuItem;

private: System::Windows::Forms::ToolStripMenuItem^ aboutToolStripMenuItem1;

private: System::Windows::Forms::TextBox^ textBox1;

private: System::Windows::Forms::Label^ label7;

private: System::Windows::Forms::TextBox^ textBox21;

private: System::Windows::Forms::Button^ least_squares_button;

private: System::Windows::Forms::TextBox^ textBox22;

private: System::Windows::Forms::Label^ label3;

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(Asumptwtiki_paremvolh::typeid));

this->label2 = (gcnew System::Windows::Forms::Label());

this->label1 = (gcnew System::Windows::Forms::Label());

this->textBox2 = (gcnew System::Windows::Forms::TextBox());

this->menuStrip1 = (gcnew System::Windows::Forms::MenuStrip());

this->fileToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());

49 | Σ ε λ ί δ α

this->exitToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());

this->aboutToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());

this->aboutToolStripMenuItem1 = (gcnew System::Windows::Forms::ToolStripMenuItem());

this->textBox1 = (gcnew System::Windows::Forms::TextBox());

this->label7 = (gcnew System::Windows::Forms::Label());

this->textBox21 = (gcnew System::Windows::Forms::TextBox());

this->least_squares_button = (gcnew System::Windows::Forms::Button());

this->textBox22 = (gcnew System::Windows::Forms::TextBox());

this->label3 = (gcnew System::Windows::Forms::Label());

this->menuStrip1->SuspendLayout();

this->SuspendLayout();

//

// label2 //

this->label2->AutoSize = true;

this->label2->Location = System::Drawing::Point(212, 31);

this->label2->Name = L"label2";

this->label2->Size = System::Drawing::Size(15, 13);

this->label2->TabIndex = 96;

this->label2->Text = L"Υ";

//

// label1 //

this->label1->AutoSize = true;

this->label1->Location = System::Drawing::Point(105, 31);

this->label1->Name = L"label1";

this->label1->Size = System::Drawing::Size(14, 13);

this->label1->TabIndex = 95;

this->label1->Text = L"Χ";

//

// textBox2 //

this->textBox2->Location = System::Drawing::Point(189, 53);

this->textBox2->Multiline = true;

this->textBox2->Name = L"textBox2";

this->textBox2->Size = System::Drawing::Size(63, 257);

this->textBox2->TabIndex = 76;

//

// menuStrip1 //

this->menuStrip1->Items->AddRange(gcnew cli::array<

System::Windows::Forms::ToolStripItem^ >(2) {this->fileToolStripMenuItem, this->aboutToolStripMenuItem});

this->menuStrip1->Location = System::Drawing::Point(0, 0);

this->menuStrip1->Name = L"menuStrip1";

this->menuStrip1->Size = System::Drawing::Size(333, 24);

this->menuStrip1->TabIndex = 75;

this->menuStrip1->Text = L"menuStrip1";

//

// fileToolStripMenuItem //

this->fileToolStripMenuItem->DropDownItems->AddRange(gcnew

cli::array< System::Windows::Forms::ToolStripItem^ >(1) {this->exitToolStripMenuItem});

this->fileToolStripMenuItem->Name = L"fileToolStripMenuItem";

this->fileToolStripMenuItem->Size = System::Drawing::Size(37, 20);

this->fileToolStripMenuItem->Text = L"File";

50 | Σ ε λ ί δ α

//

// exitToolStripMenuItem //

this->exitToolStripMenuItem->Name = L"exitToolStripMenuItem";

this->exitToolStripMenuItem->Size = System::Drawing::Size(92, 22);

this->exitToolStripMenuItem->Text = L"Exit";

this->exitToolStripMenuItem->Click += gcnew

System::EventHandler(this, &Asumptwtiki_paremvolh::exitToolStripMenuItem_Click);

//

// aboutToolStripMenuItem //

this->aboutToolStripMenuItem->DropDownItems->AddRange(gcnew cli::array< System::Windows::Forms::ToolStripItem^ >(1) {this-

>aboutToolStripMenuItem1});

this->aboutToolStripMenuItem->Name = L"aboutToolStripMenuItem";

this->aboutToolStripMenuItem->Size = System::Drawing::Size(44, 20);

this->aboutToolStripMenuItem->Text = L"Help";

//

// aboutToolStripMenuItem1 //

this->aboutToolStripMenuItem1->Name = L"aboutToolStripMenuItem1";

this->aboutToolStripMenuItem1->Size = System::Drawing::Size(107, 22);

this->aboutToolStripMenuItem1->Text = L"About";

this->aboutToolStripMenuItem1->Click += gcnew

System::EventHandler(this, &Asumptwtiki_paremvolh::aboutToolStripMenuItem1_Click);

//

// textBox1 //

this->textBox1->Location = System::Drawing::Point(80, 53);

this->textBox1->Multiline = true;

this->textBox1->Name = L"textBox1";

this->textBox1->Size = System::Drawing::Size(63, 257);

this->textBox1->TabIndex = 74;

this->textBox1->TextChanged += gcnew System::EventHandler(this,

&Asumptwtiki_paremvolh::textBox1_TextChanged);

//

// label7 //

this->label7->AutoSize = true;

this->label7->Location = System::Drawing::Point(109, 396);

this->label7->Name = L"label7";

this->label7->Size = System::Drawing::Size(115, 13);

this->label7->TabIndex = 98;

this->label7->Text = L"Το αποτέλεσμα είναι:";

//

// textBox21 //

this->textBox21->Location = System::Drawing::Point(8, 420);

this->textBox21->Multiline = true;

this->textBox21->Name = L"textBox21";

this->textBox21->ReadOnly = true;

this->textBox21->Size = System::Drawing::Size(318, 112);

this->textBox21->TabIndex = 97;

this->textBox21->Text = resources->GetString(L"textBox21.Text");

this->textBox21->TextChanged += gcnew System::EventHandler(this,

&Asumptwtiki_paremvolh::textBox21_TextChanged);

//

// least_squares_button //

51 | Σ ε λ ί δ α

this->least_squares_button->Location = System::Drawing::Point(63, 356);

this->least_squares_button->Name = L"least_squares_button";

this->least_squares_button->Size = System::Drawing::Size(205, 23);

this->least_squares_button->TabIndex = 99;

this->least_squares_button->Text = L"Εκτέλεση ελαχίστων τετραγώνων";

this->least_squares_button->UseVisualStyleBackColor = true;

this->least_squares_button->Click += gcnew

System::EventHandler(this, &Asumptwtiki_paremvolh::least_squares_button_Click);

//

// textBox22 //

this->textBox22->Location = System::Drawing::Point(236, 323);

this->textBox22->Name = L"textBox22";

this->textBox22->Size = System::Drawing::Size(32, 20);

this->textBox22->TabIndex = 100;

//

// label3 //

this->label3->AutoSize = true;

this->label3->Location = System::Drawing::Point(62, 326);

this->label3->Name = L"label3";

this->label3->Size = System::Drawing::Size(168, 13);

this->label3->TabIndex = 101;

this->label3->Text = L"Επιθυμητός βαθμός πολυωνύμου";

//

// Asumptwtiki_paremvolh //

this->AutoScaleDimensions = System::Drawing::SizeF(6, 13);

this->AutoScaleMode = System::Windows::Forms::AutoScaleMode::Font;

this->ClientSize = System::Drawing::Size(333, 542);

this->Controls->Add(this->label3);

this->Controls->Add(this->textBox22);

this->Controls->Add(this->least_squares_button);

this->Controls->Add(this->label7);

this->Controls->Add(this->textBox21);

this->Controls->Add(this->label2);

this->Controls->Add(this->label1);

this->Controls->Add(this->textBox2);

this->Controls->Add(this->menuStrip1);

this->Controls->Add(this->textBox1);

this->Name = L"Asumptwtiki_paremvolh";

this->Text = L"Asumptwtiki_paremvolh";

this->Load += gcnew System::EventHandler(this,

&Asumptwtiki_paremvolh::Asumptwtiki_paremvolh_Load);

this->menuStrip1->ResumeLayout(false);

this->menuStrip1->PerformLayout();

this->ResumeLayout(false);

this->PerformLayout();

}

#pragma endregion

private: System::Void least_squares_button_Click(System::Object^ sender, System::EventArgs^ e) {

//Epilush methodou least squares

//orismos metavlitwn double sum,temp;

52 | Σ ε λ ί δ α

int plithos,i,j,k,n1,n2,vathmos;

n1=textBox1->Lines->Length;

n2=textBox2->Lines->Length;

if (n1<n2) {

plithos=n1;

} else {

plithos=n2;

}

double *prwtos_pinakas = new double[10];

double *deuteros_pinakas = new double[10];

bool *prwtos_deikths = new bool[10];

bool *deuteros_deikths = new bool[10];

double *timh_parastashs = new double[10];

double *shmeio = new double[10];

for (i=0; i<10; i++) {

prwtos_deikths[i]=0;

deuteros_deikths[i]=0;

}

// Create a string array and store the contents of the Lines property.

array<String^>^ tempArray1 = gcnew array<String^>( textBox1->Lines-

>Length );

array<String^>^ tempArray2 = gcnew array<String^>( textBox2->Lines-

>Length );

tempArray1 = textBox1->Lines;

tempArray2 = textBox2->Lines;

// Loop through the array and send the contents of the array to debug window.

j=0;

for (i = 0; i < tempArray1->Length; i++ ) {

if (Microsoft::VisualBasic::Information::IsNumeric (tempArray1[i]) && Microsoft::VisualBasic::Information::IsNumeric (tempArray2[i]))

{

shmeio[j]=Convert::ToDouble(tempArray1[i]);

timh_parastashs[j]=Convert::ToDouble(tempArray2[i]);

j+=1;

} }

plithos=j;

if ( Microsoft::VisualBasic::Information::IsNumeric ( textBox22-

>Text ) )

vathmos= Convert::ToInt32(textBox22->Text);

else {

vathmos=1;

53 | Σ ε λ ί δ α

}

if (vathmos+1>plithos) {

vathmos=plithos-1;

}

//orismos pinakwn gia thn epilush double *U = new double[vathmos+1];

double **S = new double*[vathmos+1];

for (i = 0; i < vathmos+1; i++) {

S[i] = new double[vathmos+1];

}

double *A = new double[vathmos+1];

for (i = 0; i < vathmos+1; i++) {

for (j = 0; j < vathmos+1; j++) {

sum=0;

for (k = 0; k < plithos; k++) {

sum+=pow(shmeio[k],i+j);

}

S[i][j]=sum;

} sum=0;

for (k = 0; k < plithos; k++) {

sum+=timh_parastashs[k]*pow(shmeio[k],i);

}

U[i]=sum;

}

//epilysh

//o pinaka S ginetai anw trigwnikos for (i = 0; i < vathmos; i++) {

for (k = i+1; k < vathmos+1; k++) {

temp=S[k][i]/S[i][i];

S[k][i]=0;

for (j = i+1; j < vathmos+2; j++) {

if (j<vathmos+1) {

S[k][j]=S[k][j]-temp*S[i][j];

} else {

U[k]=U[k]-temp*U[i];

} }

} }

54 | Σ ε λ ί δ α

//o anw trigwnikos pinakas S ginetai diagwnios for (i = 0; i < vathmos; i++)

{

for (k = 0; k < i+1; k++) {

temp=S[k][i+1]/S[i+1][i+1];

S[k][i+1]=0;

for (j = i+2; j < vathmos+2; j++) {

if (j<vathmos+1) {

S[k][j]=S[k][j]-temp*S[i+1][j];

} else {

U[k]=U[k]-temp*U[i+1];

} }

} }

//topothethsh timwn ston pinaka A for (i = 0; i < vathmos+1; i++) {

A[i]=U[i]/S[i][i];

}

//Exodos apotelesmatwn System::String^ apotelesma;

for (i = 0; i < vathmos+1; i++) {

if (i==0) {

apotelesma+=(Convert::ToString(A[vathmos- i])+"x^"+Convert::ToString(vathmos-i));

}

else if (i==vathmos-1) {

if (A[vathmos-i]<0) {

apotelesma+=(Convert::ToString(A[vathmos- i])+"x");

} else {

apotelesma+=("+"+Convert::ToString(A[vathmos- i])+"x");

} }

55 | Σ ε λ ί δ α

else if (i==vathmos) {

if (A[vathmos-i]<0) {

apotelesma+=(Convert::ToString(A[vathmos-i]));

} else {

apotelesma+=("+"+Convert::ToString(A[vathmos- i]));

} }

else {

if (A[vathmos-i]<0) {

apotelesma+=(Convert::ToString(A[vathmos- i])+"x^"+Convert::ToString(vathmos-i));

} else {

apotelesma+=("+"+Convert::ToString(A[vathmos- i])+"x^"+Convert::ToString(vathmos-i));

} }

}

textBox21->Text=apotelesma;

}

private: System::Void Asumptwtiki_paremvolh_Load(System::Object^ sender, System::EventArgs^ e) {

}

private: System::Void exitToolStripMenuItem_Click(System::Object^ sender, System::EventArgs^ e) {

Application::Exit();

}

private: System::Void aboutToolStripMenuItem1_Click(System::Object^ sender, System::EventArgs^ e) {

About^ form = gcnew About();

form->Show();

}

private: System::Void textBox1_TextChanged(System::Object^ sender, System::EventArgs^

e) {

}

private: System::Void textBox21_TextChanged(System::Object^ sender, System::EventArgs^

e) {

} };

}

Epilisi_exiswsewn.h

#pragma once

#using <Microsoft.VisualBasic.dll>

56 | Σ ε λ ί δ α

#include <iostream>

#include <cmath>

#include <string>

#include <stdlib.h>

#include "About.h"

#include "fparser.hh"

#include <msclr/marshal_cppstd.h>

#define MAXITER 500 //orismos megistwn epanalhpsewn

#define EPS 1.0e-10 //orismos ths zhtoumenhs akriveias

#define h powf(10,-7)

namespace diadiktiako_logismiko_arithm {

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 Epilisi_exiswsewn /// </summary>

public ref class Epilisi_exiswsewn : public System::Windows::Forms::Form {

public:

Epilisi_exiswsewn(void) {

InitializeComponent();

//

//TODO: Add the constructor code here //

}

protected:

/// <summary>

/// Clean up any resources being used.

/// </summary>

~Epilisi_exiswsewn() {

if (components) {

delete components;

} }

private: System::Windows::Forms::MenuStrip^ menuStrip1;

protected:

private: System::Windows::Forms::ToolStripMenuItem^ fileToolStripMenuItem;

private: System::Windows::Forms::ToolStripMenuItem^ exitToolStripMenuItem;

private: System::Windows::Forms::ToolStripMenuItem^ aboutToolStripMenuItem;

private: System::Windows::Forms::ToolStripMenuItem^ aboutToolStripMenuItem1;

private: System::Windows::Forms::Label^ label1;

57 | Σ ε λ ί δ α

private: System::Windows::Forms::TextBox^ textBox7;

private: System::Windows::Forms::Button^ button1;

private: System::Windows::Forms::Button^ button2;

private: System::Windows::Forms::Label^ label6;

private: System::Windows::Forms::Label^ label7;

private: System::Windows::Forms::Label^ label8;

private: System::Windows::Forms::Label^ label9;

private: System::Windows::Forms::TextBox^ textBox8;

private: System::Windows::Forms::TextBox^ textBox9;

private: System::Windows::Forms::TextBox^ textBox10;

private: System::Windows::Forms::TextBox^ textBox11;

private: System::Windows::Forms::TextBox^ textBox1;

private: System::Windows::Forms::Label^ label2;

private: System::Windows::Forms::TextBox^ textBox2;

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(Epilisi_exiswsewn::typeid));

this->menuStrip1 = (gcnew System::Windows::Forms::MenuStrip());

this->fileToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());

this->exitToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());

this->aboutToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());

this->aboutToolStripMenuItem1 = (gcnew System::Windows::Forms::ToolStripMenuItem());

this->label1 = (gcnew System::Windows::Forms::Label());

this->textBox7 = (gcnew System::Windows::Forms::TextBox());

this->button1 = (gcnew System::Windows::Forms::Button());

this->button2 = (gcnew System::Windows::Forms::Button());

this->label6 = (gcnew System::Windows::Forms::Label());

this->label7 = (gcnew System::Windows::Forms::Label());

this->label8 = (gcnew System::Windows::Forms::Label());

this->label9 = (gcnew System::Windows::Forms::Label());

this->textBox8 = (gcnew System::Windows::Forms::TextBox());

this->textBox9 = (gcnew System::Windows::Forms::TextBox());

this->textBox10 = (gcnew System::Windows::Forms::TextBox());

this->textBox11 = (gcnew System::Windows::Forms::TextBox());

this->textBox1 = (gcnew System::Windows::Forms::TextBox());

this->label2 = (gcnew System::Windows::Forms::Label());

this->textBox2 = (gcnew System::Windows::Forms::TextBox());

58 | Σ ε λ ί δ α

this->menuStrip1->SuspendLayout();

this->SuspendLayout();

//

// menuStrip1 //

this->menuStrip1->Items->AddRange(gcnew cli::array<

System::Windows::Forms::ToolStripItem^ >(2) {this->fileToolStripMenuItem, this->aboutToolStripMenuItem});

this->menuStrip1->Location = System::Drawing::Point(0, 0);

this->menuStrip1->Name = L"menuStrip1";

this->menuStrip1->Size = System::Drawing::Size(480, 24);

this->menuStrip1->TabIndex = 6;

this->menuStrip1->Text = L"menuStrip1";

this->menuStrip1->ItemClicked += gcnew System::Windows::Forms::ToolStripItemClickedEventHandler(this,

&Epilisi_exiswsewn::menuStrip1_ItemClicked);

//

// fileToolStripMenuItem //

this->fileToolStripMenuItem->DropDownItems->AddRange(gcnew

cli::array< System::Windows::Forms::ToolStripItem^ >(1) {this->exitToolStripMenuItem});

this->fileToolStripMenuItem->Name = L"fileToolStripMenuItem";

this->fileToolStripMenuItem->Size = System::Drawing::Size(37, 20);

this->fileToolStripMenuItem->Text = L"File";

//

// exitToolStripMenuItem //

this->exitToolStripMenuItem->Name = L"exitToolStripMenuItem";

this->exitToolStripMenuItem->Size = System::Drawing::Size(92, 22);

this->exitToolStripMenuItem->Text = L"Exit";

this->exitToolStripMenuItem->Click += gcnew

System::EventHandler(this, &Epilisi_exiswsewn::exitToolStripMenuItem_Click);

//

// aboutToolStripMenuItem //

this->aboutToolStripMenuItem->DropDownItems->AddRange(gcnew cli::array< System::Windows::Forms::ToolStripItem^ >(1) {this-

>aboutToolStripMenuItem1});

this->aboutToolStripMenuItem->Name = L"aboutToolStripMenuItem";

this->aboutToolStripMenuItem->Size = System::Drawing::Size(44, 20);

this->aboutToolStripMenuItem->Text = L"Help";

//

// aboutToolStripMenuItem1 //

this->aboutToolStripMenuItem1->Name = L"aboutToolStripMenuItem1";

this->aboutToolStripMenuItem1->Size = System::Drawing::Size(107, 22);

this->aboutToolStripMenuItem1->Text = L"About";

this->aboutToolStripMenuItem1->Click += gcnew

System::EventHandler(this, &Epilisi_exiswsewn::aboutToolStripMenuItem1_Click);

//

// label1 //

this->label1->AutoSize = true;

this->label1->Location = System::Drawing::Point(18, 39);

this->label1->Name = L"label1";

this->label1->Size = System::Drawing::Size(159, 26);

this->label1->TabIndex = 13;

this->label1->Text = L"Εισάγεται εδώ τη συνάρτηση:\r\n\r\n";

//

59 | Σ ε λ ί δ α

// textBox7 //

this->textBox7->Location = System::Drawing::Point(15, 254);

this->textBox7->Multiline = true;

this->textBox7->Name = L"textBox7";

this->textBox7->ReadOnly = true;

this->textBox7->Size = System::Drawing::Size(444, 72);

this->textBox7->TabIndex = 18;

this->textBox7->Text = resources->GetString(L"textBox7.Text");

this->textBox7->TextChanged += gcnew System::EventHandler(this,

&Epilisi_exiswsewn::textBox7_TextChanged);

//

// button1 //

this->button1->Location = System::Drawing::Point(47, 125);

this->button1->Name = L"button1";

this->button1->Size = System::Drawing::Size(141, 23);

this->button1->TabIndex = 19;

this->button1->Text = L" Bolzano";

this->button1->UseVisualStyleBackColor = true;

this->button1->Click += gcnew System::EventHandler(this,

&Epilisi_exiswsewn::button1_Click);

//

// button2 //

this->button2->Location = System::Drawing::Point(285, 125);

this->button2->Name = L"button2";

this->button2->Size = System::Drawing::Size(141, 23);

this->button2->TabIndex = 20;

this->button2->Text = L"Newton";

this->button2->UseVisualStyleBackColor = true;

this->button2->Click += gcnew System::EventHandler(this,

&Epilisi_exiswsewn::button2_Click);

//

// label6 //

this->label6->AutoSize = true;

this->label6->Location = System::Drawing::Point(115, 109);

this->label6->Name = L"label6";

this->label6->Size = System::Drawing::Size(222, 13);

this->label6->TabIndex = 21;

this->label6->Text = L"Με ποιά μέθοδο θέλεις να λυθεί η εξίσωση;";

//

// label7 //

this->label7->AutoSize = true;

this->label7->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 9, System::Drawing::FontStyle::Regular, System::Drawing::GraphicsUnit::Point,

static_cast<System::Byte>(161)));

this->label7->Location = System::Drawing::Point(161, 226);

this->label7->Name = L"label7";

this->label7->Size = System::Drawing::Size(119, 15);

this->label7->TabIndex = 22;

this->label7->Text = L"Το αποτέλεσμα είναι:";

//

// label8 //

this->label8->AutoSize = true;

this->label8->Location = System::Drawing::Point(52, 151);

this->label8->Name = L"label8";

Documentos relacionados