Guruh: 212-17. Ergashev Baxtiyor. 1-Amaliy ish. Mavzu. To’g’ri zanjir usuli. Ishdan maqsad



Download 83,76 Kb.
bet3/4
Sana29.12.2021
Hajmi83,76 Kb.
#86516
1   2   3   4
Bog'liq
Amaliy1.SI

MyForm.h

#pragma once

namespace Amaliy {

using namespace System;

using namespace System::ComponentModel;

using namespace System::Collections;

using namespace System::Windows::Forms;

using namespace System::Data;

using namespace System::Drawing;

///

/// Сводка для MyForm

///

public ref class MyForm : public System::Windows::Forms::Form

{

public:



MyForm(void)

{

InitializeComponent();



//

//TODO: добавьте код конструктора

//}

protected:



///

/// Освободить все используемые ресурсы.

///

~MyForm()

{

if (components)



{

delete components;

}

}

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



protected:

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

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

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

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

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

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

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

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

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

private:

///

/// Обязательная переменная конструктора.

///

System::ComponentModel::Container ^components;

#pragma region Windows Form Designer generated code

///

/// Требуемый метод для поддержки конструктора — не изменяйте

/// содержимое этого метода с помощью редактора кода.

///

void InitializeComponent(void)

{

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



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

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

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

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

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

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

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

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

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

this->menuStrip1->SuspendLayout();

this->SuspendLayout();

//


// labelXarajat

//


this->labelXarajat->AutoSize = true;

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

static_cast(204)));

this->labelXarajat->Location = System::Drawing::Point(69, 142);

this->labelXarajat->Margin = System::Windows::Forms::Padding(6, 0, 6, 0);

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

this->labelXarajat->Size = System::Drawing::Size(60, 20);

this->labelXarajat->TabIndex = 0;

this->labelXarajat->Text = L"Xarajat";

this->labelXarajat->Visible = false;

//

// labelDaromad



//

this->labelDaromad->AutoSize = true;

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

static_cast(204)));

this->labelDaromad->Location = System::Drawing::Point(54, 198);

this->labelDaromad->Margin = System::Windows::Forms::Padding(6, 0, 6, 0);

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

this->labelDaromad->Size = System::Drawing::Size(75, 20);

this->labelDaromad->TabIndex = 1;

this->labelDaromad->Text = L"Daromad";

this->labelDaromad->Visible = false;

//


// textBoxXarajat

//


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

static_cast(204)));

this->textBoxXarajat->Location = System::Drawing::Point(129, 139);

this->textBoxXarajat->Margin = System::Windows::Forms::Padding(6);

this->textBoxXarajat->Multiline = true;

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

this->textBoxXarajat->Size = System::Drawing::Size(208, 33);

this->textBoxXarajat->TabIndex = 2;

this->textBoxXarajat->Visible = false;

//


// textBoxDaromad

//


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

static_cast(204)));

this->textBoxDaromad->Location = System::Drawing::Point(129, 198);

this->textBoxDaromad->Margin = System::Windows::Forms::Padding(6);

this->textBoxDaromad->Multiline = true;

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

this->textBoxDaromad->Size = System::Drawing::Size(208, 35);

this->textBoxDaromad->TabIndex = 3;

this->textBoxDaromad->Visible = false;

//


// menuStrip1

//


this->menuStrip1->BackColor = System::Drawing::Color::FromArgb(static_cast(static_cast(255)), static_cast(static_cast(224)),

static_cast(static_cast(192)));

this->menuStrip1->Font = (gcnew System::Drawing::Font(L"Segoe UI", 14.25F, System::Drawing::FontStyle::Regular, System::Drawing::GraphicsUnit::Point,

static_cast(204)));

this->menuStrip1->Items->AddRange(gcnew cli::array< System::Windows::Forms::ToolStripItem^ >(3) {

this->korxonaHaqidaToolStripMenuItem,

this->korxonaStatistikasiToolStripMenuItem, this->dasturHaqidaToolStripMenuItem

});


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

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

this->menuStrip1->Padding = System::Windows::Forms::Padding(12, 4, 0, 4);

this->menuStrip1->Size = System::Drawing::Size(672, 37);

this->menuStrip1->TabIndex = 4;

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

//

// korxonaHaqidaToolStripMenuItem



//

this->korxonaHaqidaToolStripMenuItem->BackColor = System::Drawing::Color::FromArgb(static_cast(static_cast(255)),

static_cast(static_cast(224)), static_cast(static_cast(192)));

this->korxonaHaqidaToolStripMenuItem->Font = (gcnew System::Drawing::Font(L"Segoe UI", 14.25F, System::Drawing::FontStyle::Bold,

System::Drawing::GraphicsUnit::Point, static_cast(204)));

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

this->korxonaHaqidaToolStripMenuItem->Size = System::Drawing::Size(167, 29);

this->korxonaHaqidaToolStripMenuItem->Text = L"Korxona haqida";

this->korxonaHaqidaToolStripMenuItem->Click += gcnew System::EventHandler(this, &MyForm::korxonaHaqidaToolStripMenuItem_Click);

//


// korxonaStatistikasiToolStripMenuItem

//


this->korxonaStatistikasiToolStripMenuItem->BackColor = System::Drawing::Color::FromArgb(static_cast(static_cast(255)),

static_cast(static_cast(224)), static_cast(static_cast(192)));

this->korxonaStatistikasiToolStripMenuItem->Font = (gcnew System::Drawing::Font(L"Segoe UI", 14.25F, System::Drawing::FontStyle::Bold,

System::Drawing::GraphicsUnit::Point, static_cast(204)));

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

