Qarshi davlat universiteti matematikava kompyuter ilmlari fakulteti


Download 0.96 Mb.
bet2/2
Sana21.06.2023
Hajmi0.96 Mb.
#1639580
1   2
Bog'liq
Algarith kurs ishi

Foydanilgan adabiyotlar
1. Ozon (https://www.ozobot.com/)
2. ClubReady (https://www.clubready.com/)
3. Virtuagym (https://business.virtuagym.com/)
4. Wodify (https://www.wodify.com/)
5. Mindbody (https://www.mindbodyonline.com/)
6. ASF Payment Solutions (https://www.asfpaymentsolutions.com/)
7. Gym Master (https://www.gymmastersoftware.com/)
8. Zen Planner (https://zenplanner.com/)
9. EZFacility (https://www.ezfacility.com/)
10. UpLaunch (https://www.uplaunch.com/)
Bu tizimlarning har biri o'z foydalanuvchilari uchun ma'lumot tahrir qilish, hisob-korxonadagi to'lov takliflarini tuzatish va ayni vaqtda kompyuterlar, smartfonlar yoki planshetlar orqali foydalanishni taqdim etadi.

9. Dastur Kodi:


using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace kurs_ishi
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void button1_Click(object sender, EventArgs e)
{
Form2 a = new Form2();
this.Hide();
a.Show();
}


1-rasm. Form 1.
private void button2_Click(object sender, EventArgs e)
{
Form3 b = new Form3();
this.Hide();
b.Show();
}
}
}
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace kurs_ishi
{
public partial class Form2 : Form
{
public Form2()
{
InitializeComponent();
}
int l = 2;
private void Form2_Load(object sender, EventArgs e)
{
}
private void button1_Click(object sender, EventArgs e)
{
l++;
if (l == 3)
{
pictureBox1.Image = new Bitmap("C:\\Users\\User\\Downloads\\Telegram Desktop\\3.jfif");
label2.Text = "2. Muskullarni chuzish mashg'ulotini bajaring";
}
else if (l == 4)
{
pictureBox1.Image = new Bitmap("C:\\Users\\User\\Downloads\\Telegram Desktop\\4.jfif");
label2.Text = "3. Muskullarni chuzish mashg'ulotini bajaring";
}
else
{
pictureBox1.Image = new Bitmap("C:\\Users\\User\\Downloads\\Telegram Desktop\\5.jfif");
label2.Text = "4. Ertaga o'z vaqtida keling biz sizni kutamiz";
}
}
}
}

2-rasm. Form-2.
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace kurs_ishi
{
public partial class Form3 : Form
{
public Form3()
{
InitializeComponent();
}
private void button1_Click(object sender, EventArgs e)
{
string s = "";
double buy = int.Parse(textBox1.Text);
double vazn = int.Parse(textBox2.Text);
double yelka = int.Parse(textBox3.Text);
double oyoq_uzunligi = int.Parse(textBox4.Text);
double kaft = int.Parse(textBox5.Text);
if (kaft > 25) s += "Valeboolga shugullansangiz buladi";
else if (vazn + 100 < buy) s += "\nFutbolchi bulsangiz buladi";
else if (oyoq_uzunligi > 30) s += "\nSuzishga borsangiz buladi";
else if (kaft > 25) s += "\nArmstringga qatnashsangiz buladi";
MessageBox.Show(s);
}
}
}

3-rasm. Form-3
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace kurs_ishi
{
static class Program
{
///
/// Главная точка входа для приложения.
///

[STAThread]
static void Main()
{ Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new Form1());
}
}
}

4-rasm. Dasturning so`ngi ko`rinishi.
Download 0.96 Mb.

Do'stlaringiz bilan baham:
1   2




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