Samarqand davlat universiteti intelektual tizimlar va kompyuter texnologiyalari dasturiy injiniring yo


Download 1.88 Mb.
Sana08.05.2023
Hajmi1.88 Mb.
#1445325
Bog'liq
Mustaqil ish


O’ZBEKISTON RESPUBLIKASI
OLIY VA O’RTA-MAXSUS TA’LIM VAZIRLIGI
SAMARQAND DAVLAT UNIVERSITETI
INTELEKTUAL TIZIMLAR VA KOMPYUTER TEXNOLOGIYALARI
DASTURIY INJINIRING YO’NALISHI
306-guruh talabasi
Zokirov Muhammadjonning
DASTURLASH ASOSLARI FANIDAN
MUSTAQIL
ISHI


Tekshirdi: Eshonqulov E.

SAMARQAND – 2023
Mavzu: Aeroport reyslari, uchuvchilar va mijozlar haqida ma’lumotlarni saqlovchi ilova hosil qiling
#pragma once
#include "Login.h";
namespace Airline {

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 for MyForm
///

public ref class MyForm : public System::Windows::Forms::Form
{
public:
MyForm(void)
{
InitializeComponent();
//
//TODO: Add the constructor code here
//
}

protected:


///
/// Clean up any resources being used.
///

~MyForm()
{
if (components)
{
delete components;
}
}
private: System::Windows::Forms::PictureBox^ pictureBox1;
protected:
private: System::Windows::Forms::Label^ label1;
private: System::Windows::Forms::Label^ label2;

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


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


private: System::Windows::Forms::Panel^ panel1;
private: System::ComponentModel::IContainer^ components;

private:


///
/// Required designer variable.
///

#pragma region Windows Form Designer generated code
///
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
///

void InitializeComponent(void)
{
System::ComponentModel::ComponentResourceManager^ resources = (gcnew System::ComponentModel::ComponentResourceManager(MyForm::typeid));
this->pictureBox1 = (gcnew System::Windows::Forms::PictureBox());
this->label1 = (gcnew System::Windows::Forms::Label());
this->label2 = (gcnew System::Windows::Forms::Label());
this->button5 = (gcnew System::Windows::Forms::Button());
this->button1 = (gcnew System::Windows::Forms::Button());
this->panel1 = (gcnew System::Windows::Forms::Panel());
(cli::safe_cast(this->pictureBox1))->BeginInit();
this->panel1->SuspendLayout();
this->SuspendLayout();
//
// pictureBox1
//
this->pictureBox1->Image = (cli::safe_cast(resources->GetObject(L"pictureBox1.Image")));
this->pictureBox1->Location = System::Drawing::Point(0, 39);
this->pictureBox1->Name = L"pictureBox1";
this->pictureBox1->Size = System::Drawing::Size(585, 239);
this->pictureBox1->SizeMode = System::Windows::Forms::PictureBoxSizeMode::StretchImage;
this->pictureBox1->TabIndex = 0;
this->pictureBox1->TabStop = false;
//
// label1
//
this->label1->AutoSize = true;
this->label1->Font = (gcnew System::Drawing::Font(L"Modern No. 20", 15.75F, static_cast((System::Drawing::FontStyle::Bold | System::Drawing::FontStyle::Italic)),
System::Drawing::GraphicsUnit::Point, static_cast(0)));
this->label1->ForeColor = System::Drawing::Color::Red;
this->label1->Location = System::Drawing::Point(270, 4);
this->label1->Name = L"label1";
this->label1->Size = System::Drawing::Size(0, 24);
this->label1->TabIndex = 1;
//
// label2
//
this->label2->AutoSize = true;
this->label2->Font = (gcnew System::Drawing::Font(L"Lucida Calligraphy", 15.75F, System::Drawing::FontStyle::Regular, System::Drawing::GraphicsUnit::Point,
static_cast(0)));
this->label2->Location = System::Drawing::Point(199, 1);
this->label2->Name = L"label2";
this->label2->Size = System::Drawing::Size(198, 27);
this->label2->TabIndex = 2;
this->label2->Text = L"Airways Airline";
//
// button5
//
this->button5->Font = (gcnew System::Drawing::Font(L"Times New Roman", 11.25F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point,
static_cast(204)));
this->button5->ForeColor = System::Drawing::Color::Red;
this->button5->Location = System::Drawing::Point(557, 1);
this->button5->Name = L"button5";
this->button5->Size = System::Drawing::Size(31, 28);
this->button5->TabIndex = 50;
this->button5->Text = L"X";
this->button5->UseVisualStyleBackColor = true;
this->button5->Click += gcnew System::EventHandler(this, &MyForm::button5_Click);
//
// button1
//
this->button1->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 12, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point,
static_cast(204)));
this->button1->Location = System::Drawing::Point(518, 284);
this->button1->Name = L"button1";
this->button1->Size = System::Drawing::Size(67, 31);
this->button1->TabIndex = 51;
this->button1->Text = L"kirish";
this->button1->UseVisualStyleBackColor = true;
this->button1->Click += gcnew System::EventHandler(this, &MyForm::button1_Click);
//
// panel1
//
this->panel1->Controls->Add(this->pictureBox1);
this->panel1->Controls->Add(this->button5);
this->panel1->Controls->Add(this->button1);
this->panel1->Controls->Add(this->label2);
this->panel1->Controls->Add(this->label1);
this->panel1->Location = System::Drawing::Point(2, 2);
this->panel1->Name = L"panel1";
this->panel1->Size = System::Drawing::Size(588, 336);
this->panel1->TabIndex = 52;
//
// MyForm
//
this->AutoScaleDimensions = System::Drawing::SizeF(6, 13);
this->AutoScaleMode = System::Windows::Forms::AutoScaleMode::Font;
this->BackColor = System::Drawing::Color::White;
this->ClientSize = System::Drawing::Size(602, 411);
this->Controls->Add(this->panel1);
this->ForeColor = System::Drawing::Color::Red;
this->FormBorderStyle = System::Windows::Forms::FormBorderStyle::None;
this->Name = L"MyForm";
this->StartPosition = System::Windows::Forms::FormStartPosition::CenterScreen;
this->Text = L"MyForm";
(cli::safe_cast(this->pictureBox1))->EndInit();
this->panel1->ResumeLayout(false);
this->panel1->PerformLayout();
this->ResumeLayout(false);

}
#pragma endregion


private: System::Void button5_Click(System::Object^ sender, System::EventArgs^ e) {
Close();
}
/*private: System::Void progressBar1_Click(System::Object^ sender, System::EventArgs^ e) {

/*Login ^myform = gcnew Login();


myform->ShowDialog();
}*/
private: System::Void button1_Click(System::Object^ sender, System::EventArgs^ e) {
Login ^myform = gcnew Login();
myform->ShowDialog();
}
};
}


#pragma once
#include "Tanlash.h"
namespace Airline {

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 for Login
///

public ref class Login : public System::Windows::Forms::Form
{
public:
Login(void)
{
InitializeComponent();
//
//TODO: Add the constructor code here
//
}

protected:


///
/// Clean up any resources being used.
///

~Login()
{
if (components)
{
delete components;
}
}
private: System::ComponentModel::BackgroundWorker^ backgroundWorker1;
protected:
private: System::Windows::Forms::Panel^ panel1;
private: System::Windows::Forms::Label^ label2;
private: System::Windows::Forms::Label^ label1;
private: System::Windows::Forms::Label^ label3;
private: System::Windows::Forms::Button^ button1;
private: System::Windows::Forms::Button^ button2;
private: System::Windows::Forms::RadioButton^ radioButton1;
private: System::Windows::Forms::Label^ label5;
private: System::Windows::Forms::Label^ label6;
private: System::Windows::Forms::Label^ label7;
private: System::Windows::Forms::TextBox^ textBox1;
private: System::Windows::Forms::TextBox^ textBox2;

private: System::Windows::Forms::PictureBox^ pictureBox1;


private: System::Windows::Forms::Button^ button4;
private: System::Windows::Forms::ToolTip^ toolTip1;
private: System::Windows::Forms::SaveFileDialog^ saveFileDialog1;
private: System::ComponentModel::IContainer^ components;
private:
///
/// Required designer variable.
///

#pragma region Windows Form Designer generated code
///
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
///

void InitializeComponent(void)
{
this->components = (gcnew System::ComponentModel::Container());
System::ComponentModel::ComponentResourceManager^ resources = (gcnew System::ComponentModel::ComponentResourceManager(Login::typeid));
this->backgroundWorker1 = (gcnew System::ComponentModel::BackgroundWorker());
this->panel1 = (gcnew System::Windows::Forms::Panel());
this->label5 = (gcnew System::Windows::Forms::Label());
this->label6 = (gcnew System::Windows::Forms::Label());
this->label7 = (gcnew System::Windows::Forms::Label());
this->label2 = (gcnew System::Windows::Forms::Label());
this->label1 = (gcnew System::Windows::Forms::Label());
this->label3 = (gcnew System::Windows::Forms::Label());
this->button1 = (gcnew System::Windows::Forms::Button());
this->button2 = (gcnew System::Windows::Forms::Button());
this->radioButton1 = (gcnew System::Windows::Forms::RadioButton());
this->textBox1 = (gcnew System::Windows::Forms::TextBox());
this->textBox2 = (gcnew System::Windows::Forms::TextBox());
this->pictureBox1 = (gcnew System::Windows::Forms::PictureBox());
this->button4 = (gcnew System::Windows::Forms::Button());
this->toolTip1 = (gcnew System::Windows::Forms::ToolTip(this->components));
this->saveFileDialog1 = (gcnew System::Windows::Forms::SaveFileDialog());
this->panel1->SuspendLayout();
(cli::safe_cast(this->pictureBox1))->BeginInit();
this->SuspendLayout();
//
// panel1
//
this->panel1->BackColor = System::Drawing::SystemColors::MenuHighlight;
this->panel1->Controls->Add(this->label5);
this->panel1->Controls->Add(this->label6);
this->panel1->Controls->Add(this->label7);
this->panel1->Dock = System::Windows::Forms::DockStyle::Left;
this->panel1->ForeColor = System::Drawing::SystemColors::ActiveCaption;
this->panel1->Location = System::Drawing::Point(0, 0);
this->panel1->Name = L"panel1";
this->panel1->Size = System::Drawing::Size(195, 455);
this->panel1->TabIndex = 0;
//
// label5
//
this->label5->AutoSize = true;
this->label5->Font = (gcnew System::Drawing::Font(L"Lucida Calligraphy", 15.75F, System::Drawing::FontStyle::Regular, System::Drawing::GraphicsUnit::Point,
static_cast(0)));
this->label5->Location = System::Drawing::Point(-5, 219);
this->label5->Name = L"label5";
this->label5->Size = System::Drawing::Size(198, 27);
this->label5->TabIndex = 12;
this->label5->Text = L"Airways Airline";
//
// label6
//
this->label6->AutoSize = true;
this->label6->Font = (gcnew System::Drawing::Font(L"Lucida Calligraphy", 15.75F, System::Drawing::FontStyle::Regular, System::Drawing::GraphicsUnit::Point,
static_cast(0)));
this->label6->Location = System::Drawing::Point(-5, 162);
this->label6->Name = L"label6";
this->label6->Size = System::Drawing::Size(198, 27);
this->label6->TabIndex = 13;
this->label6->Text = L"Airways Airline";
//
// label7
//
this->label7->AutoSize = true;
this->label7->Font = (gcnew System::Drawing::Font(L"Lucida Calligraphy", 15.75F, System::Drawing::FontStyle::Regular, System::Drawing::GraphicsUnit::Point,
static_cast(0)));
this->label7->Location = System::Drawing::Point(5, 106);
this->label7->Name = L"label7";
this->label7->Size = System::Drawing::Size(198, 27);
this->label7->TabIndex = 14;
this->label7->Text = L"Airways Airline";
//
// label2
//
this->label2->AutoSize = true;
this->label2->Font = (gcnew System::Drawing::Font(L"Lucida Calligraphy", 15.75F, System::Drawing::FontStyle::Regular, System::Drawing::GraphicsUnit::Point,
static_cast(0)));
this->label2->Location = System::Drawing::Point(250, 0);
this->label2->Name = L"label2";
this->label2->Size = System::Drawing::Size(198, 27);
this->label2->TabIndex = 3;
this->label2->Text = L"Airways Airline";
//
// label1
//
this->label1->AutoSize = true;
this->label1->Font = (gcnew System::Drawing::Font(L"Lucida Fax", 11.25F, System::Drawing::FontStyle::Regular, System::Drawing::GraphicsUnit::Point,
static_cast(0)));
this->label1->Location = System::Drawing::Point(201, 180);
this->label1->Name = L"label1";
this->label1->Size = System::Drawing::Size(50, 17);
this->label1->TabIndex = 4;
this->label1->Text = L"Login";
this->toolTip1->SetToolTip(this->label1, L"Loginni kiriting");
//
// label3
//
this->label3->AutoSize = true;
this->label3->Font = (gcnew System::Drawing::Font(L"Lucida Fax", 11.25F, System::Drawing::FontStyle::Italic, System::Drawing::GraphicsUnit::Point,
static_cast(0)));
this->label3->Location = System::Drawing::Point(201, 223);
this->label3->Name = L"label3";
this->label3->Size = System::Drawing::Size(76, 17);
this->label3->TabIndex = 5;
this->label3->Text = L"Password";
this->toolTip1->SetToolTip(this->label3, L"Parolni kiriting");
//
// button1
//
this->button1->BackColor = System::Drawing::SystemColors::HotTrack;
this->button1->FlatAppearance->BorderSize = 0;
this->button1->Font = (gcnew System::Drawing::Font(L"Constantia", 11.25F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point,
static_cast(204)));
this->button1->Location = System::Drawing::Point(373, 319);
this->button1->Name = L"button1";
this->button1->Size = System::Drawing::Size(113, 49);
this->button1->TabIndex = 6;
this->button1->Text = L"Kirish";
this->toolTip1->SetToolTip(this->button1, L"Tasdiqlash ");
this->button1->UseVisualStyleBackColor = false;
this->button1->Click += gcnew System::EventHandler(this, &Login::button1_Click);
//
// button2
//
this->button2->BackColor = System::Drawing::SystemColors::HotTrack;
this->button2->FlatAppearance->BorderSize = 0;
this->button2->Font = (gcnew System::Drawing::Font(L"Constantia", 11.25F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point,
static_cast(204)));
this->button2->Image = (cli::safe_cast(resources->GetObject(L"button2.Image")));
this->button2->ImageAlign = System::Drawing::ContentAlignment::MiddleLeft;
this->button2->Location = System::Drawing::Point(232, 319);
this->button2->Name = L"button2";
this->button2->Size = System::Drawing::Size(113, 49);
this->button2->TabIndex = 7;
this->button2->Text = L" Tozalash";
this->toolTip1->SetToolTip(this->button2, L"Ma\'lumotlarni qayta o\'rnatish");
this->button2->UseVisualStyleBackColor = false;
//
// radioButton1
//
this->radioButton1->AutoSize = true;
this->radioButton1->Location = System::Drawing::Point(211, 258);
this->radioButton1->Name = L"radioButton1";
this->radioButton1->Size = System::Drawing::Size(81, 17);
this->radioButton1->TabIndex = 8;
this->radioButton1->TabStop = true;
this->radioButton1->Text = L"Eslab qolish";
this->toolTip1->SetToolTip(this->radioButton1, L"Kiritilgan Login va parolni eslab qolsinmi");
this->radioButton1->UseVisualStyleBackColor = true;
//
// textBox1
//
this->textBox1->Location = System::Drawing::Point(288, 177);
this->textBox1->Name = L"textBox1";
this->textBox1->Size = System::Drawing::Size(153, 20);
this->textBox1->TabIndex = 9;
//
// textBox2
//
this->textBox2->Location = System::Drawing::Point(288, 220);
this->textBox2->Name = L"textBox2";
this->textBox2->Size = System::Drawing::Size(153, 20);
this->textBox2->TabIndex = 10;
//
// pictureBox1
//
this->pictureBox1->Image = (cli::safe_cast(resources->GetObject(L"pictureBox1.Image")));
this->pictureBox1->Location = System::Drawing::Point(255, 48);
this->pictureBox1->Name = L"pictureBox1";
this->pictureBox1->Size = System::Drawing::Size(221, 123);
this->pictureBox1->SizeMode = System::Windows::Forms::PictureBoxSizeMode::Zoom;
this->pictureBox1->TabIndex = 12;
this->pictureBox1->TabStop = false;
//
// button4
//
this->button4->Font = (gcnew System::Drawing::Font(L"Times New Roman", 11.25F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point,
static_cast(204)));
this->button4->ForeColor = System::Drawing::Color::Red;
this->button4->Location = System::Drawing::Point(588, 0);
this->button4->Name = L"button4";
this->button4->Size = System::Drawing::Size(31, 28);
this->button4->TabIndex = 49;
this->button4->Text = L"X";
this->button4->UseVisualStyleBackColor = true;
this->button4->Click += gcnew System::EventHandler(this, &Login::button4_Click);
//
// Login
//
this->AutoScaleDimensions = System::Drawing::SizeF(6, 13);
this->AutoScaleMode = System::Windows::Forms::AutoScaleMode::Font;
this->ClientSize = System::Drawing::Size(620, 455);
this->Controls->Add(this->button4);
this->Controls->Add(this->pictureBox1);
this->Controls->Add(this->textBox2);
this->Controls->Add(this->textBox1);
this->Controls->Add(this->radioButton1);
this->Controls->Add(this->button2);
this->Controls->Add(this->button1);
this->Controls->Add(this->label3);
this->Controls->Add(this->label1);
this->Controls->Add(this->label2);
this->Controls->Add(this->panel1);
this->FormBorderStyle = System::Windows::Forms::FormBorderStyle::None;
this->Name = L"Login";
this->Text = L"Login";
this->panel1->ResumeLayout(false);
this->panel1->PerformLayout();
(cli::safe_cast(this->pictureBox1))->EndInit();
this->ResumeLayout(false);
this->PerformLayout();

}
#pragma endregion


private: System::Void label4_Click(System::Object^ sender, System::EventArgs^ e) {
}
private: System::Void button3_Click(System::Object^ sender, System::EventArgs^ e) {
//Application->Exit();
this->Close();
}
private: System::Void button4_Click(System::Object^ sender, System::EventArgs^ e) {
Close();
}
private: System::Void button1_Click(System::Object^ sender, System::EventArgs^ e) {
String ^name = textBox1->Text, ^parol = textBox2->Text;
if (name == "login" && parol == "1234")
{
Tanlash ^myform = gcnew Tanlash();
myform->ShowDialog();
//MyForm->v
Close();
}
}
};
}