this->korxonaStatistikasiToolStripMenuItem->Size = System::Drawing::Size(198, 29);

this->korxonaStatistikasiToolStripMenuItem->Text = L"Korxona statistikasi";

this->korxonaStatistikasiToolStripMenuItem->Click += gcnew System::EventHandler(this, &MyForm::korxonaStatistikasiToolStripMenuItem_Click);

//

// buttonNatija



//

this->buttonNatija->BackColor = System::Drawing::Color::FromArgb(static_cast(static_cast(255)), static_cast(static_cast(224)),

static_cast(static_cast(192)));

this->buttonNatija->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 12, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point,

static_cast(204)));

this->buttonNatija->Location = System::Drawing::Point(129, 303);

this->buttonNatija->Margin = System::Windows::Forms::Padding(6);

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

this->buttonNatija->Size = System::Drawing::Size(208, 32);

this->buttonNatija->TabIndex = 5;

this->buttonNatija->Text = L"Statistik Natija";

this->buttonNatija->UseVisualStyleBackColor = false;

this->buttonNatija->Visible = false;

this->buttonNatija->Click += gcnew System::EventHandler(this, &MyForm::buttonNatija_Click);

//

// textBoxNatija



//

this->textBoxNatija->BackColor = System::Drawing::Color::FromArgb(static_cast(static_cast(255)), static_cast(static_cast(255)),

static_cast(static_cast(192)));

this->textBoxNatija->Cursor = System::Windows::Forms::Cursors::Hand;

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

this->textBoxNatija->Margin = System::Windows::Forms::Padding(6);

this->textBoxNatija->Multiline = true;

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

this->textBoxNatija->ReadOnly = true;

this->textBoxNatija->Size = System::Drawing::Size(673, 534);

this->textBoxNatija->TabIndex = 6;

this->textBoxNatija->TabStop = false;

this->textBoxNatija->Visible = false;

//


// dasturHaqidaToolStripMenuItem

//


this->dasturHaqidaToolStripMenuItem->Font = (gcnew System::Drawing::Font(L"Segoe UI", 14.25F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point,

static_cast(204)));

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

this->dasturHaqidaToolStripMenuItem->Size = System::Drawing::Size(148, 29);

this->dasturHaqidaToolStripMenuItem->Text = L"Dastur haqida";

this->dasturHaqidaToolStripMenuItem->Click += gcnew System::EventHandler(this, &MyForm::dasturHaqidaToolStripMenuItem_Click);

//

// MyForm



//

this->AutoScaleDimensions = System::Drawing::SizeF(12, 24);

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

this->BackColor = System::Drawing::Color::FromArgb(static_cast(static_cast(255)), static_cast(static_cast(192)),

static_cast(static_cast(128)));

this->ClientSize = System::Drawing::Size(672, 495);

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

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

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

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

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

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

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

this->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 14.25F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point,

static_cast(204)));

this->MainMenuStrip = this->menuStrip1;

this->Margin = System::Windows::Forms::Padding(6);

this->Name = L"MyForm";

this->Text = L"MyForm";

this->Load += gcnew System::EventHandler(this, &MyForm::MyForm_Load);

this->menuStrip1->ResumeLayout(false);

this->menuStrip1->PerformLayout();

this->ResumeLayout(false);

this->PerformLayout();

}

#pragma endregion



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

}

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



MessageBox::Show("Korxona haqidagi ma'lumotlarni www.korxona.uz dan olishingiz mumkin");

}

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



this->labelXarajat->Visible = true;

this->labelDaromad->Visible = true;

this->textBoxDaromad->Visible = true;

this->textBoxXarajat->Visible = true;

this->buttonNatija->Visible = true;

}

private: System::Void buttonNatija_Click(System::Object^ sender, System::EventArgs^ e);



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

MessageBox::Show("Guruh : KIF-214-17\r\nIsm: Mirmuhammad\r\nFamiliya: Mirsodiqov");

}

};

}






    1. Download 83,76 Kb.

      Do'stlaringiz bilan baham:
1   2   3   4




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

kiriting | ro'yxatdan o'tish
    Bosh sahifa
юртда тантана
Боғда битган
Бугун юртда
Эшитганлар жилманглар
Эшитмадим деманглар
битган бодомлар
Yangiariq tumani
qitish marakazi
Raqamli texnologiyalar
ilishida muhokamadan
tasdiqqa tavsiya
tavsiya etilgan
iqtisodiyot kafedrasi
steiermarkischen landesregierung
asarlaringizni yuboring
o'zingizning asarlaringizni
Iltimos faqat
faqat o'zingizning
steierm rkischen
landesregierung fachabteilung
rkischen landesregierung
hamshira loyihasi
loyihasi mavsum
faolyatining oqibatlari
asosiy adabiyotlar
fakulteti ahborot
ahborot havfsizligi
havfsizligi kafedrasi
fanidan bo’yicha
fakulteti iqtisodiyot
boshqaruv fakulteti
chiqarishda boshqaruv
ishlab chiqarishda
iqtisodiyot fakultet
multiservis tarmoqlari
fanidan asosiy
Uzbek fanidan
mavzulari potok
asosidagi multiservis
'aliyyil a'ziym
billahil 'aliyyil
illaa billahil
quvvata illaa
falah' deganida
Kompyuter savodxonligi
bo’yicha mustaqil
'alal falah'
Hayya 'alal
'alas soloh
Hayya 'alas
mavsum boyicha


yuklab olish