Isomiddinov Azimjon Konvertor dasturini tuzish Men Konvertor
Download 265.33 Kb.
|
konvektor (1)
Isomiddinov Azimjon Konvertor dasturini tuzish Men Konvertor dasturini tayyorlash uchun C++ Builder dasturlash muhitining Builder 6 versiyasidan foydalandim. C++ Builderda yangi loyiha yaratamiz: //--------------------------------------------------------------------------- #include #include "Unit1.h" #include "PassWord.h" #include "Unit2.h" #include "Project1PCH1.h" //--------------------------------------------------------------------------- #pragma package(smart_init) #pragma resource "*.dfm" TForm1 *Form1; int t = 0; //--------------------------------------------------------------------------- __fastcall TForm1::TForm1(TComponent* Owner) : TForm(Owner) { } //---------------------------------------------------------------------------//---------------------------------------------------------------------------if (RadioGroup3->ItemIndex== 1) //--------------------------------------------------------------------------- void __fastcall TForm1::RadioButton1Click(TObject *Sender) { if (RadioButton1->Checked == true) { Label1->Caption = Edit1->Text.ToDouble() * 11450; Label2->Caption = "som"; } } //--------------------------------------------------------------------------- void __fastcall TForm1::RadioButton2Click(TObject *Sender) { if (RadioButton2->Checked == true) { Label1->Caption = Edit1->Text.ToInt() / 11450; Label2->Caption = "dollar"; } } //--------------------------------------------------------------------------- Download 265.33 Kb. Do'stlaringiz bilan baham: |
Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©fayllar.org 2024
ma'muriyatiga murojaat qiling
ma'muriyatiga murojaat qiling