• Topshirdi:Sayidov.Sh Qabul Qildi:Xoshimov.B Farg‘ona 2024 1-dedlayn Mavzu: C++ builder 6 dasturida Windows Bloknot Dasturini tuzish.
  • Dasturlash ii” fanidan 2-Dedlayn Topshirdi: Sayidov. Sh Qabul Qildi: Xoshimov. B




    Download 387,58 Kb.
    Sana09.06.2024
    Hajmi387,58 Kb.
    #261872
    Bog'liq
    bloknott


    O‘ZBEKISTON RESPUBLIKASI RAQAMLI TEXNOLOGIYALAR VAZIRLIGI
    MUHAMMAD AL­–XORAZMIY NOMIDAGI
    TOSHKENT AXBOROT TEXNOLOGIYALARI UNIVERSITETI
    FARG‘ONA FILIALI
    Kompyuter injineringi” fakulteti 714-22-guruh talabasi Sayidov Shermuhammadning
    Dasturlash II” fanidan

    2-Dedlayn




    Topshirdi:Sayidov.Sh
    Qabul Qildi:Xoshimov.B
    Farg‘ona 2024


    1-dedlayn
    Mavzu: C++ builder 6 dasturida Windows Bloknot Dasturini tuzish.
    1 qism
    https://drive.google.com/file/d/18iLTOI6NbDUzFNKFXwQE5cgcetcXqEmd/view?usp=drive_link
    2 qism
    https://drive.google.com/file/d/1PpB3mmCq15akRBnCJjBT9Lj4Po77Q1b4/view?usp=drive_link

    Men windowsdagi Bloknot dasturini C++ Builder 6 dasturida tuzib chiqamiz.


    Builder dasturini ishga tushiramz.

    Menyular bolimidan MAINMENU buyrug’ini tanlab olamiz.



    Keyn unga kerakli menularni kiritib chiqamiz.



    Hamda bu dasturga shriftlarni ozgartirishni ham qo’shamiz.


    Ochish,chiqish kabi buyruqlarning kodini yozib olamiz.





    Endi dasturni ishga tushiramz.




    Biz yaratgan Dastur ishlayapti.


    Dastur kodlari:

    //---------------------------------------------------------------------------

    #include
    #pragma hdrstop

    #include "Unit1.h"


    //---------------------------------------------------------------------------
    #pragma package(smart_init)
    #pragma resource "*.dfm"
    TForm1 *Form1;
    //---------------------------------------------------------------------------
    __fastcall TForm1::TForm1(TComponent* Owner)
    : TForm(Owner)
    {
    }
    //---------------------------------------------------------------------------

    void __fastcall TForm1::yordam1Click(TObject *Sender)


    {

    }
    //---------------------------------------------------------------------------


    ochish
    If(opendialog1->execute() )
    Richedit1->lines->loadfromfile
    (opendialog1->filename);

    Yangi nom bilan saqlash


    If (savedialog1->execute () )
    { richedit1->lines->savetofile
    (savedialog1->filename) ;
    }

    Yangi


    Richedit1->lines->clear();

    Saqlash


    If ( richedit1->modfied);
    Download 387,58 Kb.




    Download 387,58 Kb.

    Bosh sahifa
    Aloqalar

        Bosh sahifa



    Dasturlash ii” fanidan 2-Dedlayn Topshirdi: Sayidov. Sh Qabul Qildi: Xoshimov. B

    Download 387,58 Kb.