#pragma once
#include "flights.h";
#include "AddPassanger.h";
#include "Ticket.h";
#include "Cancellation.h";
namespace Airline {

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 for Tanlash
///

public ref class Tanlash : public System::Windows::Forms::Form
{
public:
Tanlash(void)
{
InitializeComponent();
//
//TODO: Add the constructor code here
//
}

protected:


///
/// Clean up any resources being used.
///

~Tanlash()
{
if (components)
{
delete components;
}
}
private: System::Windows::Forms::GroupBox^ groupBox1;
protected:
private: System::Windows::Forms::Button^ button4;
private: System::Windows::Forms::Button^ button3;
private: System::Windows::Forms::Button^ button2;
private: System::Windows::Forms::Button^ button1;
private: System::Windows::Forms::Label^ label1;
private: System::Windows::Forms::Label^ label2;

private:


///
/// Required designer variable.
///

System::ComponentModel::Container ^components;

#pragma region Windows Form Designer generated code


///
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
///

void InitializeComponent(void)
{
this->groupBox1 = (gcnew System::Windows::Forms::GroupBox());
this->button4 = (gcnew System::Windows::Forms::Button());
this->button3 = (gcnew System::Windows::Forms::Button());
this->button2 = (gcnew System::Windows::Forms::Button());
this->button1 = (gcnew System::Windows::Forms::Button());
this->label1 = (gcnew System::Windows::Forms::Label());
this->label2 = (gcnew System::Windows::Forms::Label());
this->groupBox1->SuspendLayout();
this->SuspendLayout();
//
// groupBox1
//
this->groupBox1->Controls->Add(this->button4);
this->groupBox1->Controls->Add(this->button3);
this->groupBox1->Controls->Add(this->button2);
this->groupBox1->Controls->Add(this->button1);
this->groupBox1->Controls->Add(this->label1);
this->groupBox1->Controls->Add(this->label2);
this->groupBox1->Location = System::Drawing::Point(12, 12);
this->groupBox1->Name = L"groupBox1";
this->groupBox1->Size = System::Drawing::Size(534, 343);
this->groupBox1->TabIndex = 0;
this->groupBox1->TabStop = false;
this->groupBox1->Text = L"groupBox1";
//
// button4
//
this->button4->Location = System::Drawing::Point(396, 219);
this->button4->Name = L"button4";
this->button4->Size = System::Drawing::Size(81, 34);
this->button4->TabIndex = 14;
this->button4->Text = L"Bekor qilish";
this->button4->UseVisualStyleBackColor = true;
this->button4->Click += gcnew System::EventHandler(this, &Tanlash::button4_Click);
//
// button3
//
this->button3->Location = System::Drawing::Point(298, 219);
this->button3->Name = L"button3";
this->button3->Size = System::Drawing::Size(81, 34);
this->button3->TabIndex = 13;
this->button3->Text = L"Belet";
this->button3->UseVisualStyleBackColor = true;
this->button3->Click += gcnew System::EventHandler(this, &Tanlash::button3_Click);
//
// button2
//
this->button2->Location = System::Drawing::Point(155, 219);
this->button2->Name = L"button2";
this->button2->Size = System::Drawing::Size(81, 34);
this->button2->TabIndex = 12;
this->button2->Text = L"Yo\'lovchi";
this->button2->UseVisualStyleBackColor = true;
this->button2->Click += gcnew System::EventHandler(this, &Tanlash::button2_Click);
//
// button1
//
this->button1->Location = System::Drawing::Point(40, 219);
this->button1->Name = L"button1";
this->button1->Size = System::Drawing::Size(81, 34);
this->button1->TabIndex = 11;
this->button1->Text = L"Parvozlar";
this->button1->UseVisualStyleBackColor = true;
this->button1->Click += gcnew System::EventHandler(this, &Tanlash::button1_Click);
//
// label1
//
this->label1->AutoSize = true;
this->label1->Font = (gcnew System::Drawing::Font(L"Bodoni MT", 14.25F, System::Drawing::FontStyle::Regular, System::Drawing::GraphicsUnit::Point,
static_cast(0)));
this->label1->Location = System::Drawing::Point(165, 39);
this->label1->Margin = System::Windows::Forms::Padding(4, 0, 4, 0);
this->label1->Name = L"label1";
this->label1->Size = System::Drawing::Size(149, 23);
this->label1->TabIndex = 10;
this->label1->Text = L"Xizmat ko\'rsatish";
//
// label2
//
this->label2->AutoSize = true;
this->label2->Font = (gcnew System::Drawing::Font(L"Lucida Calligraphy", 15.75F, System::Drawing::FontStyle::Regular, System::Drawing::GraphicsUnit::Point,
static_cast(0)));
this->label2->Location = System::Drawing::Point(150, 0);
this->label2->Margin = System::Windows::Forms::Padding(4, 0, 4, 0);
this->label2->Name = L"label2";
this->label2->Size = System::Drawing::Size(198, 27);
this->label2->TabIndex = 9;
this->label2->Text = L"Airways Airline";
//
// Tanlash
//
this->AutoScaleDimensions = System::Drawing::SizeF(6, 13);
this->AutoScaleMode = System::Windows::Forms::AutoScaleMode::Font;
this->ClientSize = System::Drawing::Size(541, 344);
this->Controls->Add(this->groupBox1);
this->FormBorderStyle = System::Windows::Forms::FormBorderStyle::None;
this->Name = L"Tanlash";
this->Text = L"Tanlash";
this->groupBox1->ResumeLayout(false);
this->groupBox1->PerformLayout();
this->ResumeLayout(false);

}
#pragma endregion


private: System::Void button1_Click(System::Object^ sender, System::EventArgs^ e) {
//flights ^flights1 = gcnew flights();
//flights1->ShowDialog();
}
private: System::Void button2_Click(System::Object^ sender, System::EventArgs^ e) {
AddPassanger ^addPassanger = gcnew AddPassanger();
addPassanger->ShowDialog();
}
private: System::Void button3_Click(System::Object^ sender, System::EventArgs^ e) {
Ticket ^ticket = gcnew Ticket();
ticket->ShowDialog();
}
private: System::Void button4_Click(System::Object^ sender, System::EventArgs^ e) {
Cancellation ^cancellation = gcnew Cancellation();
cancellation->ShowDialog();
}
};
}


