#pragma once
namespace Dark_LimitBrowserVbeta100 {
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>
/// Riepilogo per Form1
///
/// AVVISO: se si modifica il nome della classe, sarà necessario modificare la
/// proprietà 'Nome file di risorse' relativa allo strumento Compilatore di risorse gestite
/// associato a tutti i file RESX da cui dipende la classe. In caso contrario,
/// le finestre di progettazione non saranno in grado di interagire correttamente con le
/// risorse localizzate associate al form.
/// </summary>
public ref class Form1 : public System::Windows::Forms::Form
{
public:
Form1(void)
{
InitializeComponent();
//
//TODO: aggiungere qui il codice del costruttore.
//
}
protected:
/// <summary>
/// Liberare le risorse in uso.
/// </summary>
~Form1()
{
if (components)
{
delete components;
}
}
private: System::Windows::Forms::MenuStrip^ menuStrip1;
protected:
private: System::Windows::Forms::MenuStrip^ menuStrip2;
private: System::Windows::Forms::ToolStripMenuItem^ browserToolStripMenuItem1;
private: System::Windows::Forms::ToolStripMenuItem^ indietroToolStripMenuItem1;
private: System::Windows::Forms::ToolStripMenuItem^ avantiToolStripMenuItem1;
private: System::Windows::Forms::ToolStripSeparator^ toolStripSeparator4;
private: System::Windows::Forms::ToolStripMenuItem^ aggiornaToolStripMenuItem;
private: System::Windows::Forms::ToolStripSeparator^ toolStripSeparator5;
private: System::Windows::Forms::ToolStripMenuItem^ fermaCaricamentoToolStripMenuItem1;
private: System::Windows::Forms::ToolStripSeparator^ toolStripSeparator6;
private: System::Windows::Forms::ToolStripMenuItem^ esciToolStripMenuItem1;
private: System::Windows::Forms::TextBox^ textBox1;
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::WebBrowser^ webBrowser1;
private: System::Windows::Forms::Label^ label1;
protected:
private: System::ComponentModel::IContainer^ components;
private:
/// <summary>
/// Variabile di progettazione necessaria.
/// </summary>
#pragma region Windows Form Designer generated code
/// <summary>
/// Metodo necessario per il supporto della finestra di progettazione. Non modificare
/// il contenuto del metodo con l'editor di codice.
/// </summary>
void InitializeComponent(void)
{
this->menuStrip1 = (gcnew System::Windows::Forms::MenuStrip());
this->menuStrip2 = (gcnew System::Windows::Forms::MenuStrip());
this->browserToolStripMenuItem1 = (gcnew System::Windows::Forms::ToolStripMenuItem());
this->indietroToolStripMenuItem1 = (gcnew System::Windows::Forms::ToolStripMenuItem());
this->avantiToolStripMenuItem1 = (gcnew System::Windows::Forms::ToolStripMenuItem());
this->toolStripSeparator4 = (gcnew System::Windows::Forms::ToolStripSeparator());
this->aggiornaToolStripMenuItem = (gcnew System::Windows::Forms::ToolStripMenuItem());
this->toolStripSeparator5 = (gcnew System::Windows::Forms::ToolStripSeparator());
this->fermaCaricamentoToolStripMenuItem1 = (gcnew System::Windows::Forms::ToolStripMenuItem());
this->toolStripSeparator6 = (gcnew System::Windows::Forms::ToolStripSeparator());
this->esciToolStripMenuItem1 = (gcnew System::Windows::Forms::ToolStripMenuItem());
this->textBox1 = (gcnew System::Windows::Forms::TextBox());
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->webBrowser1 = (gcnew System::Windows::Forms::WebBrowser());
this->label1 = (gcnew System::Windows::Forms::Label());
this->menuStrip2->SuspendLayout();
this->SuspendLayout();
//
// menuStrip1
//
this->menuStrip1->Location = System::Drawing::Point(0, 24);
this->menuStrip1->Name = L"menuStrip1";
this->menuStrip1->Size = System::Drawing::Size(918, 24);
this->menuStrip1->TabIndex = 0;
this->menuStrip1->Text = L"menuStrip1";
//
// menuStrip2
//
this->menuStrip2->Items->AddRange(gcnew cli::array< System::Windows::Forms::ToolStripItem^ >(1) {this->browserToolStripMenuItem1});
this->menuStrip2->Location = System::Drawing::Point(0, 0);
this->menuStrip2->Name = L"menuStrip2";
this->menuStrip2->Size = System::Drawing::Size(918, 24);
this->menuStrip2->TabIndex = 1;
this->menuStrip2->Text = L"menuStrip2";
//
// browserToolStripMenuItem1
//
this->browserToolStripMenuItem1->DropDownItems->AddRange(gcnew cli::array< System::Windows::Forms::ToolStripItem^ >(8) {this->indietroToolStripMenuItem1,
this->avantiToolStripMenuItem1, this->toolStripSeparator4, this->aggiornaToolStripMenuItem, this->toolStripSeparator5, this->fermaCaricamentoToolStripMenuItem1,
this->toolStripSeparator6, this->esciToolStripMenuItem1});
this->browserToolStripMenuItem1->Name = L"browserToolStripMenuItem1";
this->browserToolStripMenuItem1->Size = System::Drawing::Size(61, 20);
this->browserToolStripMenuItem1->Text = L"Browser";
//
// indietroToolStripMenuItem1
//
this->indietroToolStripMenuItem1->Name = L"indietroToolStripMenuItem1";
this->indietroToolStripMenuItem1->Size = System::Drawing::Size(176, 22);
this->indietroToolStripMenuItem1->Text = L"Indietro";
this->indietroToolStripMenuItem1->Click += gcnew System::EventHandler(this, &Form1::indietroToolStripMenuItem1_Click);
//
// avantiToolStripMenuItem1
//
this->avantiToolStripMenuItem1->Name = L"avantiToolStripMenuItem1";
this->avantiToolStripMenuItem1->Size = System::Drawing::Size(176, 22);
this->avantiToolStripMenuItem1->Text = L"Avanti";
this->avantiToolStripMenuItem1->Click += gcnew System::EventHandler(this, &Form1::avantiToolStripMenuItem1_Click);
//
// toolStripSeparator4
//
this->toolStripSeparator4->Name = L"toolStripSeparator4";
this->toolStripSeparator4->Size = System::Drawing::Size(173, 6);
//
// aggiornaToolStripMenuItem
//
this->aggiornaToolStripMenuItem->Name = L"aggiornaToolStripMenuItem";
this->aggiornaToolStripMenuItem->Size = System::Drawing::Size(176, 22);
this->aggiornaToolStripMenuItem->Text = L"Aggiorna";
this->aggiornaToolStripMenuItem->Click += gcnew System::EventHandler(this, &Form1::aggiornaToolStripMenuItem_Click);
//
// toolStripSeparator5
//
this->toolStripSeparator5->Name = L"toolStripSeparator5";
this->toolStripSeparator5->Size = System::Drawing::Size(173, 6);
//
// fermaCaricamentoToolStripMenuItem1
//
this->fermaCaricamentoToolStripMenuItem1->Name = L"fermaCaricamentoToolStripMenuItem1";
this->fermaCaricamentoToolStripMenuItem1->Size = System::Drawing::Size(176, 22);
this->fermaCaricamentoToolStripMenuItem1->Text = L"Ferma caricamento";
this->fermaCaricamentoToolStripMenuItem1->Click += gcnew System::EventHandler(this, &Form1::fermaCaricamentoToolStripMenuItem1_Click);
//
// toolStripSeparator6
//
this->toolStripSeparator6->Name = L"toolStripSeparator6";
this->toolStripSeparator6->Size = System::Drawing::Size(173, 6);
//
// esciToolStripMenuItem1
//
this->esciToolStripMenuItem1->Name = L"esciToolStripMenuItem1";
this->esciToolStripMenuItem1->Size = System::Drawing::Size(176, 22);
this->esciToolStripMenuItem1->Text = L"Esci";
this->esciToolStripMenuItem1->Click += gcnew System::EventHandler(this, &Form1::esciToolStripMenuItem1_Click);
//
// textBox1
//
this->textBox1->Location = System::Drawing::Point(12, 27);
this->textBox1->Name = L"textBox1";
this->textBox1->Size = System::Drawing::Size(358, 20);
this->textBox1->TabIndex = 2;
//
// button1
//
this->button1->Location = System::Drawing::Point(376, 24);
this->button1->Name = L"button1";
this->button1->Size = System::Drawing::Size(75, 24);
this->button1->TabIndex = 3;
this->button1->Text = L"Naviga";
this->button1->UseVisualStyleBackColor = true;
this->button1->Click += gcnew System::EventHandler(this, &Form1::button1_Click);
//
// button2
//
this->button2->Location = System::Drawing::Point(528, 27);
this->button2->Name = L"button2";
this->button2->Size = System::Drawing::Size(75, 21);
this->button2->TabIndex = 4;
this->button2->Text = L"INDIETRO";
this->button2->UseVisualStyleBackColor = true;
this->button2->Click += gcnew System::EventHandler(this, &Form1::button2_Click);
//
// button3
//
this->button3->Location = System::Drawing::Point(626, 27);
this->button3->Name = L"button3";
this->button3->Size = System::Drawing::Size(75, 21);
this->button3->TabIndex = 5;
this->button3->Text = L"AVANTI";
this->button3->UseVisualStyleBackColor = true;
this->button3->Click += gcnew System::EventHandler(this, &Form1::button3_Click);
//
// button4
//
this->button4->Location = System::Drawing::Point(730, 27);
this->button4->Name = L"button4";
this->button4->Size = System::Drawing::Size(75, 21);
this->button4->TabIndex = 6;
this->button4->Text = L"RICARICA";
this->button4->UseVisualStyleBackColor = true;
this->button4->Click += gcnew System::EventHandler(this, &Form1::button4_Click);
//
// button5
//
this->button5->Location = System::Drawing::Point(833, 27);
this->button5->Name = L"button5";
this->button5->Size = System::Drawing::Size(75, 21);
this->button5->TabIndex = 7;
this->button5->Text = L"FERMA";
this->button5->UseVisualStyleBackColor = true;
this->button5->Click += gcnew System::EventHandler(this, &Form1::button5_Click);
//
// webBrowser1
//
this->webBrowser1->Dock = System::Windows::Forms::DockStyle::Fill;
this->webBrowser1->Location = System::Drawing::Point(0, 48);
this->webBrowser1->MinimumSize = System::Drawing::Size(20, 20);
this->webBrowser1->Name = L"webBrowser1";
this->webBrowser1->Size = System::Drawing::Size(918, 511);
this->webBrowser1->TabIndex = 8;
this->webBrowser1->Url = (gcnew System::Uri(L"http://www.pierotofy.it", System::UriKind::Absolute));
//
// label1
//
this->label1->AutoSize = true;
this->label1->Location = System::Drawing::Point(556, 9);
this->label1->Name = L"label1";
this->label1->Size = System::Drawing::Size(352, 13);
this->label1->TabIndex = 9;
this->label1->Text = L"Browser distribuito da : Dark_Limit , membro della community di pierotofy.it";
//
// Form1
//
this->AutoScaleDimensions = System::Drawing::SizeF(6, 13);
this->AutoScaleMode = System::Windows::Forms::AutoScaleMode::Font;
this->ClientSize = System::Drawing::Size(918, 559);
this->Controls->Add(this->label1);
this->Controls->Add(this->webBrowser1);
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->Controls->Add(this->textBox1);
this->Controls->Add(this->menuStrip1);
this->Controls->Add(this->menuStrip2);
this->MainMenuStrip = this->menuStrip1;
this->Name = L"Form1";
this->Text = L"Dark_LimitBrowser V beta 1.0.0";
this->Load += gcnew System::EventHandler(this, &Form1::Form1_Load);
this->menuStrip2->ResumeLayout(false);
this->menuStrip2->PerformLayout();
this->ResumeLayout(false);
this->PerformLayout();
}
#pragma endregion
// comunicazione agli oggetti
private: System::Void Form1_Load(System::Object^ sender, System::EventArgs^ e) {
}
private: System::Void button1_Click(System::Object^ sender, System::EventArgs^ e) {
this->webBrowser1->Navigate(this->textBox1->Text);
}
private: System::Void aggiornaToolStripMenuItem_Click(System::Object^ sender, System::EventArgs^ e) {
this->webBrowser1->Refresh();
}
private: System::Void fermaCaricamentoToolStripMenuItem1_Click(System::Object^ sender, System::EventArgs^ e) {
this->webBrowser1->Stop();
}
private: System::Void esciToolStripMenuItem1_Click(System::Object^ sender, System::EventArgs^ e) {
this->Close();
}
private: System::Void indietroToolStripMenuItem1_Click(System::Object^ sender, System::EventArgs^ e) {
this->webBrowser1->GoBack();
}
private: System::Void avantiToolStripMenuItem1_Click(System::Object^ sender, System::EventArgs^ e) {
this->webBrowser1->GoForward();
}
private: System::Void button2_Click(System::Object^ sender, System::EventArgs^ e) {
this->webBrowser1->GoBack();
}
private: System::Void button3_Click(System::Object^ sender, System::EventArgs^ e) {
this->webBrowser1->GoForward();
}
private: System::Void button4_Click(System::Object^ sender, System::EventArgs^ e) {
this->webBrowser1->Refresh();
}
private: System::Void button5_Click(System::Object^ sender, System::EventArgs^ e) {
this->webBrowser1->Stop();
}
};
}