1. Dasturning Umumiy ko’rinishi Dastur haqida ma’lumot

Mustaqil ish Mavzusi
Korzinka supermarketining onlayn buyurtma qabul qiladigan va yetkazib beradigan Desktop ilova loyihasi.
Reja:
1.Dasturning umumiy ko’rinishi
2.Dastur haqida malumot
3.Dastur kodi
4. Xulosa
1.Dasturning Umumiy ko’rinishi
2. Dastur haqida ma’lumot
Biz mijozlarga qulaylik yaratish maqsadida decktop uchun ilova ishlab chiqdik . Bu ilovani vazifasi mijozlar uyidan chiqmagan holda kompyuter orqali onlayn ravishda korzinka supermarketini maxsulotlarini buyurtma qilishlari mumkin.
Buni ishlash tizimi ilovaga kirgan zahoti ektranga maxsulotlar tasviri, puli va savatga qoshish tugmasi kelib chiqadi.
Keyin bu dastur 5 ta bolimdan iborat yani Maxsulotlar, Savatcha, dasturchilar, Yordam, va Accounmt kotegoriyalari mavjud.
Savatcha kotegoriyasida esa savtga qoshilgan maxsulotlar summasi va barcha sotib olingan maxsulotning summasi kelib chiqadi.
Account kotegorityasi esa account yaratishingiz mumkin bolad.
Hali yana hususiyati kop va uni ustida yana ishlab izlanamiz
3.Dasturning Kodi
int max1=0, max2=0, max3=0, max4=0, max5=0, max6=0, max7=0, max8=0, max9=0, max10=0, max11=0, max12=0;
private: System::Void panel3_Paint(System::Object^ sender, System::Windows::Forms::PaintEventArgs^ e) {
}
private: System::Void pictureBox2_Click(System::Object^ sender, System::EventArgs^ e) {
if (panelyonbosh->Visible == true)
panelyonbosh->Visible = false;
else
panelyonbosh->Visible = true;
}
private: System::Void button1_Click(System::Object^ sender, System::EventArgs^ e) {
if (panelyonbosh->Visible == true)
panelyonbosh->Visible = false;
else
panelyonbosh->Visible = true;
}
private: System::Void button1_Click_1(System::Object^ sender, System::EventArgs^ e) {
this->label18->Text = "Jami summasi: " + System::Convert::ToString(max1*14990+ max1 * 14990 + max2 * 8990 + max3 * 17990 + max4 * 4990 + max5 * 50000 + max6 * 8490 + max7 * 10990 + max8*42990 * 8490 + max9 * 4990+max10 * 43990 + max11 * 23990) + " So'm";
this->Savatchapanel->Visible = true;
this->Maxsulotbuy->Visible = false;
//// raqam va pullar
this->sontarvuz->Text = System::Convert::ToString(max1);
this->songilos->Text = System::Convert::ToString(max2);
this->sonshaftoli->Text = System::Convert::ToString(max3);
this->sonbaqlajon->Text = System::Convert::ToString(max4);
this->sonmol->Text = System::Convert::ToString(max5);
this->sonqaymoq->Text = System::Convert::ToString(max6);
this->sonayron->Text = System::Convert::ToString(max7);
this->sonsherin->Text = System::Convert::ToString(max8);
this->sonbodring->Text = System::Convert::ToString(max9);
this->sonextra->Text = System::Convert::ToString(max10);
this->sonsemishka->Text = System::Convert::ToString(max11);
////
////
this->pultarvuz->Text = System::Convert::ToString(max1 * 14990)+" So'm";
this->pulgilos->Text = System::Convert::ToString(max2 * 8990) + " So'm";
this->pulshaftoli->Text = System::Convert::ToString(max3 * 17990) + " So'm";
this->pulbaqlajon->Text = System::Convert::ToString(max4 * 4990) + " So'm";
this->pulmol->Text = System::Convert::ToString(max5 * 50000) + " So'm";
this->pulqaymoq->Text = System::Convert::ToString(max6 * 8490) + " So'm";
this->pulayron->Text = System::Convert::ToString(max7 * 10990) + " So'm";
this->pulsherin->Text = System::Convert::ToString(max8 * 42990) + " So'm";
this->pulbodring->Text = System::Convert::ToString(max9 * 4990) + " So'm";
this->pulextra->Text = System::Convert::ToString(max10 * 43990) + " So'm";
this->pulsemishka->Text = System::Convert::ToString(max11 * 23990) + " So'm";
///////////////////
this->Maxsulotbuy->Visible = false;
panelyonbosh->Visible = false;
this->panelsavatyon->Visible = true;
this->panelmaxyonbosh->Visible = false;
this->panelaccountyon->Visible = false;
this->panelyordamyon->Visible = false;
this->paneldasturchilar->Visible = false;
this->btnmaxsulot->BackColor = Color::FromArgb((int)11, (int)22, (int)58);
this->btnsavat->BackColor = Color::FromArgb((int)11, (int)50, (int)100);
this->btnaccount->BackColor = Color::FromArgb((int)11, (int)22, (int)58);
this->btnyordam->BackColor = Color::FromArgb((int)11, (int)22, (int)58);
this->btndasturchilar->BackColor = Color::FromArgb((int)11, (int)22, (int)58);
}
private: System::Void btnmaxsulot_Click(System::Object^ sender, System::EventArgs^ e) {
this->Maxsulotbuy->Visible = true;
this->Savatchapanel->Visible = false;
panelyonbosh->Visible = false;
this->panelsavatyon->Visible = false;
this->panelmaxyonbosh->Visible = true;
this->panelaccountyon->Visible = false;
this->panelyordamyon->Visible = false;
this->paneldasturchilar->Visible = false;
this->btnmaxsulot->BackColor = Color::FromArgb(11, 50, 100);
this->btnsavat->BackColor = Color::FromArgb(11, 22, 58);
this->btnaccount->BackColor = Color::FromArgb(11, 22, 58);
this->btnyordam->BackColor = Color::FromArgb(11, 22, 58);
this->btndasturchilar->BackColor = Color::FromArgb((int)11, (int)22, (int)58);
}
private: System::Void button2_Click(System::Object^ sender, System::EventArgs^ e) {
this->Maxsulotbuy->Visible = false;
this->Savatchapanel->Visible = false;
panelyonbosh->Visible = false;
this->panelsavatyon->Visible = false;
this->panelmaxyonbosh->Visible = false;
this->panelaccountyon->Visible = true;
this->panelyordamyon->Visible = false;
this->paneldasturchilar->Visible = false;
this->btnmaxsulot->BackColor = Color::FromArgb(11, 22, 58);
this->btnsavat->BackColor = Color::FromArgb(11, 22, 58);
this->btnaccount->BackColor = Color::FromArgb(11, 50, 100);
this->btnyordam->BackColor = Color::FromArgb(11, 22, 58);
this->btndasturchilar->BackColor = Color::FromArgb((int)11, (int)22, (int)58);
}
private: System::Void button3_Click(System::Object^ sender, System::EventArgs^ e) {
this->Maxsulotbuy->Visible = false;
this->Savatchapanel->Visible = false;
panelyonbosh->Visible = false;
this->panelsavatyon->Visible = false;
this->panelmaxyonbosh->Visible = false;
this->panelaccountyon->Visible = false;
this->panelyordamyon->Visible = true;
this->paneldasturchilar->Visible = false;
this->btnmaxsulot->BackColor = Color::FromArgb(11, 22, 58);
this->btnsavat->BackColor = Color::FromArgb(11, 22, 58);
this->btnaccount->BackColor = Color::FromArgb(11, 22, 58);
this->btnyordam->BackColor = Color::FromArgb(11, 50, 100);
this->btndasturchilar->BackColor = Color::FromArgb((int)11, (int)22, (int)58);
}
private: System::Void btndasturchilar_Click(System::Object^ sender, System::EventArgs^ e) {
this->Maxsulotbuy->Visible = false;
this->Savatchapanel->Visible = false;
panelyonbosh->Visible = false;
this->panelsavatyon->Visible = false;
this->panelmaxyonbosh->Visible = false;
this->panelaccountyon->Visible = false;
this->panelyordamyon->Visible = false;
this->paneldasturchilar->Visible = true;
this->btnmaxsulot->BackColor = Color::FromArgb((int)11, (int)22, (int)58);
this->btnsavat->BackColor = Color::FromArgb((int)11, (int)22, (int)58);
this->btnaccount->BackColor = Color::FromArgb((int)11, (int)22, (int)58);
this->btnyordam->BackColor = Color::FromArgb((int)11, (int)22, (int)58);
this->btndasturchilar->BackColor = Color::FromArgb((int)11, (int)50, (int)100);
} 4.Xulosa
Bu decktop iolova orqali odamlarni do’konda navbatga turishi,
Yo’l haqi, vaqti , inergiyasini yoqotmaslik uchun bu ilovani 5 ta bola bolib ishlab kodni Visual studio 2022 C++ dasturida yozib chiqdik. O’ylaymanki bu dastur juda koplab insonlarning og’irini yengil qiladi
Loyihalovchilar:
Administrator
Muxammadov Jayxunbek
Dizayner
Namozov Ravshanjon
Shirinov Jayxun
Kodlovchilar
Abdullayev Bahromjon
Nortojiyev Sanjarbek
G’oya mualliflari
Nortojiyev Sanjarbek
Muxammadov Jayxun
|