#pragma once
#include "Tanlash.h";
#include "ViewFlighst.h";
namespace Airline {

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 for flights
///

public ref class flights : public System::Windows::Forms::Form
{
public:
flights(void)
{
InitializeComponent();
//
//TODO: Add the constructor code here
//
}

protected:


///
/// Clean up any resources being used.
///

~flights()
{
if (components)
{
delete components;
}
}
private: System::Windows::Forms::Label^ label2;
protected:
private: System::Windows::Forms::Label^ label1;
private: System::Windows::Forms::Label^ label3;
private: System::Windows::Forms::Label^ label4;
private: System::Windows::Forms::Label^ label5;
private: System::Windows::Forms::Label^ label6;
private: System::Windows::Forms::Label^ label7;

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


private: System::Windows::Forms::DateTimePicker^ dateTimePicker1;
private: System::Windows::Forms::GroupBox^ groupBox1;
private: System::Windows::Forms::PictureBox^ pictureBox1;
private: System::Windows::Forms::Button^ button4;
private: System::Windows::Forms::Button^ button3;
private: System::Windows::Forms::Button^ button2;
private: System::Windows::Forms::Button^ button1;
private: System::Windows::Forms::ComboBox^ comboBox2;
private: System::Windows::Forms::ComboBox^ comboBox1;
private: System::Windows::Forms::ImageList^ imageList1;
private: System::Windows::Forms::Button^ button5;
private: System::Windows::Forms::ComboBox^ comboBox3;
private: System::ComponentModel::IContainer^ components;

protected:


private:


///
/// Required designer variable.
///

#pragma region Windows Form Designer generated code
///
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
///

void InitializeComponent(void)
{
this->components = (gcnew System::ComponentModel::Container());
System::ComponentModel::ComponentResourceManager^ resources = (gcnew System::ComponentModel::ComponentResourceManager(flights::typeid));
this->label2 = (gcnew System::Windows::Forms::Label());
this->label1 = (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->textBox2 = (gcnew System::Windows::Forms::TextBox());
this->dateTimePicker1 = (gcnew System::Windows::Forms::DateTimePicker());
this->groupBox1 = (gcnew System::Windows::Forms::GroupBox());
this->comboBox3 = (gcnew System::Windows::Forms::ComboBox());
this->button5 = (gcnew System::Windows::Forms::Button());
this->pictureBox1 = (gcnew System::Windows::Forms::PictureBox());
this->button4 = (gcnew System::Windows::Forms::Button());
this->button3 = (gcnew System::Windows::Forms::Button());
this->button2 = (gcnew System::Windows::Forms::Button());
this->button1 = (gcnew System::Windows::Forms::Button());
this->comboBox2 = (gcnew System::Windows::Forms::ComboBox());
this->comboBox1 = (gcnew System::Windows::Forms::ComboBox());
this->imageList1 = (gcnew System::Windows::Forms::ImageList(this->components));
this->groupBox1->SuspendLayout();
(cli::safe_cast(this->pictureBox1))->BeginInit();
this->SuspendLayout();
//
// label2
//
this->label2->AutoSize = true;
this->label2->Font = (gcnew System::Drawing::Font(L"Lucida Calligraphy", 15.75F, System::Drawing::FontStyle::Regular, System::Drawing::GraphicsUnit::Point,
static_cast(0)));
this->label2->Location = System::Drawing::Point(202, -1);
this->label2->Margin = System::Windows::Forms::Padding(4, 0, 4, 0);
this->label2->Name = L"label2";
this->label2->Size = System::Drawing::Size(198, 27);
this->label2->TabIndex = 3;
this->label2->Text = L"Airways Airline";
//
// label1
//
this->label1->AutoSize = true;
this->label1->Font = (gcnew System::Drawing::Font(L"Bodoni MT", 14.25F, System::Drawing::FontStyle::Regular, System::Drawing::GraphicsUnit::Point,
static_cast(0)));
this->label1->Location = System::Drawing::Point(258, 36);
this->label1->Margin = System::Windows::Forms::Padding(4, 0, 4, 0);
this->label1->Name = L"label1";
this->label1->Size = System::Drawing::Size(87, 23);
this->label1->TabIndex = 4;
this->label1->Text = L"Parvozlar";
//
// label3
//
this->label3->AutoSize = true;
this->label3->Font = (gcnew System::Drawing::Font(L"Century Schoolbook", 9.75F, static_cast((System::Drawing::FontStyle::Bold | System::Drawing::FontStyle::Italic)),
System::Drawing::GraphicsUnit::Point, static_cast(204)));
this->label3->Location = System::Drawing::Point(32, 110);
this->label3->Margin = System::Windows::Forms::Padding(4, 0, 4, 0);
this->label3->Name = L"label3";
this->label3->Size = System::Drawing::Size(92, 16);
this->label3->TabIndex = 5;
this->label3->Text = L"Reys raqami";
//
// label4
//
this->label4->AutoSize = true;
this->label4->Font = (gcnew System::Drawing::Font(L"Century Schoolbook", 9.75F, static_cast((System::Drawing::FontStyle::Bold | System::Drawing::FontStyle::Italic)),
System::Drawing::GraphicsUnit::Point, static_cast(204)));
this->label4->Location = System::Drawing::Point(32, 156);
this->label4->Margin = System::Windows::Forms::Padding(4, 0, 4, 0);
this->label4->Name = L"label4";
this->label4->Size = System::Drawing::Size(55, 16);
this->label4->TabIndex = 6;
this->label4->Text = L"Uchish";
//
// label5
//
this->label5->AutoSize = true;
this->label5->Font = (gcnew System::Drawing::Font(L"Century Schoolbook", 9.75F, static_cast((System::Drawing::FontStyle::Bold | System::Drawing::FontStyle::Italic)),
System::Drawing::GraphicsUnit::Point, static_cast(204)));
this->label5->Location = System::Drawing::Point(32, 204);
this->label5->Margin = System::Windows::Forms::Padding(4, 0, 4, 0);
this->label5->Name = L"label5";
this->label5->Size = System::Drawing::Size(50, 16);
this->label5->TabIndex = 7;
this->label5->Text = L"Kelish";
//
// label6
//
this->label6->AutoSize = true;
this->label6->Font = (gcnew System::Drawing::Font(L"Century Schoolbook", 9.75F, static_cast((System::Drawing::FontStyle::Bold | System::Drawing::FontStyle::Italic)),
System::Drawing::GraphicsUnit::Point, static_cast(204)));
this->label6->Location = System::Drawing::Point(32, 249);
this->label6->Margin = System::Windows::Forms::Padding(4, 0, 4, 0);
this->label6->Name = L"label6";
this->label6->Size = System::Drawing::Size(44, 16);
this->label6->TabIndex = 8;
this->label6->Text = L"Sana";
//
// label7
//
this->label7->AutoSize = true;
this->label7->Font = (gcnew System::Drawing::Font(L"Century Schoolbook", 9.75F, static_cast((System::Drawing::FontStyle::Bold | System::Drawing::FontStyle::Italic)),
System::Drawing::GraphicsUnit::Point, static_cast(204)));
this->label7->Location = System::Drawing::Point(32, 286);
this->label7->Margin = System::Windows::Forms::Padding(4, 0, 4, 0);
this->label7->Name = L"label7";
this->label7->Size = System::Drawing::Size(118, 16);
this->label7->TabIndex = 9;
this->label7->Text = L"O\'rindiqlar soni";
//
// textBox2
//
this->textBox2->Location = System::Drawing::Point(167, 283);
this->textBox2->Name = L"textBox2";
this->textBox2->Size = System::Drawing::Size(117, 23);
this->textBox2->TabIndex = 11;
//
// dateTimePicker1
//
this->dateTimePicker1->Location = System::Drawing::Point(167, 249);
this->dateTimePicker1->Name = L"dateTimePicker1";
this->dateTimePicker1->Size = System::Drawing::Size(117, 23);
this->dateTimePicker1->TabIndex = 12;
//
// groupBox1
//
this->groupBox1->Controls->Add(this->comboBox3);
this->groupBox1->Controls->Add(this->button5);
this->groupBox1->Controls->Add(this->pictureBox1);
this->groupBox1->Controls->Add(this->button4);
this->groupBox1->Controls->Add(this->button3);
this->groupBox1->Controls->Add(this->button2);
this->groupBox1->Controls->Add(this->button1);
this->groupBox1->Controls->Add(this->comboBox2);
this->groupBox1->Controls->Add(this->comboBox1);
this->groupBox1->Controls->Add(this->dateTimePicker1);
this->groupBox1->Controls->Add(this->textBox2);
this->groupBox1->Controls->Add(this->label7);
this->groupBox1->Controls->Add(this->label6);
this->groupBox1->Controls->Add(this->label5);
this->groupBox1->Controls->Add(this->label4);
this->groupBox1->Controls->Add(this->label3);
this->groupBox1->Controls->Add(this->label1);
this->groupBox1->Controls->Add(this->label2);
this->groupBox1->Location = System::Drawing::Point(12, 5);
this->groupBox1->Name = L"groupBox1";
this->groupBox1->Size = System::Drawing::Size(594, 520);
this->groupBox1->TabIndex = 13;
this->groupBox1->TabStop = false;
this->groupBox1->Text = L"groupBox1";
//
// comboBox3
//
this->comboBox3->FormattingEnabled = true;
this->comboBox3->Location = System::Drawing::Point(165, 114);
this->comboBox3->Name = L"comboBox3";
this->comboBox3->Size = System::Drawing::Size(118, 24);
this->comboBox3->TabIndex = 50;
//
// button5
//
this->button5->Font = (gcnew System::Drawing::Font(L"Times New Roman", 11.25F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point,
static_cast(204)));
this->button5->ForeColor = System::Drawing::Color::Red;
this->button5->Location = System::Drawing::Point(563, -1);
this->button5->Name = L"button5";
this->button5->Size = System::Drawing::Size(31, 28);
this->button5->TabIndex = 49;
this->button5->Text = L"X";
this->button5->UseVisualStyleBackColor = true;
//
// pictureBox1
//
this->pictureBox1->Image = (cli::safe_cast(resources->GetObject(L"pictureBox1.Image")));
this->pictureBox1->InitialImage = (cli::safe_cast(resources->GetObject(L"pictureBox1.InitialImage")));
this->pictureBox1->Location = System::Drawing::Point(301, 103);
this->pictureBox1->Name = L"pictureBox1";
this->pictureBox1->Size = System::Drawing::Size(280, 180);
this->pictureBox1->SizeMode = System::Windows::Forms::PictureBoxSizeMode::AutoSize;
this->pictureBox1->TabIndex = 19;
this->pictureBox1->TabStop = false;
//
// button4
//
this->button4->Location = System::Drawing::Point(156, 423);
this->button4->Name = L"button4";
this->button4->Size = System::Drawing::Size(189, 32);
this->button4->TabIndex = 18;
this->button4->Text = L"Parvozlarni ko\'rish";
this->button4->UseVisualStyleBackColor = true;
this->button4->Click += gcnew System::EventHandler(this, &flights::button4_Click);
//
// button3
//
this->button3->Location = System::Drawing::Point(338, 383);
this->button3->Name = L"button3";
this->button3->Size = System::Drawing::Size(77, 30);
this->button3->TabIndex = 17;
this->button3->Text = L"Kirish";
this->button3->UseVisualStyleBackColor = true;
this->button3->Click += gcnew System::EventHandler(this, &flights::button3_Click);
//
// button2
//
this->button2->Location = System::Drawing::Point(225, 383);
this->button2->Name = L"button2";
this->button2->Size = System::Drawing::Size(78, 30);
this->button2->TabIndex = 16;
this->button2->Text = L"Tozalash";
this->button2->UseVisualStyleBackColor = true;
this->button2->Click += gcnew System::EventHandler(this, &flights::button2_Click);
//
// button1
//
this->button1->Location = System::Drawing::Point(108, 383);
this->button1->Name = L"button1";
this->button1->Size = System::Drawing::Size(68, 30);
this->button1->TabIndex = 15;
this->button1->Text = L"Chiqish";
this->button1->UseVisualStyleBackColor = true;
this->button1->Click += gcnew System::EventHandler(this, &flights::button1_Click);
//
// comboBox2
//
this->comboBox2->FormattingEnabled = true;
this->comboBox2->Location = System::Drawing::Point(167, 196);
this->comboBox2->Name = L"comboBox2";
this->comboBox2->Size = System::Drawing::Size(117, 24);
this->comboBox2->TabIndex = 14;
//
// comboBox1
//
this->comboBox1->FormattingEnabled = true;
this->comboBox1->Location = System::Drawing::Point(167, 148);
this->comboBox1->Name = L"comboBox1";
this->comboBox1->Size = System::Drawing::Size(117, 24);
this->comboBox1->TabIndex = 13;
//
// imageList1
//
this->imageList1->ColorDepth = System::Windows::Forms::ColorDepth::Depth8Bit;
this->imageList1->ImageSize = System::Drawing::Size(16, 16);
this->imageList1->TransparentColor = System::Drawing::Color::Transparent;
//
// flights
//
this->AutoScaleDimensions = System::Drawing::SizeF(9, 16);
this->AutoScaleMode = System::Windows::Forms::AutoScaleMode::Font;
this->ClientSize = System::Drawing::Size(605, 472);
this->Controls->Add(this->groupBox1);
this->Font = (gcnew System::Drawing::Font(L"Century Schoolbook", 9.75F, static_cast((System::Drawing::FontStyle::Bold | System::Drawing::FontStyle::Italic)),
System::Drawing::GraphicsUnit::Point, static_cast(204)));
this->FormBorderStyle = System::Windows::Forms::FormBorderStyle::None;
this->Margin = System::Windows::Forms::Padding(4);
this->Name = L"flights";
this->Text = L"flights";
this->Load += gcnew System::EventHandler(this, &flights::flights_Load);
this->groupBox1->ResumeLayout(false);
this->groupBox1->PerformLayout();
(cli::safe_cast(this->pictureBox1))->EndInit();
this->ResumeLayout(false);

}
#pragma endregion


private: System::Void flights_Load(System::Object^ sender, System::EventArgs^ e) {
}
private: System::Void button1_Click(System::Object^ sender, System::EventArgs^ e) {
//Tanlash^myform = gcnew Tanlash();
//myform->ShowDialog();
}
private: System::Void button3_Click(System::Object^ sender, System::EventArgs^ e) {
}
private: System::Void button2_Click(System::Object^ sender, System::EventArgs^ e) {
comboBox1->SelectedIndex = -1;
comboBox2->SelectedIndex = -1;
comboBox3->SelectedIndex = -1;
textBox2->Clear();
}
private: System::Void button4_Click(System::Object^ sender, System::EventArgs^ e) {
//ViewFlighst^myform = gcnew ViewFlighst();
//myform->ShowDialog;
}
};
}

#pragma once

namespace Airline {


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 for AddPassanger
///

public ref class AddPassanger : public System::Windows::Forms::Form
{
public:
AddPassanger(void)
{
InitializeComponent();
//
//TODO: Add the constructor code here
//
}

protected:


///
/// Clean up any resources being used.
///

~AddPassanger()
{
if (components)
{
delete components;
}
}
private: System::Windows::Forms::Label^ label1;
protected:
private: System::Windows::Forms::Label^ label2;
private: System::Windows::Forms::Panel^ panel1;
private: System::Windows::Forms::Label^ label3;
private: System::Windows::Forms::Label^ label10;
private: System::Windows::Forms::Label^ label9;
private: System::Windows::Forms::Label^ label8;
private: System::Windows::Forms::Label^ label7;
private: System::Windows::Forms::Label^ label6;
private: System::Windows::Forms::Label^ label5;
private: System::Windows::Forms::Label^ label4;
private: System::Windows::Forms::TextBox^ textBox1;
private: System::Windows::Forms::Label^ label11;
private: System::Windows::Forms::MaskedTextBox^ maskedTextBox2;
private: System::Windows::Forms::MaskedTextBox^ maskedTextBox1;
private: System::Windows::Forms::NumericUpDown^ numericUpDown1;
private: System::Windows::Forms::TextBox^ textBox7;
private: System::Windows::Forms::TextBox^ textBox6;
private: System::Windows::Forms::TextBox^ textBox5;
private: System::Windows::Forms::TextBox^ textBox3;
private: System::Windows::Forms::TextBox^ textBox2;
private: System::Windows::Forms::Button^ button1;
private: System::Windows::Forms::PictureBox^ pictureBox1;
private: System::Windows::Forms::Button^ button3;
private: System::Windows::Forms::Button^ button2;
private: System::Windows::Forms::Button^ button4;

private:


///
/// Required designer variable.
///

System::ComponentModel::Container ^components;

#pragma region Windows Form Designer generated code


///
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
///

void InitializeComponent(void)
{
System::ComponentModel::ComponentResourceManager^ resources = (gcnew System::ComponentModel::ComponentResourceManager(AddPassanger::typeid));
this->label1 = (gcnew System::Windows::Forms::Label());
this->label2 = (gcnew System::Windows::Forms::Label());
this->panel1 = (gcnew System::Windows::Forms::Panel());
this->button3 = (gcnew System::Windows::Forms::Button());
this->button2 = (gcnew System::Windows::Forms::Button());
this->button4 = (gcnew System::Windows::Forms::Button());
this->pictureBox1 = (gcnew System::Windows::Forms::PictureBox());
this->button1 = (gcnew System::Windows::Forms::Button());
this->label11 = (gcnew System::Windows::Forms::Label());
this->maskedTextBox2 = (gcnew System::Windows::Forms::MaskedTextBox());
this->maskedTextBox1 = (gcnew System::Windows::Forms::MaskedTextBox());
this->numericUpDown1 = (gcnew System::Windows::Forms::NumericUpDown());
this->textBox7 = (gcnew System::Windows::Forms::TextBox());
this->textBox6 = (gcnew System::Windows::Forms::TextBox());
this->textBox5 = (gcnew System::Windows::Forms::TextBox());
this->textBox3 = (gcnew System::Windows::Forms::TextBox());
this->textBox2 = (gcnew System::Windows::Forms::TextBox());
this->textBox1 = (gcnew System::Windows::Forms::TextBox());
this->label10 = (gcnew System::Windows::Forms::Label());
this->label9 = (gcnew System::Windows::Forms::Label());
this->label8 = (gcnew System::Windows::Forms::Label());
this->label7 = (gcnew System::Windows::Forms::Label());
this->label6 = (gcnew System::Windows::Forms::Label());
this->label5 = (gcnew System::Windows::Forms::Label());
this->label4 = (gcnew System::Windows::Forms::Label());
this->label3 = (gcnew System::Windows::Forms::Label());
this->panel1->SuspendLayout();
(cli::safe_cast(this->pictureBox1))->BeginInit();
(cli::safe_cast(this->numericUpDown1))->BeginInit();
this->SuspendLayout();
//
// label1
//
this->label1->AutoSize = true;
this->label1->Font = (gcnew System::Drawing::Font(L"Bodoni MT", 14.25F, System::Drawing::FontStyle::Regular, System::Drawing::GraphicsUnit::Point,
static_cast(0)));
this->label1->Location = System::Drawing::Point(182, 40);
this->label1->Margin = System::Windows::Forms::Padding(4, 0, 4, 0);
this->label1->Name = L"label1";
this->label1->Size = System::Drawing::Size(152, 23);
this->label1->TabIndex = 8;
this->label1->Text = L"Yo\'lovchi qo\'shish";
//
// label2
//
this->label2->AutoSize = true;
this->label2->Font = (gcnew System::Drawing::Font(L"Lucida Calligraphy", 15.75F, System::Drawing::FontStyle::Regular, System::Drawing::GraphicsUnit::Point,
static_cast(0)));
this->label2->Location = System::Drawing::Point(164, 4);
this->label2->Margin = System::Windows::Forms::Padding(4, 0, 4, 0);
this->label2->Name = L"label2";
this->label2->Size = System::Drawing::Size(198, 27);
this->label2->TabIndex = 7;
this->label2->Text = L"Airways Airline";
//
// panel1
//
this->panel1->Controls->Add(this->button3);
this->panel1->Controls->Add(this->button2);
this->panel1->Controls->Add(this->button4);
this->panel1->Controls->Add(this->pictureBox1);
this->panel1->Controls->Add(this->button1);
this->panel1->Controls->Add(this->label11);
this->panel1->Controls->Add(this->maskedTextBox2);
this->panel1->Controls->Add(this->maskedTextBox1);
this->panel1->Controls->Add(this->numericUpDown1);
this->panel1->Controls->Add(this->textBox7);
this->panel1->Controls->Add(this->textBox6);
this->panel1->Controls->Add(this->textBox5);
this->panel1->Controls->Add(this->textBox3);
this->panel1->Controls->Add(this->textBox2);
this->panel1->Controls->Add(this->textBox1);
this->panel1->Controls->Add(this->label10);
this->panel1->Controls->Add(this->label9);
this->panel1->Controls->Add(this->label8);
this->panel1->Controls->Add(this->label7);
this->panel1->Controls->Add(this->label6);
this->panel1->Controls->Add(this->label5);
this->panel1->Controls->Add(this->label4);
this->panel1->Controls->Add(this->label3);
this->panel1->Controls->Add(this->label1);
this->panel1->Controls->Add(this->label2);
this->panel1->Location = System::Drawing::Point(4, 6);
this->panel1->Name = L"panel1";
this->panel1->Size = System::Drawing::Size(542, 492);
this->panel1->TabIndex = 9;
//
// button3
//
this->button3->Location = System::Drawing::Point(351, 415);
this->button3->Name = L"button3";
this->button3->Size = System::Drawing::Size(77, 30);
this->button3->TabIndex = 53;
this->button3->Text = L"Saqlash";
this->button3->UseVisualStyleBackColor = true;
//
// button2
//
this->button2->Location = System::Drawing::Point(238, 415);
this->button2->Name = L"button2";
this->button2->Size = System::Drawing::Size(78, 30);
this->button2->TabIndex = 52;
this->button2->Text = L"Tozalash";
this->button2->UseVisualStyleBackColor = true;
this->button2->Click += gcnew System::EventHandler(this, &AddPassanger::button2_Click);
//
// button4
//
this->button4->Location = System::Drawing::Point(121, 415);
this->button4->Name = L"button4";
this->button4->Size = System::Drawing::Size(68, 30);
this->button4->TabIndex = 51;
this->button4->Text = L"Chiqish";
this->button4->UseVisualStyleBackColor = true;
//
// pictureBox1
//
this->pictureBox1->Image = (cli::safe_cast(resources->GetObject(L"pictureBox1.Image")));
this->pictureBox1->Location = System::Drawing::Point(247, 112);
this->pictureBox1->Name = L"pictureBox1";
this->pictureBox1->Size = System::Drawing::Size(292, 249);
this->pictureBox1->SizeMode = System::Windows::Forms::PictureBoxSizeMode::Zoom;
this->pictureBox1->TabIndex = 50;
this->pictureBox1->TabStop = false;
//
// button1
//
this->button1->Font = (gcnew System::Drawing::Font(L"Times New Roman", 11.25F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point,
static_cast(204)));
this->button1->ForeColor = System::Drawing::Color::Red;
this->button1->Location = System::Drawing::Point(511, 0);
this->button1->Name = L"button1";
this->button1->Size = System::Drawing::Size(31, 28);
this->button1->TabIndex = 49;
this->button1->Text = L"X";
this->button1->UseVisualStyleBackColor = true;
//
// label11
//
this->label11->AutoSize = true;
this->label11->Font = (gcnew System::Drawing::Font(L"Century Schoolbook", 12, static_cast((System::Drawing::FontStyle::Bold | System::Drawing::FontStyle::Italic)),
System::Drawing::GraphicsUnit::Point, static_cast(204)));
this->label11->Location = System::Drawing::Point(20, 188);
this->label11->Name = L"label11";
this->label11->Size = System::Drawing::Size(48, 20);
this->label11->TabIndex = 27;
this->label11->Text = L"Yosh";
//
// maskedTextBox2
//
this->maskedTextBox2->Location = System::Drawing::Point(139, 218);
this->maskedTextBox2->Mask = L"AA0000000";
this->maskedTextBox2->Name = L"maskedTextBox2";
this->maskedTextBox2->Size = System::Drawing::Size(102, 20);
this->maskedTextBox2->TabIndex = 26;
//
// maskedTextBox1
//
this->maskedTextBox1->Location = System::Drawing::Point(139, 341);
this->maskedTextBox1->Mask = L"+998(00) 000-000";
this->maskedTextBox1->Name = L"maskedTextBox1";
this->maskedTextBox1->Size = System::Drawing::Size(102, 20);
this->maskedTextBox1->TabIndex = 25;
//
// numericUpDown1
//
this->numericUpDown1->Location = System::Drawing::Point(139, 188);
this->numericUpDown1->Name = L"numericUpDown1";
this->numericUpDown1->Size = System::Drawing::Size(50, 20);
this->numericUpDown1->TabIndex = 24;
//
// textBox7
//
this->textBox7->Location = System::Drawing::Point(139, 249);
this->textBox7->Name = L"textBox7";
this->textBox7->Size = System::Drawing::Size(102, 20);
this->textBox7->TabIndex = 23;
//
// textBox6
//
this->textBox6->Location = System::Drawing::Point(139, 278);
this->textBox6->Name = L"textBox6";
this->textBox6->Size = System::Drawing::Size(102, 20);
this->textBox6->TabIndex = 22;
//
// textBox5
//
this->textBox5->Location = System::Drawing::Point(139, 306);
this->textBox5->Name = L"textBox5";
this->textBox5->Size = System::Drawing::Size(102, 20);
this->textBox5->TabIndex = 21;
//
// textBox3
//
this->textBox3->Location = System::Drawing::Point(139, 154);
this->textBox3->Name = L"textBox3";
this->textBox3->Size = System::Drawing::Size(102, 20);
this->textBox3->TabIndex = 19;
//
// textBox2
//
this->textBox2->Location = System::Drawing::Point(139, 123);
this->textBox2->Name = L"textBox2";
this->textBox2->Size = System::Drawing::Size(102, 20);
this->textBox2->TabIndex = 18;
//
// textBox1
//
this->textBox1->Location = System::Drawing::Point(139, 91);
this->textBox1->Name = L"textBox1";
this->textBox1->Size = System::Drawing::Size(102, 20);
this->textBox1->TabIndex = 17;
//
// label10
//
this->label10->AutoSize = true;
this->label10->Font = (gcnew System::Drawing::Font(L"Century Schoolbook", 12, static_cast((System::Drawing::FontStyle::Bold | System::Drawing::FontStyle::Italic)),
System::Drawing::GraphicsUnit::Point, static_cast(204)));
this->label10->Location = System::Drawing::Point(20, 341);
this->label10->Name = L"label10";
this->label10->Size = System::Drawing::Size(69, 20);
this->label10->TabIndex = 16;
this->label10->Text = L"Telefon";
//
// label9
//
this->label9->AutoSize = true;
this->label9->Font = (gcnew System::Drawing::Font(L"Century Schoolbook", 12, static_cast((System::Drawing::FontStyle::Bold | System::Drawing::FontStyle::Italic)),
System::Drawing::GraphicsUnit::Point, static_cast(204)));
this->label9->Location = System::Drawing::Point(20, 309);
this->label9->Name = L"label9";
this->label9->Size = System::Drawing::Size(51, 20);
this->label9->TabIndex = 15;
this->label9->Text = L"Jinsi";
//
// label8
//
this->label8->AutoSize = true;
this->label8->Font = (gcnew System::Drawing::Font(L"Century Schoolbook", 12, static_cast((System::Drawing::FontStyle::Bold | System::Drawing::FontStyle::Italic)),
System::Drawing::GraphicsUnit::Point, static_cast(204)));
this->label8->Location = System::Drawing::Point(20, 278);
this->label8->Name = L"label8";
this->label8->Size = System::Drawing::Size(60, 20);
this->label8->TabIndex = 14;
this->label8->Text = L"Millat";
//
// label7
//
this->label7->AutoSize = true;
this->label7->Font = (gcnew System::Drawing::Font(L"Century Schoolbook", 12, static_cast((System::Drawing::FontStyle::Bold | System::Drawing::FontStyle::Italic)),
System::Drawing::GraphicsUnit::Point, static_cast(204)));
this->label7->Location = System::Drawing::Point(20, 249);
this->label7->Name = L"label7";
this->label7->Size = System::Drawing::Size(66, 20);
this->label7->TabIndex = 13;
this->label7->Text = L"Manzil";
//
// label6
//
this->label6->AutoSize = true;
this->label6->Font = (gcnew System::Drawing::Font(L"Century Schoolbook", 12, static_cast((System::Drawing::FontStyle::Bold | System::Drawing::FontStyle::Italic)),
System::Drawing::GraphicsUnit::Point, static_cast(204)));
this->label6->Location = System::Drawing::Point(20, 218);
this->label6->Name = L"label6";
this->label6->Size = System::Drawing::Size(82, 20);
this->label6->TabIndex = 12;
this->label6->Text = L"Passport";
//
// label5
//
this->label5->AutoSize = true;
this->label5->Font = (gcnew System::Drawing::Font(L"Century Schoolbook", 12, static_cast((System::Drawing::FontStyle::Bold | System::Drawing::FontStyle::Italic)),
System::Drawing::GraphicsUnit::Point, static_cast(204)));
this->label5->Location = System::Drawing::Point(20, 154);
this->label5->Name = L"label5";
this->label5->Size = System::Drawing::Size(77, 20);
this->label5->TabIndex = 11;
this->label5->Text = L"Familya";
//
// label4
//
this->label4->AutoSize = true;
this->label4->Font = (gcnew System::Drawing::Font(L"Century Schoolbook", 12, static_cast((System::Drawing::FontStyle::Bold | System::Drawing::FontStyle::Italic)),
System::Drawing::GraphicsUnit::Point, static_cast(204)));
this->label4->Location = System::Drawing::Point(20, 123);
this->label4->Name = L"label4";
this->label4->Size = System::Drawing::Size(39, 20);
this->label4->TabIndex = 10;
this->label4->Text = L"Ism";
//
// label3
//
this->label3->AutoSize = true;
this->label3->Font = (gcnew System::Drawing::Font(L"Century Schoolbook", 12, static_cast((System::Drawing::FontStyle::Bold | System::Drawing::FontStyle::Italic)),
System::Drawing::GraphicsUnit::Point, static_cast(204)));
this->label3->Location = System::Drawing::Point(20, 91);
this->label3->Name = L"label3";
this->label3->Size = System::Drawing::Size(29, 20);
this->label3->TabIndex = 9;
this->label3->Text = L"ID";
this->label3->Click += gcnew System::EventHandler(this, &AddPassanger::label3_Click);
//
// AddPassanger
//
this->AutoScaleDimensions = System::Drawing::SizeF(6, 13);
this->AutoScaleMode = System::Windows::Forms::AutoScaleMode::Font;
this->ClientSize = System::Drawing::Size(549, 486);
this->Controls->Add(this->panel1);
this->FormBorderStyle = System::Windows::Forms::FormBorderStyle::None;
this->Name = L"AddPassanger";
this->Text = L"AddPassanger";
this->panel1->ResumeLayout(false);
this->panel1->PerformLayout();
(cli::safe_cast(this->pictureBox1))->EndInit();
(cli::safe_cast(this->numericUpDown1))->EndInit();
this->ResumeLayout(false);

}
#pragma endregion


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

}
};


}

#pragma once

namespace Airline {


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 for Cancellation
///

public ref class Cancellation : public System::Windows::Forms::Form
{
public:
Cancellation(void)
{
InitializeComponent();
//
//TODO: Add the constructor code here
//
}

protected:


///
/// Clean up any resources being used.
///

~Cancellation()
{
if (components)
{
delete components;
}
}
private: System::Windows::Forms::Panel^ panel1;
protected:
private: System::Windows::Forms::Button^ button1;
private: System::Windows::Forms::DataGridView^ dataGridView1;
private: System::Windows::Forms::TextBox^ textBox3;
private: System::Windows::Forms::TextBox^ textBox2;
private: System::Windows::Forms::Label^ label5;
private: System::Windows::Forms::Label^ label6;

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


private: System::Windows::Forms::ComboBox^ comboBox3;
private: System::Windows::Forms::Label^ label3;
private: System::Windows::Forms::Label^ label1;
private: System::Windows::Forms::Label^ label2;
private: System::Windows::Forms::Label^ label7;
private: System::Windows::Forms::TextBox^ textBox1;
private: System::Windows::Forms::Button^ button3;
private: System::Windows::Forms::Button^ button2;
private: System::Windows::Forms::Button^ button4;

private:


///
/// Required designer variable.
///

System::ComponentModel::Container ^components;

#pragma region Windows Form Designer generated code


///
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
///

void InitializeComponent(void)
{
this->panel1 = (gcnew System::Windows::Forms::Panel());
this->label7 = (gcnew System::Windows::Forms::Label());
this->textBox1 = (gcnew System::Windows::Forms::TextBox());
this->button1 = (gcnew System::Windows::Forms::Button());
this->dataGridView1 = (gcnew System::Windows::Forms::DataGridView());
this->textBox3 = (gcnew System::Windows::Forms::TextBox());
this->textBox2 = (gcnew System::Windows::Forms::TextBox());
this->label5 = (gcnew System::Windows::Forms::Label());
this->label6 = (gcnew System::Windows::Forms::Label());
this->label4 = (gcnew System::Windows::Forms::Label());
this->comboBox3 = (gcnew System::Windows::Forms::ComboBox());
this->label3 = (gcnew System::Windows::Forms::Label());
this->label1 = (gcnew System::Windows::Forms::Label());
this->label2 = (gcnew System::Windows::Forms::Label());
this->button3 = (gcnew System::Windows::Forms::Button());
this->button2 = (gcnew System::Windows::Forms::Button());
this->button4 = (gcnew System::Windows::Forms::Button());
this->panel1->SuspendLayout();
(cli::safe_cast(this->dataGridView1))->BeginInit();
this->SuspendLayout();
//
// panel1
//
this->panel1->Controls->Add(this->button3);
this->panel1->Controls->Add(this->button2);
this->panel1->Controls->Add(this->button4);
this->panel1->Controls->Add(this->label7);
this->panel1->Controls->Add(this->textBox1);
this->panel1->Controls->Add(this->button1);
this->panel1->Controls->Add(this->dataGridView1);
this->panel1->Controls->Add(this->textBox3);
this->panel1->Controls->Add(this->textBox2);
this->panel1->Controls->Add(this->label5);
this->panel1->Controls->Add(this->label6);
this->panel1->Controls->Add(this->label4);
this->panel1->Controls->Add(this->comboBox3);
this->panel1->Controls->Add(this->label3);
this->panel1->Controls->Add(this->label1);
this->panel1->Controls->Add(this->label2);
this->panel1->Location = System::Drawing::Point(-2, 1);
this->panel1->Name = L"panel1";
this->panel1->Size = System::Drawing::Size(550, 514);
this->panel1->TabIndex = 12;
//
// label7
//
this->label7->AutoSize = true;
this->label7->Font = (gcnew System::Drawing::Font(L"Bodoni MT", 14.25F, System::Drawing::FontStyle::Regular, System::Drawing::GraphicsUnit::Point,
static_cast(0)));
this->label7->Location = System::Drawing::Point(173, 256);
this->label7->Margin = System::Windows::Forms::Padding(4, 0, 4, 0);
this->label7->Name = L"label7";
this->label7->Size = System::Drawing::Size(171, 23);
this->label7->TabIndex = 50;
this->label7->Text = L"Bekor qilish ro\'yxati";
//
// textBox1
//
this->textBox1->Location = System::Drawing::Point(373, 122);
this->textBox1->Name = L"textBox1";
this->textBox1->Size = System::Drawing::Size(117, 20);
this->textBox1->TabIndex = 49;
//
// button1
//
this->button1->Font = (gcnew System::Drawing::Font(L"Times New Roman", 11.25F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point,
static_cast(204)));
this->button1->ForeColor = System::Drawing::Color::Red;
this->button1->Location = System::Drawing::Point(519, -1);
this->button1->Name = L"button1";
this->button1->Size = System::Drawing::Size(31, 28);
this->button1->TabIndex = 48;
this->button1->Text = L"X";
this->button1->UseVisualStyleBackColor = true;
//
// dataGridView1
//
this->dataGridView1->BackgroundColor = System::Drawing::SystemColors::Menu;
this->dataGridView1->ColumnHeadersHeightSizeMode = System::Windows::Forms::DataGridViewColumnHeadersHeightSizeMode::AutoSize;
this->dataGridView1->GridColor = System::Drawing::Color::White;
this->dataGridView1->Location = System::Drawing::Point(13, 296);
this->dataGridView1->Name = L"dataGridView1";
this->dataGridView1->Size = System::Drawing::Size(529, 215);
this->dataGridView1->TabIndex = 47;
//
// textBox3
//
this->textBox3->Location = System::Drawing::Point(142, 159);
this->textBox3->Name = L"textBox3";
this->textBox3->Size = System::Drawing::Size(102, 20);
this->textBox3->TabIndex = 40;
//
// textBox2
//
this->textBox2->Location = System::Drawing::Point(373, 159);
this->textBox2->Name = L"textBox2";
this->textBox2->Size = System::Drawing::Size(117, 20);
this->textBox2->TabIndex = 39;
//
// label5
//
this->label5->AutoSize = true;
this->label5->Font = (gcnew System::Drawing::Font(L"Century Schoolbook", 12, static_cast((System::Drawing::FontStyle::Bold | System::Drawing::FontStyle::Italic)),
System::Drawing::GraphicsUnit::Point, static_cast(204)));
this->label5->Location = System::Drawing::Point(9, 157);
this->label5->Name = L"label5";
this->label5->Size = System::Drawing::Size(116, 20);
this->label5->TabIndex = 38;
this->label5->Text = L"Belet raqami";
//
// label6
//
this->label6->AutoSize = true;
this->label6->Font = (gcnew System::Drawing::Font(L"Century Schoolbook", 12, static_cast((System::Drawing::FontStyle::Bold | System::Drawing::FontStyle::Italic)),
System::Drawing::GraphicsUnit::Point, static_cast(204)));
this->label6->Location = System::Drawing::Point(298, 157);
this->label6->Name = L"label6";
this->label6->Size = System::Drawing::Size(53, 20);
this->label6->TabIndex = 37;
this->label6->Text = L"Sana";
//
// label4
//
this->label4->AutoSize = true;
this->label4->Font = (gcnew System::Drawing::Font(L"Century Schoolbook", 9.75F, static_cast((System::Drawing::FontStyle::Bold | System::Drawing::FontStyle::Italic)),
System::Drawing::GraphicsUnit::Point, static_cast(204)));
this->label4->Location = System::Drawing::Point(299, 126);
this->label4->Margin = System::Windows::Forms::Padding(4, 0, 4, 0);
this->label4->Name = L"label4";
this->label4->Size = System::Drawing::Size(42, 16);
this->label4->TabIndex = 32;
this->label4->Text = L"Belet";
//
// comboBox3
//
this->comboBox3->FormattingEnabled = true;
this->comboBox3->Location = System::Drawing::Point(142, 121);
this->comboBox3->Name = L"comboBox3";
this->comboBox3->Size = System::Drawing::Size(104, 21);
this->comboBox3->TabIndex = 31;
//
// label3
//
this->label3->AutoSize = true;
this->label3->Font = (gcnew System::Drawing::Font(L"Century Schoolbook", 12, static_cast((System::Drawing::FontStyle::Bold | System::Drawing::FontStyle::Italic)),
System::Drawing::GraphicsUnit::Point, static_cast(204)));
this->label3->Location = System::Drawing::Point(10, 122);
this->label3->Margin = System::Windows::Forms::Padding(4, 0, 4, 0);
this->label3->Name = L"label3";
this->label3->Size = System::Drawing::Size(105, 20);
this->label3->TabIndex = 30;
this->label3->Text = L"Rozi bo\'lish";
//
// label1
//
this->label1->AutoSize = true;
this->label1->Font = (gcnew System::Drawing::Font(L"Bodoni MT", 14.25F, System::Drawing::FontStyle::Regular, System::Drawing::GraphicsUnit::Point,
static_cast(0)));
this->label1->Location = System::Drawing::Point(218, 27);
this->label1->Margin = System::Windows::Forms::Padding(4, 0, 4, 0);
this->label1->Name = L"label1";
this->label1->Size = System::Drawing::Size(105, 23);
this->label1->TabIndex = 10;
this->label1->Text = L"Bekor qilish";
//
// label2
//
this->label2->AutoSize = true;
this->label2->Font = (gcnew System::Drawing::Font(L"Lucida Calligraphy", 15.75F, System::Drawing::FontStyle::Regular, System::Drawing::GraphicsUnit::Point,
static_cast(0)));
this->label2->Location = System::Drawing::Point(172, 0);
this->label2->Margin = System::Windows::Forms::Padding(4, 0, 4, 0);
this->label2->Name = L"label2";
this->label2->Size = System::Drawing::Size(198, 27);
this->label2->TabIndex = 9;
this->label2->Text = L"Airways Airline";
//
// button3
//
this->button3->Location = System::Drawing::Point(342, 206);
this->button3->Name = L"button3";
this->button3->Size = System::Drawing::Size(77, 30);
this->button3->TabIndex = 56;
this->button3->Text = L"Saqlash";
this->button3->UseVisualStyleBackColor = true;
this->button3->Click += gcnew System::EventHandler(this, &Cancellation::button3_Click);
//
// button2
//
this->button2->Location = System::Drawing::Point(229, 206);
this->button2->Name = L"button2";
this->button2->Size = System::Drawing::Size(78, 30);
this->button2->TabIndex = 55;
this->button2->Text = L"Tozalash";
this->button2->UseVisualStyleBackColor = true;
this->button2->Click += gcnew System::EventHandler(this, &Cancellation::button2_Click);
//
// button4
//
this->button4->Location = System::Drawing::Point(112, 206);
this->button4->Name = L"button4";
this->button4->Size = System::Drawing::Size(68, 30);
this->button4->TabIndex = 54;
this->button4->Text = L"Chiqish";
this->button4->UseVisualStyleBackColor = true;
this->button4->Click += gcnew System::EventHandler(this, &Cancellation::button4_Click);
//
// Cancellation
//
this->AutoScaleDimensions = System::Drawing::SizeF(6, 13);
this->AutoScaleMode = System::Windows::Forms::AutoScaleMode::Font;
this->ClientSize = System::Drawing::Size(552, 524);
this->Controls->Add(this->panel1);
this->FormBorderStyle = System::Windows::Forms::FormBorderStyle::None;
this->Name = L"Cancellation";
this->Text = L"Cancellation";
this->panel1->ResumeLayout(false);
this->panel1->PerformLayout();
(cli::safe_cast(this->dataGridView1))->EndInit();
this->ResumeLayout(false);

}
#pragma endregion


private: System::Void button3_Click(System::Object^ sender, System::EventArgs^ e) {
}
private: System::Void button2_Click(System::Object^ sender, System::EventArgs^ e) {
}
private: System::Void button4_Click(System::Object^ sender, System::EventArgs^ e) {
}
};
}

#pragma once

namespace Airline {


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 for Ticket
///

public ref class Ticket : public System::Windows::Forms::Form
{
public:
Ticket(void)
{
InitializeComponent();
//
//TODO: Add the constructor code here
//
}

protected:


///
/// Clean up any resources being used.
///

~Ticket()
{
if (components)
{
delete components;
}
}
private: System::Windows::Forms::Label^ label1;
protected:
private: System::Windows::Forms::Label^ label2;
private: System::Windows::Forms::Panel^ panel1;
private: System::Windows::Forms::ComboBox^ comboBox3;
private: System::Windows::Forms::Label^ label3;
private: System::Windows::Forms::ComboBox^ comboBox1;
private: System::Windows::Forms::Label^ label4;
private: System::Windows::Forms::TextBox^ textBox3;
private: System::Windows::Forms::TextBox^ textBox2;
private: System::Windows::Forms::Label^ label5;
private: System::Windows::Forms::Label^ label6;
private: System::Windows::Forms::DataGridView^ dataGridView1;
private: System::Windows::Forms::TextBox^ textBox4;
private: System::Windows::Forms::Label^ label9;
private: System::Windows::Forms::TextBox^ textBox6;
private: System::Windows::Forms::Label^ label8;
private: System::Windows::Forms::Button^ button5;
private: System::Windows::Forms::PictureBox^ pictureBox1;
private: System::Windows::Forms::TextBox^ textBox5;
private: System::Windows::Forms::Label^ label10;
private: System::Windows::Forms::TextBox^ textBox1;
private: System::Windows::Forms::Label^ label7;
private: System::Windows::Forms::ToolTip^ toolTip1;
private: System::ComponentModel::IContainer^ components;

private:


///
/// Required designer variable.
///

#pragma region Windows Form Designer generated code
///
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
///

void InitializeComponent(void)
{
this->components = (gcnew System::ComponentModel::Container());
System::ComponentModel::ComponentResourceManager^ resources = (gcnew System::ComponentModel::ComponentResourceManager(Ticket::typeid));
this->label1 = (gcnew System::Windows::Forms::Label());
this->label2 = (gcnew System::Windows::Forms::Label());
this->panel1 = (gcnew System::Windows::Forms::Panel());
this->textBox5 = (gcnew System::Windows::Forms::TextBox());
this->label10 = (gcnew System::Windows::Forms::Label());
this->textBox1 = (gcnew System::Windows::Forms::TextBox());
this->label7 = (gcnew System::Windows::Forms::Label());
this->pictureBox1 = (gcnew System::Windows::Forms::PictureBox());
this->button5 = (gcnew System::Windows::Forms::Button());
this->dataGridView1 = (gcnew System::Windows::Forms::DataGridView());
this->textBox4 = (gcnew System::Windows::Forms::TextBox());
this->label9 = (gcnew System::Windows::Forms::Label());
this->textBox6 = (gcnew System::Windows::Forms::TextBox());
this->label8 = (gcnew System::Windows::Forms::Label());
this->textBox3 = (gcnew System::Windows::Forms::TextBox());
this->textBox2 = (gcnew System::Windows::Forms::TextBox());
this->label5 = (gcnew System::Windows::Forms::Label());
this->label6 = (gcnew System::Windows::Forms::Label());
this->comboBox1 = (gcnew System::Windows::Forms::ComboBox());
this->label4 = (gcnew System::Windows::Forms::Label());
this->comboBox3 = (gcnew System::Windows::Forms::ComboBox());
this->label3 = (gcnew System::Windows::Forms::Label());
this->toolTip1 = (gcnew System::Windows::Forms::ToolTip(this->components));
this->panel1->SuspendLayout();
(cli::safe_cast(this->pictureBox1))->BeginInit();
(cli::safe_cast(this->dataGridView1))->BeginInit();
this->SuspendLayout();
//
// label1
//
this->label1->AutoSize = true;
this->label1->Font = (gcnew System::Drawing::Font(L"Bodoni MT", 14.25F, System::Drawing::FontStyle::Regular, System::Drawing::GraphicsUnit::Point,
static_cast(0)));
this->label1->Location = System::Drawing::Point(172, 38);
this->label1->Margin = System::Windows::Forms::Padding(4, 0, 4, 0);
this->label1->Name = L"label1";
this->label1->Size = System::Drawing::Size(140, 23);
this->label1->TabIndex = 10;
this->label1->Text = L"Belet bron qilish";
//
// label2
//
this->label2->AutoSize = true;
this->label2->Font = (gcnew System::Drawing::Font(L"Lucida Calligraphy", 15.75F, System::Drawing::FontStyle::Regular, System::Drawing::GraphicsUnit::Point,
static_cast(0)));
this->label2->Location = System::Drawing::Point(151, 0);
this->label2->Margin = System::Windows::Forms::Padding(4, 0, 4, 0);
this->label2->Name = L"label2";
this->label2->Size = System::Drawing::Size(198, 27);
this->label2->TabIndex = 9;
this->label2->Text = L"Airways Airline";
//
// panel1
//
this->panel1->Controls->Add(this->textBox5);
this->panel1->Controls->Add(this->label10);
this->panel1->Controls->Add(this->textBox1);
this->panel1->Controls->Add(this->label7);
this->panel1->Controls->Add(this->pictureBox1);
this->panel1->Controls->Add(this->button5);
this->panel1->Controls->Add(this->dataGridView1);
this->panel1->Controls->Add(this->textBox4);
this->panel1->Controls->Add(this->label9);
this->panel1->Controls->Add(this->textBox6);
this->panel1->Controls->Add(this->label8);
this->panel1->Controls->Add(this->textBox3);
this->panel1->Controls->Add(this->textBox2);
this->panel1->Controls->Add(this->label5);
this->panel1->Controls->Add(this->label6);
this->panel1->Controls->Add(this->comboBox1);
this->panel1->Controls->Add(this->label4);
this->panel1->Controls->Add(this->comboBox3);
this->panel1->Controls->Add(this->label3);
this->panel1->Controls->Add(this->label1);
this->panel1->Controls->Add(this->label2);
this->panel1->Location = System::Drawing::Point(2, 4);
this->panel1->Name = L"panel1";
this->panel1->Size = System::Drawing::Size(536, 529);
this->panel1->TabIndex = 11;
//
// textBox5
//
this->textBox5->Location = System::Drawing::Point(110, 294);
this->textBox5->Name = L"textBox5";
this->textBox5->Size = System::Drawing::Size(104, 20);
this->textBox5->TabIndex = 55;
//
// label10
//
this->label10->AutoSize = true;
this->label10->Font = (gcnew System::Drawing::Font(L"Century Schoolbook", 12, static_cast((System::Drawing::FontStyle::Bold | System::Drawing::FontStyle::Italic)),
System::Drawing::GraphicsUnit::Point, static_cast(204)));
this->label10->Location = System::Drawing::Point(10, 292);
this->label10->Name = L"label10";
this->label10->Size = System::Drawing::Size(82, 20);
this->label10->TabIndex = 54;
this->label10->Text = L"Passport";
this->toolTip1->SetToolTip(this->label10, L"Yo\'lovchi passport raqami");
//
// textBox1
//
this->textBox1->Location = System::Drawing::Point(110, 261);
this->textBox1->Name = L"textBox1";
this->textBox1->Size = System::Drawing::Size(104, 20);
this->textBox1->TabIndex = 53;
//
// label7
//
this->label7->AutoSize = true;
this->label7->Font = (gcnew System::Drawing::Font(L"Century Schoolbook", 12, static_cast((System::Drawing::FontStyle::Bold | System::Drawing::FontStyle::Italic)),
System::Drawing::GraphicsUnit::Point, static_cast(204)));
this->label7->Location = System::Drawing::Point(10, 259);
this->label7->Name = L"label7";
this->label7->Size = System::Drawing::Size(48, 20);
this->label7->TabIndex = 52;
this->label7->Text = L"Yosh";
this->toolTip1->SetToolTip(this->label7, L"Yo\'lovchi yoshi");
this->label7->Click += gcnew System::EventHandler(this, &Ticket::label7_Click);
//
// pictureBox1
//
this->pictureBox1->Image = (cli::safe_cast(resources->GetObject(L"pictureBox1.Image")));
this->pictureBox1->Location = System::Drawing::Point(273, 142);
this->pictureBox1->Name = L"pictureBox1";
this->pictureBox1->Size = System::Drawing::Size(252, 123);
this->pictureBox1->SizeMode = System::Windows::Forms::PictureBoxSizeMode::CenterImage;
this->pictureBox1->TabIndex = 51;
this->pictureBox1->TabStop = false;
//
// button5
//
this->button5->Font = (gcnew System::Drawing::Font(L"Times New Roman", 11.25F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point,
static_cast(204)));
this->button5->ForeColor = System::Drawing::Color::Red;
this->button5->Location = System::Drawing::Point(505, 0);
this->button5->Name = L"button5";
this->button5->Size = System::Drawing::Size(31, 28);
this->button5->TabIndex = 50;
this->button5->Text = L"X";
this->button5->UseVisualStyleBackColor = true;
this->button5->Click += gcnew System::EventHandler(this, &Ticket::button5_Click);
//
// dataGridView1
//
this->dataGridView1->BackgroundColor = System::Drawing::SystemColors::Menu;
this->dataGridView1->ColumnHeadersHeightSizeMode = System::Windows::Forms::DataGridViewColumnHeadersHeightSizeMode::AutoSize;
this->dataGridView1->GridColor = System::Drawing::Color::White;
this->dataGridView1->Location = System::Drawing::Point(3, 328);
this->dataGridView1->Name = L"dataGridView1";
this->dataGridView1->Size = System::Drawing::Size(485, 177);
this->dataGridView1->TabIndex = 47;
this->toolTip1->SetToolTip(this->dataGridView1, L"Barcha ma\'lumotlar jamlanmasi");
//
// textBox4
//
this->textBox4->Location = System::Drawing::Point(110, 190);
this->textBox4->Name = L"textBox4";
this->textBox4->Size = System::Drawing::Size(104, 20);
this->textBox4->TabIndex = 46;
//
// label9
//
this->label9->AutoSize = true;
this->label9->Font = (gcnew System::Drawing::Font(L"Century Schoolbook", 12, static_cast((System::Drawing::FontStyle::Bold | System::Drawing::FontStyle::Italic)),
System::Drawing::GraphicsUnit::Point, static_cast(204)));
this->label9->Location = System::Drawing::Point(10, 190);
this->label9->Name = L"label9";
this->label9->Size = System::Drawing::Size(73, 20);
this->label9->TabIndex = 45;
this->label9->Text = L"Miqdor:";
this->toolTip1->SetToolTip(this->label9, L"Beletlar soni");
//
// textBox6
//
this->textBox6->Location = System::Drawing::Point(355, 89);
this->textBox6->Name = L"textBox6";
this->textBox6->Size = System::Drawing::Size(104, 20);
this->textBox6->TabIndex = 42;
//
// label8
//
this->label8->AutoSize = true;
this->label8->Font = (gcnew System::Drawing::Font(L"Century Schoolbook", 12, static_cast((System::Drawing::FontStyle::Bold | System::Drawing::FontStyle::Italic)),
System::Drawing::GraphicsUnit::Point, static_cast(204)));
this->label8->Location = System::Drawing::Point(269, 89);
this->label8->Name = L"label8";
this->label8->Size = System::Drawing::Size(60, 20);
this->label8->TabIndex = 41;
this->label8->Text = L"Millat";
//
// textBox3
//
this->textBox3->Location = System::Drawing::Point(110, 122);
this->textBox3->Name = L"textBox3";
this->textBox3->Size = System::Drawing::Size(104, 20);
this->textBox3->TabIndex = 40;
//
// textBox2
//
this->textBox2->Location = System::Drawing::Point(110, 153);
this->textBox2->Name = L"textBox2";
this->textBox2->Size = System::Drawing::Size(104, 20);
this->textBox2->TabIndex = 39;
//
// label5
//
this->label5->AutoSize = true;
this->label5->Font = (gcnew System::Drawing::Font(L"Century Schoolbook", 12, static_cast((System::Drawing::FontStyle::Bold | System::Drawing::FontStyle::Italic)),
System::Drawing::GraphicsUnit::Point, static_cast(204)));
this->label5->Location = System::Drawing::Point(6, 120);
this->label5->Name = L"label5";
this->label5->Size = System::Drawing::Size(77, 20);
this->label5->TabIndex = 38;
this->label5->Text = L"Familya";
this->toolTip1->SetToolTip(this->label5, L"Yo\'lovchi Familyasi");
//
// label6
//
this->label6->AutoSize = true;
this->label6->Font = (gcnew System::Drawing::Font(L"Century Schoolbook", 12, static_cast((System::Drawing::FontStyle::Bold | System::Drawing::FontStyle::Italic)),
System::Drawing::GraphicsUnit::Point, static_cast(204)));
this->label6->Location = System::Drawing::Point(10, 153);
this->label6->Name = L"label6";
this->label6->Size = System::Drawing::Size(39, 20);
this->label6->TabIndex = 37;
this->label6->Text = L"Ism";
this->toolTip1->SetToolTip(this->label6, L"Yo\'lovchi ismi");
//
// comboBox1
//
this->comboBox1->FormattingEnabled = true;
this->comboBox1->Location = System::Drawing::Point(130, 224);
this->comboBox1->Name = L"comboBox1";
this->comboBox1->Size = System::Drawing::Size(117, 21);
this->comboBox1->TabIndex = 33;
//
// label4
//
this->label4->AutoSize = true;
this->label4->Font = (gcnew System::Drawing::Font(L"Century Schoolbook", 12, static_cast((System::Drawing::FontStyle::Bold | System::Drawing::FontStyle::Italic)),
System::Drawing::GraphicsUnit::Point, static_cast(204)));
this->label4->Location = System::Drawing::Point(11, 222);
this->label4->Margin = System::Windows::Forms::Padding(4, 0, 4, 0);
this->label4->Name = L"label4";
this->label4->Size = System::Drawing::Size(112, 20);
this->label4->TabIndex = 32;
this->label4->Text = L"Reys raqami";
//
// comboBox3
//
this->comboBox3->FormattingEnabled = true;
this->comboBox3->Location = System::Drawing::Point(110, 89);
this->comboBox3->Name = L"comboBox3";
this->comboBox3->Size = System::Drawing::Size(104, 21);
this->comboBox3->TabIndex = 31;
//
// label3
//
this->label3->AutoSize = true;
this->label3->Font = (gcnew System::Drawing::Font(L"Century Schoolbook", 9.75F, static_cast((System::Drawing::FontStyle::Bold | System::Drawing::FontStyle::Italic)),
System::Drawing::GraphicsUnit::Point, static_cast(204)));
this->label3->Location = System::Drawing::Point(11, 89);
this->label3->Margin = System::Windows::Forms::Padding(4, 0, 4, 0);
this->label3->Name = L"label3";
this->label3->Size = System::Drawing::Size(63, 16);
this->label3->TabIndex = 30;
this->label3->Text = L"Belet ID";
this->toolTip1->SetToolTip(this->label3, L"Belet ID raqami");
//
// Ticket
//
this->AutoScaleDimensions = System::Drawing::SizeF(6, 13);
this->AutoScaleMode = System::Windows::Forms::AutoScaleMode::Font;
this->ClientSize = System::Drawing::Size(539, 522);
this->Controls->Add(this->panel1);
this->FormBorderStyle = System::Windows::Forms::FormBorderStyle::None;
this->Name = L"Ticket";
this->Text = L"Ticket";
this->panel1->ResumeLayout(false);
this->panel1->PerformLayout();
(cli::safe_cast(this->pictureBox1))->EndInit();
(cli::safe_cast(this->dataGridView1))->EndInit();
this->ResumeLayout(false);

}
#pragma endregion


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


}
private: System::Void button5_Click(System::Object^ sender, System::EventArgs^ e) {
Close();
}
};
}

#pragma once

namespace Airline {


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 for ViewFlighst
///

public ref class ViewFlighst : public System::Windows::Forms::Form
{
public:
ViewFlighst(void)
{
InitializeComponent();
//
//TODO: Add the constructor code here
//
}

protected:


///
/// Clean up any resources being used.
///

~ViewFlighst()
{
if (components)
{
delete components;
}
}
private: System::Windows::Forms::Label^ label1;
protected:
private: System::Windows::Forms::Label^ label2;
private: System::Windows::Forms::ComboBox^ comboBox2;
private: System::Windows::Forms::ComboBox^ comboBox1;
private: System::Windows::Forms::DateTimePicker^ dateTimePicker1;
private: System::Windows::Forms::TextBox^ textBox2;

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


private: System::Windows::Forms::Label^ label6;
private: System::Windows::Forms::Label^ label5;
private: System::Windows::Forms::Label^ label4;
private: System::Windows::Forms::Label^ label3;
private: System::Windows::Forms::Panel^ panel1;
private: System::Windows::Forms::Button^ button3;
private: System::Windows::Forms::Button^ button2;
private: System::Windows::Forms::Button^ button1;
private: System::Windows::Forms::DataGridView^ dataGridView1;
private: System::Windows::Forms::ComboBox^ comboBox3;
private: System::Windows::Forms::Button^ button4;
private: System::Windows::Forms::Button^ button5;
private: System::Windows::Forms::ToolTip^ toolTip1;
private: System::ComponentModel::IContainer^ components;

private:


///
/// Required designer variable.
///

#pragma region Windows Form Designer generated code
///
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
///

void InitializeComponent(void)
{
this->components = (gcnew System::ComponentModel::Container());
this->label1 = (gcnew System::Windows::Forms::Label());
this->label2 = (gcnew System::Windows::Forms::Label());
this->comboBox2 = (gcnew System::Windows::Forms::ComboBox());
this->comboBox1 = (gcnew System::Windows::Forms::ComboBox());
this->dateTimePicker1 = (gcnew System::Windows::Forms::DateTimePicker());
this->textBox2 = (gcnew System::Windows::Forms::TextBox());
this->label7 = (gcnew System::Windows::Forms::Label());
this->label6 = (gcnew System::Windows::Forms::Label());
this->label5 = (gcnew System::Windows::Forms::Label());
this->label4 = (gcnew System::Windows::Forms::Label());
this->label3 = (gcnew System::Windows::Forms::Label());
this->panel1 = (gcnew System::Windows::Forms::Panel());
this->button5 = (gcnew System::Windows::Forms::Button());
this->button4 = (gcnew System::Windows::Forms::Button());
this->comboBox3 = (gcnew System::Windows::Forms::ComboBox());
this->dataGridView1 = (gcnew System::Windows::Forms::DataGridView());
this->button3 = (gcnew System::Windows::Forms::Button());
this->button2 = (gcnew System::Windows::Forms::Button());
this->button1 = (gcnew System::Windows::Forms::Button());
this->toolTip1 = (gcnew System::Windows::Forms::ToolTip(this->components));
this->panel1->SuspendLayout();
(cli::safe_cast(this->dataGridView1))->BeginInit();
this->SuspendLayout();
//
// label1
//
this->label1->AutoSize = true;
this->label1->Font = (gcnew System::Drawing::Font(L"Bodoni MT", 14.25F, System::Drawing::FontStyle::Regular, System::Drawing::GraphicsUnit::Point,
static_cast(0)));
this->label1->Location = System::Drawing::Point(200, 27);
this->label1->Margin = System::Windows::Forms::Padding(4, 0, 4, 0);
this->label1->Name = L"label1";
this->label1->Size = System::Drawing::Size(153, 23);
this->label1->TabIndex = 6;
this->label1->Text = L"Parvozlar ro\'yxati";
this->toolTip1->SetToolTip(this->label1, L"Bo\'lim nomi");
//
// label2
//
this->label2->AutoSize = true;
this->label2->Font = (gcnew System::Drawing::Font(L"Lucida Calligraphy", 15.75F, System::Drawing::FontStyle::Regular, System::Drawing::GraphicsUnit::Point,
static_cast(0)));
this->label2->Location = System::Drawing::Point(173, 9);
this->label2->Margin = System::Windows::Forms::Padding(4, 0, 4, 0);
this->label2->Name = L"label2";
this->label2->Size = System::Drawing::Size(198, 27);
this->label2->TabIndex = 5;
this->label2->Text = L"Airways Airline";
//
// comboBox2
//
this->comboBox2->FormattingEnabled = true;
this->comboBox2->Location = System::Drawing::Point(334, 122);
this->comboBox2->Name = L"comboBox2";
this->comboBox2->Size = System::Drawing::Size(117, 21);
this->comboBox2->TabIndex = 24;
//
// comboBox1
//
this->comboBox1->FormattingEnabled = true;
this->comboBox1->Location = System::Drawing::Point(334, 83);
this->comboBox1->Name = L"comboBox1";
this->comboBox1->Size = System::Drawing::Size(117, 21);
this->comboBox1->TabIndex = 23;
//
// dateTimePicker1
//
this->dateTimePicker1->Location = System::Drawing::Point(117, 122);
this->dateTimePicker1->Name = L"dateTimePicker1";
this->dateTimePicker1->Size = System::Drawing::Size(117, 20);
this->dateTimePicker1->TabIndex = 22;
//
// textBox2
//
this->textBox2->Location = System::Drawing::Point(160, 163);
this->textBox2->Name = L"textBox2";
this->textBox2->Size = System::Drawing::Size(117, 20);
this->textBox2->TabIndex = 21;
//
// label7
//
this->label7->AutoSize = true;
this->label7->Font = (gcnew System::Drawing::Font(L"Century Schoolbook", 9.75F, static_cast((System::Drawing::FontStyle::Bold | System::Drawing::FontStyle::Italic)),
System::Drawing::GraphicsUnit::Point, static_cast(204)));
this->label7->Location = System::Drawing::Point(17, 167);
this->label7->Margin = System::Windows::Forms::Padding(4, 0, 4, 0);
this->label7->Name = L"label7";
this->label7->Size = System::Drawing::Size(118, 16);
this->label7->TabIndex = 19;
this->label7->Text = L"O\'rindiqlar soni";
this->toolTip1->SetToolTip(this->label7, L"Samalyotning jami o\'rindiqlar soni");
//
// label6
//
this->label6->AutoSize = true;
this->label6->Font = (gcnew System::Drawing::Font(L"Century Schoolbook", 9.75F, static_cast((System::Drawing::FontStyle::Bold | System::Drawing::FontStyle::Italic)),
System::Drawing::GraphicsUnit::Point, static_cast(204)));
this->label6->Location = System::Drawing::Point(18, 127);
this->label6->Margin = System::Windows::Forms::Padding(4, 0, 4, 0);
this->label6->Name = L"label6";
this->label6->Size = System::Drawing::Size(44, 16);
this->label6->TabIndex = 18;
this->label6->Text = L"Sana";
this->toolTip1->SetToolTip(this->label6, L"Samalyotlar uchish sanasi");
//
// label5
//
this->label5->AutoSize = true;
this->label5->Font = (gcnew System::Drawing::Font(L"Century Schoolbook", 9.75F, static_cast((System::Drawing::FontStyle::Bold | System::Drawing::FontStyle::Italic)),
System::Drawing::GraphicsUnit::Point, static_cast(204)));
this->label5->Location = System::Drawing::Point(256, 127);
this->label5->Margin = System::Windows::Forms::Padding(4, 0, 4, 0);
this->label5->Name = L"label5";
this->label5->Size = System::Drawing::Size(50, 16);
this->label5->TabIndex = 17;
this->label5->Text = L"Kelish";
this->toolTip1->SetToolTip(this->label5, L"Qaysi davlatga kelasiz");
//
// label4
//
this->label4->AutoSize = true;
this->label4->Font = (gcnew System::Drawing::Font(L"Century Schoolbook", 9.75F, static_cast((System::Drawing::FontStyle::Bold | System::Drawing::FontStyle::Italic)),
System::Drawing::GraphicsUnit::Point, static_cast(204)));
this->label4->Location = System::Drawing::Point(251, 83);
this->label4->Margin = System::Windows::Forms::Padding(4, 0, 4, 0);
this->label4->Name = L"label4";
this->label4->Size = System::Drawing::Size(55, 16);
this->label4->TabIndex = 16;
this->label4->Text = L"Uchish";
this->toolTip1->SetToolTip(this->label4, L"Qaysi mamlakatdan Uchmoqchisiz");
//
// label3
//
this->label3->AutoSize = true;
this->label3->Font = (gcnew System::Drawing::Font(L"Century Schoolbook", 9.75F, static_cast((System::Drawing::FontStyle::Bold | System::Drawing::FontStyle::Italic)),
System::Drawing::GraphicsUnit::Point, static_cast(204)));
this->label3->Location = System::Drawing::Point(18, 87);
this->label3->Margin = System::Windows::Forms::Padding(4, 0, 4, 0);
this->label3->Name = L"label3";
this->label3->Size = System::Drawing::Size(92, 16);
this->label3->TabIndex = 15;
this->label3->Text = L"Reys raqami";
this->toolTip1->SetToolTip(this->label3, L"Uchadigan reys raqami");
//
// panel1
//
this->panel1->Controls->Add(this->label1);
this->panel1->Controls->Add(this->button5);
this->panel1->Controls->Add(this->button4);
this->panel1->Controls->Add(this->comboBox3);
this->panel1->Controls->Add(this->dataGridView1);
this->panel1->Controls->Add(this->button3);
this->panel1->Controls->Add(this->button2);
this->panel1->Controls->Add(this->button1);
this->panel1->Controls->Add(this->comboBox2);
this->panel1->Controls->Add(this->comboBox1);
this->panel1->Controls->Add(this->dateTimePicker1);
this->panel1->Controls->Add(this->textBox2);
this->panel1->Controls->Add(this->label7);
this->panel1->Controls->Add(this->label6);
this->panel1->Controls->Add(this->label5);
this->panel1->Controls->Add(this->label4);
this->panel1->Controls->Add(this->label3);
this->panel1->Location = System::Drawing::Point(-5, 9);
this->panel1->Name = L"panel1";
this->panel1->Size = System::Drawing::Size(564, 545);
this->panel1->TabIndex = 25;
//
// button5
//
this->button5->Font = (gcnew System::Drawing::Font(L"Times New Roman", 11.25F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point,
static_cast(204)));
this->button5->ForeColor = System::Drawing::Color::Red;
this->button5->Location = System::Drawing::Point(533, 0);
this->button5->Name = L"button5";
this->button5->Size = System::Drawing::Size(31, 28);
this->button5->TabIndex = 49;
this->button5->Text = L"X";
this->toolTip1->SetToolTip(this->button5, L"Chiqish");
this->button5->UseVisualStyleBackColor = true;
this->button5->Click += gcnew System::EventHandler(this, &ViewFlighst::button5_Click);
//
// button4
//
this->button4->Location = System::Drawing::Point(267, 234);
this->button4->Name = L"button4";
this->button4->Size = System::Drawing::Size(77, 30);
this->button4->TabIndex = 30;
this->button4->Text = L"Qo\'shish";
this->toolTip1->SetToolTip(this->button4, L"Kiritilgan ma\'lumotlarni listga qo\'shish");
this->button4->UseVisualStyleBackColor = true;
//
// comboBox3
//
this->comboBox3->FormattingEnabled = true;
this->comboBox3->Location = System::Drawing::Point(117, 82);
this->comboBox3->Name = L"comboBox3";
this->comboBox3->Size = System::Drawing::Size(117, 21);
this->comboBox3->TabIndex = 29;
//
// dataGridView1
//
this->dataGridView1->ColumnHeadersHeightSizeMode = System::Windows::Forms::DataGridViewColumnHeadersHeightSizeMode::AutoSize;
this->dataGridView1->GridColor = System::Drawing::Color::White;
this->dataGridView1->Location = System::Drawing::Point(17, 305);
this->dataGridView1->Name = L"dataGridView1";
this->dataGridView1->Size = System::Drawing::Size(517, 213);
this->dataGridView1->TabIndex = 28;
//
// button3
//
this->button3->Location = System::Drawing::Point(350, 234);
this->button3->Name = L"button3";
this->button3->Size = System::Drawing::Size(77, 30);
this->button3->TabIndex = 27;
this->button3->Text = L"Kirish";
this->toolTip1->SetToolTip(this->button3, L"Kirish kiyingi sahifaga o\'tish");
this->button3->UseVisualStyleBackColor = true;
this->button3->Click += gcnew System::EventHandler(this, &ViewFlighst::button3_Click);
//
// button2
//
this->button2->Location = System::Drawing::Point(183, 234);
this->button2->Name = L"button2";
this->button2->Size = System::Drawing::Size(78, 30);
this->button2->TabIndex = 26;
this->button2->Text = L"Tozalash";
this->toolTip1->SetToolTip(this->button2, L"Kiritilgan barcha ma\'lumotlarni tozzalash");
this->button2->UseVisualStyleBackColor = true;
//
// button1
//
this->button1->Location = System::Drawing::Point(109, 234);
this->button1->Name = L"button1";
this->button1->Size = System::Drawing::Size(68, 30);
this->button1->TabIndex = 25;
this->button1->Text = L"Orqaga";
this->toolTip1->SetToolTip(this->button1, L"Bitta sahifa orqaga qaytish");
this->button1->UseVisualStyleBackColor = true;
//
// ViewFlighst
//
this->AutoScaleDimensions = System::Drawing::SizeF(6, 13);
this->AutoScaleMode = System::Windows::Forms::AutoScaleMode::Font;
this->ClientSize = System::Drawing::Size(565, 552);
this->Controls->Add(this->label2);
this->Controls->Add(this->panel1);
this->FormBorderStyle = System::Windows::Forms::FormBorderStyle::None;
this->Name = L"ViewFlighst";
this->Text = L"ViewFlighst";
this->panel1->ResumeLayout(false);
this->panel1->PerformLayout();
(cli::safe_cast(this->dataGridView1))->EndInit();
this->ResumeLayout(false);
this->PerformLayout();

}
#pragma endregion


private: System::Void button5_Click(System::Object^ sender, System::EventArgs^ e) {
Close();
}
private: System::Void button3_Click(System::Object^ sender, System::EventArgs^ e) {
}
};
}

