(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");
}
};
}
Do'stlaringiz bilan baham: