Dasturlash fanidan 1-Mustaqil ishi Mavzu: Maktab o’quvchilarini baholash tizimini samarali usullarini yaratuvchi dastur yaratish



Download 2,05 Mb.
bet2/3
Sana20.04.2022
Hajmi2,05 Mb.
#565244
1   2   3
Bog'liq
Dasturlash fanidan 1 (2)

Forma2 uchun:
//---------------------------------------------------------------------------

#include


#pragma hdrstop

#include "Unit2.h"


#include "Unit1.h"
#include "Unit3.h"
//---------------------------------------------------------------------------
#pragma package(smart_init)
#pragma resource "*.dfm"
TForm2 *Form2;
//---------------------------------------------------------------------------
__fastcall TForm2::TForm2(TComponent* Owner)
: TForm(Owner)
{
}
//---------------------------------------------------------------------------
void __fastcall TForm2::Button1Click(TObject *Sender)
{
if ((Edit1->Text==Form3->Edit1->Text)&&(Edit2->Text==Form3->Edit2->Text))
{
Form1->Show();

}
else


{
ShowMessage("Parol yoki Login xato!") ;
}
}
//---------------------------------------------------------------------------
void __fastcall TForm2::Edit1MouseDown(TObject *Sender,
TMouseButton Button, TShiftState Shift, int X, int Y)
{
Edit1->Text="" ;
}
//---------------------------------------------------------------------------

void __fastcall TForm2::Edit2MouseDown(TObject *Sender,


TMouseButton Button, TShiftState Shift, int X, int Y)
{
Edit2->Text="" ;
}
//---------------------------------------------------------------------------

Forma3 uchun:
//---------------------------------------------------------------------------

#include


#pragma hdrstop

#include "Unit3.h"


#include "Unit2.h"
//---------------------------------------------------------------------------
#pragma package(smart_init)
#pragma resource "*.dfm"
TForm3 *Form3;
//---------------------------------------------------------------------------
__fastcall TForm3::TForm3(TComponent* Owner)
: TForm(Owner)
{
}
//---------------------------------------------------------------------------

void __fastcall TForm3::Button1Click(TObject *Sender)


{
String l=Label1->Caption;
String p=Label2->Caption;
Edit1->Text=Label1->Caption;
Edit2->Text=Label2->Caption;
Edit1->Text=Left;
Edit2->Text=Left;
Form3->Close();
}
//---------------------------------------------------------------------------


Download 2,05 Mb.

Do'stlaringiz bilan baham:
1   2   3




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