#pragma once

namespace Airline {


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 for ViewPasenger
///

public ref class ViewPasenger : public System::Windows::Forms::Form
{
public:
ViewPasenger(void)
{
InitializeComponent();
//
//TODO: Add the constructor code here
//
}

protected:


///
/// Clean up any resources being used.
///

~ViewPasenger()
{
if (components)
{
delete components;
}
}
private: System::Windows::Forms::Panel^ panel1;
protected:
private: System::Windows::Forms::Label^ label1;
private: System::Windows::Forms::Label^ label2;
private: System::Windows::Forms::TextBox^ textBox1;
private: System::Windows::Forms::Label^ label3;
private: System::Windows::Forms::MaskedTextBox^ maskedTextBox2;
private: System::Windows::Forms::TextBox^ textBox3;
private: System::Windows::Forms::TextBox^ textBox2;
private: System::Windows::Forms::Label^ label6;
private: System::Windows::Forms::Label^ label5;
private: System::Windows::Forms::Label^ label4;
private: System::Windows::Forms::TextBox^ textBox6;
private: System::Windows::Forms::TextBox^ textBox5;
private: System::Windows::Forms::Label^ label9;
private: System::Windows::Forms::Label^ label8;
private: System::Windows::Forms::MaskedTextBox^ maskedTextBox1;
private: System::Windows::Forms::Label^ label10;
private: System::Windows::Forms::Button^ button4;
private: System::Windows::Forms::DataGridView^ dataGridView1;
private: System::Windows::Forms::Button^ button3;
private: System::Windows::Forms::Button^ button2;
private: System::Windows::Forms::Button^ button1;
private: System::Windows::Forms::Button^ button5;
private: System::Windows::Forms::ToolTip^ toolTip1;
private: System::ComponentModel::IContainer^ components;

private:


///
/// Required designer variable.
///

#pragma region Windows Form Designer generated code
///
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
///

void InitializeComponent(void)
{
this->components = (gcnew System::ComponentModel::Container());
this->panel1 = (gcnew System::Windows::Forms::Panel());
this->label1 = (gcnew System::Windows::Forms::Label());
this->label2 = (gcnew System::Windows::Forms::Label());
this->textBox1 = (gcnew System::Windows::Forms::TextBox());
this->label3 = (gcnew System::Windows::Forms::Label());
this->maskedTextBox2 = (gcnew System::Windows::Forms::MaskedTextBox());
this->textBox3 = (gcnew System::Windows::Forms::TextBox());
this->textBox2 = (gcnew System::Windows::Forms::TextBox());
this->label6 = (gcnew System::Windows::Forms::Label());
this->label5 = (gcnew System::Windows::Forms::Label());
this->label4 = (gcnew System::Windows::Forms::Label());
this->textBox6 = (gcnew System::Windows::Forms::TextBox());
this->textBox5 = (gcnew System::Windows::Forms::TextBox());
this->label9 = (gcnew System::Windows::Forms::Label());
this->label8 = (gcnew System::Windows::Forms::Label());
this->maskedTextBox1 = (gcnew System::Windows::Forms::MaskedTextBox());
this->label10 = (gcnew System::Windows::Forms::Label());
this->button4 = (gcnew System::Windows::Forms::Button());
this->dataGridView1 = (gcnew System::Windows::Forms::DataGridView());
this->button3 = (gcnew System::Windows::Forms::Button());
this->button2 = (gcnew System::Windows::Forms::Button());
this->button1 = (gcnew System::Windows::Forms::Button());
this->button5 = (gcnew System::Windows::Forms::Button());
this->toolTip1 = (gcnew System::Windows::Forms::ToolTip(this->components));
this->panel1->SuspendLayout();
(cli::safe_cast(this->dataGridView1))->BeginInit();
this->SuspendLayout();
//
// panel1
//
this->panel1->Controls->Add(this->button5);
this->panel1->Controls->Add(this->button4);
this->panel1->Controls->Add(this->dataGridView1);
this->panel1->Controls->Add(this->button3);
this->panel1->Controls->Add(this->button2);
this->panel1->Controls->Add(this->button1);
this->panel1->Controls->Add(this->maskedTextBox1);
this->panel1->Controls->Add(this->label10);
this->panel1->Controls->Add(this->textBox6);
this->panel1->Controls->Add(this->textBox5);
this->panel1->Controls->Add(this->label9);
this->panel1->Controls->Add(this->label8);
this->panel1->Controls->Add(this->maskedTextBox2);
this->panel1->Controls->Add(this->textBox3);
this->panel1->Controls->Add(this->textBox2);
this->panel1->Controls->Add(this->label6);
this->panel1->Controls->Add(this->label5);
this->panel1->Controls->Add(this->label4);
this->panel1->Controls->Add(this->textBox1);
this->panel1->Controls->Add(this->label3);
this->panel1->Controls->Add(this->label1);
this->panel1->Controls->Add(this->label2);
this->panel1->Location = System::Drawing::Point(2, 4);
this->panel1->Name = L"panel1";
this->panel1->Size = System::Drawing::Size(600, 517);
this->panel1->TabIndex = 0;
this->panel1->Paint += gcnew System::Windows::Forms::PaintEventHandler(this, &ViewPasenger::panel1_Paint);
//
// label1
//
this->label1->AutoSize = true;
this->label1->Font = (gcnew System::Drawing::Font(L"Bodoni MT", 14.25F, System::Drawing::FontStyle::Regular, System::Drawing::GraphicsUnit::Point,
static_cast(0)));
this->label1->Location = System::Drawing::Point(198, 39);
this->label1->Margin = System::Windows::Forms::Padding(4, 0, 4, 0);
this->label1->Name = L"label1";
this->label1->Size = System::Drawing::Size(167, 23);
this->label1->TabIndex = 8;
this->label1->Text = L"Yo\'lovchilar ro\'yxat";
this->toolTip1->SetToolTip(this->label1, L"Bo\'lim nomi");
//
// label2
//
this->label2->AutoSize = true;
this->label2->Font = (gcnew System::Drawing::Font(L"Lucida Calligraphy", 15.75F, System::Drawing::FontStyle::Regular, System::Drawing::GraphicsUnit::Point,
static_cast(0)));
this->label2->Location = System::Drawing::Point(183, 0);
this->label2->Margin = System::Windows::Forms::Padding(4, 0, 4, 0);
this->label2->Name = L"label2";
this->label2->Size = System::Drawing::Size(198, 27);
this->label2->TabIndex = 7;
this->label2->Text = L"Airways Airline";
//
// textBox1
//
this->textBox1->Location = System::Drawing::Point(129, 110);
this->textBox1->Name = L"textBox1";
this->textBox1->Size = System::Drawing::Size(102, 20);
this->textBox1->TabIndex = 19;
//
// label3
//
this->label3->AutoSize = true;
this->label3->Font = (gcnew System::Drawing::Font(L"Century Schoolbook", 12, static_cast((System::Drawing::FontStyle::Bold | System::Drawing::FontStyle::Italic)),
System::Drawing::GraphicsUnit::Point, static_cast(204)));
this->label3->Location = System::Drawing::Point(10, 110);
this->label3->Name = L"label3";
this->label3->Size = System::Drawing::Size(29, 20);
this->label3->TabIndex = 18;
this->label3->Text = L"ID";
this->toolTip1->SetToolTip(this->label3, L"Yo\'lovchi ID raqami");
//
// maskedTextBox2
//
this->maskedTextBox2->Location = System::Drawing::Point(377, 110);
this->maskedTextBox2->Mask = L"AA0000000";
this->maskedTextBox2->Name = L"maskedTextBox2";
this->maskedTextBox2->Size = System::Drawing::Size(102, 20);
this->maskedTextBox2->TabIndex = 32;
//
// textBox3
//
this->textBox3->Location = System::Drawing::Point(129, 136);
this->textBox3->Name = L"textBox3";
this->textBox3->Size = System::Drawing::Size(102, 20);
this->textBox3->TabIndex = 31;
//
// textBox2
//
this->textBox2->Location = System::Drawing::Point(377, 138);
this->textBox2->Name = L"textBox2";
this->textBox2->Size = System::Drawing::Size(102, 20);
this->textBox2->TabIndex = 30;
//
// label6
//
this->label6->AutoSize = true;
this->label6->Font = (gcnew System::Drawing::Font(L"Century Schoolbook", 12, static_cast((System::Drawing::FontStyle::Bold | System::Drawing::FontStyle::Italic)),
System::Drawing::GraphicsUnit::Point, static_cast(204)));
this->label6->Location = System::Drawing::Point(289, 110);
this->label6->Name = L"label6";
this->label6->Size = System::Drawing::Size(82, 20);
this->label6->TabIndex = 29;
this->label6->Text = L"Passport";
this->toolTip1->SetToolTip(this->label6, L"Passport raqami");
//
// label5
//
this->label5->AutoSize = true;
this->label5->Font = (gcnew System::Drawing::Font(L"Century Schoolbook", 12, static_cast((System::Drawing::FontStyle::Bold | System::Drawing::FontStyle::Italic)),
System::Drawing::GraphicsUnit::Point, static_cast(204)));
this->label5->Location = System::Drawing::Point(10, 136);
this->label5->Name = L"label5";
this->label5->Size = System::Drawing::Size(77, 20);
this->label5->TabIndex = 28;
this->label5->Text = L"Familya";
this->toolTip1->SetToolTip(this->label5, L"Yo\'lovchi Familyasi");
//
// label4
//
this->label4->AutoSize = true;
this->label4->Font = (gcnew System::Drawing::Font(L"Century Schoolbook", 12, static_cast((System::Drawing::FontStyle::Bold | System::Drawing::FontStyle::Italic)),
System::Drawing::GraphicsUnit::Point, static_cast(204)));
this->label4->Location = System::Drawing::Point(289, 136);
this->label4->Name = L"label4";
this->label4->Size = System::Drawing::Size(39, 20);
this->label4->TabIndex = 27;
this->label4->Text = L"Ism";
this->toolTip1->SetToolTip(this->label4, L"Yo\'lovchi Ismi");
//
// textBox6
//
this->textBox6->Location = System::Drawing::Point(129, 169);
this->textBox6->Name = L"textBox6";
this->textBox6->Size = System::Drawing::Size(102, 20);
this->textBox6->TabIndex = 36;
//
// textBox5
//
this->textBox5->Location = System::Drawing::Point(377, 171);
this->textBox5->Name = L"textBox5";
this->textBox5->Size = System::Drawing::Size(102, 20);
this->textBox5->TabIndex = 35;
//
// label9
//
this->label9->AutoSize = true;
this->label9->Font = (gcnew System::Drawing::Font(L"Century Schoolbook", 12, static_cast((System::Drawing::FontStyle::Bold | System::Drawing::FontStyle::Italic)),
System::Drawing::GraphicsUnit::Point, static_cast(204)));
this->label9->Location = System::Drawing::Point(289, 169);
this->label9->Name = L"label9";
this->label9->Size = System::Drawing::Size(51, 20);
this->label9->TabIndex = 34;
this->label9->Text = L"Jinsi";
this->toolTip1->SetToolTip(this->label9, L"Yo\'lovchi jinsi Ayol/Erkak");
//
// label8
//
this->label8->AutoSize = true;
this->label8->Font = (gcnew System::Drawing::Font(L"Century Schoolbook", 12, static_cast((System::Drawing::FontStyle::Bold | System::Drawing::FontStyle::Italic)),
System::Drawing::GraphicsUnit::Point, static_cast(204)));
this->label8->Location = System::Drawing::Point(10, 167);
this->label8->Name = L"label8";
this->label8->Size = System::Drawing::Size(60, 20);
this->label8->TabIndex = 33;
this->label8->Text = L"Millat";
//
// maskedTextBox1
//
this->maskedTextBox1->Location = System::Drawing::Point(129, 195);
this->maskedTextBox1->Mask = L"+998(00) 000-000";
this->maskedTextBox1->Name = L"maskedTextBox1";
this->maskedTextBox1->Size = System::Drawing::Size(102, 20);
this->maskedTextBox1->TabIndex = 38;
//
// label10
//
this->label10->AutoSize = true;
this->label10->Font = (gcnew System::Drawing::Font(L"Century Schoolbook", 12, static_cast((System::Drawing::FontStyle::Bold | System::Drawing::FontStyle::Italic)),
System::Drawing::GraphicsUnit::Point, static_cast(204)));
this->label10->Location = System::Drawing::Point(10, 195);
this->label10->Name = L"label10";
this->label10->Size = System::Drawing::Size(69, 20);
this->label10->TabIndex = 37;
this->label10->Text = L"Telefon";
//
// button4
//
this->button4->Location = System::Drawing::Point(315, 250);
this->button4->Name = L"button4";
this->button4->Size = System::Drawing::Size(77, 30);
this->button4->TabIndex = 43;
this->button4->Text = L"Qo\'shish";
this->toolTip1->SetToolTip(this->button4, L"Kiritilgan ma\'lumotlarni listga qo\'shish");
this->button4->UseVisualStyleBackColor = true;
//
// dataGridView1
//
this->dataGridView1->ColumnHeadersHeightSizeMode = System::Windows::Forms::DataGridViewColumnHeadersHeightSizeMode::AutoSize;
this->dataGridView1->GridColor = System::Drawing::Color::White;
this->dataGridView1->Location = System::Drawing::Point(46, 301);
this->dataGridView1->Name = L"dataGridView1";
this->dataGridView1->Size = System::Drawing::Size(517, 213);
this->dataGridView1->TabIndex = 42;
//
// button3
//
this->button3->Location = System::Drawing::Point(418, 250);
this->button3->Name = L"button3";
this->button3->Size = System::Drawing::Size(77, 30);
this->button3->TabIndex = 41;
this->button3->Text = L"Kirish";
this->toolTip1->SetToolTip(this->button3, L"Kirish va kiyingi sahifaga o\'tish");
this->button3->UseVisualStyleBackColor = true;
//
// button2
//
this->button2->Location = System::Drawing::Point(202, 250);
this->button2->Name = L"button2";
this->button2->Size = System::Drawing::Size(78, 30);
this->button2->TabIndex = 40;
this->button2->Text = L"Tozalash";
this->toolTip1->SetToolTip(this->button2, L"Kiritilgan ma\'lumotlarni tozalash");
this->button2->UseVisualStyleBackColor = true;
//
// button1
//
this->button1->Location = System::Drawing::Point(109, 250);
this->button1->Name = L"button1";
this->button1->Size = System::Drawing::Size(68, 30);
this->button1->TabIndex = 39;
this->button1->Text = L"Orqaga";
this->toolTip1->SetToolTip(this->button1, L"Bir sahifa orqaga qaytish");
this->button1->UseVisualStyleBackColor = true;
//
// button5
//
this->button5->Font = (gcnew System::Drawing::Font(L"Times New Roman", 11.25F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point,
static_cast(204)));
this->button5->ForeColor = System::Drawing::Color::Red;
this->button5->Location = System::Drawing::Point(569, 0);
this->button5->Name = L"button5";
this->button5->Size = System::Drawing::Size(31, 28);
this->button5->TabIndex = 49;
this->button5->Text = L"X";
this->toolTip1->SetToolTip(this->button5, L"Chiqish");
this->button5->UseVisualStyleBackColor = true;
//
// ViewPasenger
//
this->AutoScaleDimensions = System::Drawing::SizeF(6, 13);
this->AutoScaleMode = System::Windows::Forms::AutoScaleMode::Font;
this->ClientSize = System::Drawing::Size(614, 533);
this->Controls->Add(this->panel1);
this->FormBorderStyle = System::Windows::Forms::FormBorderStyle::None;
this->Name = L"ViewPasenger";
this->StartPosition = System::Windows::Forms::FormStartPosition::CenterScreen;
this->Text = L"ViewPasenger";
this->panel1->ResumeLayout(false);
this->panel1->PerformLayout();
(cli::safe_cast(this->dataGridView1))->EndInit();
this->ResumeLayout(false);

}
#pragma endregion


private: System::Void panel1_Paint(System::Object^ sender, System::Windows::Forms::PaintEventArgs^ e) {
}
};
}
Download 1.88 Mb.

Do'stlaringiz bilan baham:




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©fayllar.org 2024
ma'muriyatiga murojaat qiling