"Unit1.cpp" Dosyası

#include <vcl\vcl.h>
#pragma hdrstop
#include "Unit1.h"
#pragma resource "*.dfm"
TForm1 *Form1;

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


//-------------------------------------------------------------------------
__fastcall TForm1::TForm1(TComponent* Owner):TForm(Owner)
{
}
//-------------------------------------------------------------------------


//-------------------------------------------------------------------------
void __fastcall TForm1::Button5Click(TObject *Sender)
{
ShowWindow(Button1->Handle, SW_SHOWMINIMIZED);
ShowWindow(Button2->Handle, SW_SHOWMINIMIZED);
ShowWindow(Button3->Handle, SW_SHOWMINIMIZED);
ShowWindow(Button4->Handle, SW_SHOWMINIMIZED);
ShowWindow(RadioButton1->Handle, SW_SHOWMINIMIZED);
ShowWindow(RadioButton2->Handle, SW_SHOWMINIMIZED);
ShowWindow(CheckBox1->Handle, SW_SHOWMINIMIZED);
ShowWindow(CheckBox2->Handle, SW_SHOWMINIMIZED);
ShowWindow(ComboBox1->Handle, SW_SHOWMINIMIZED);
}
//-------------------------------------------------------------------------


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

////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////

"Unit1.h" Dosyası

//---------------------------------------------------------------------------
#ifndef Unit1H
#define Unit1H
//---------------------------------------------------------------------------
#include <vcl\Classes.hpp>
#include <vcl\Controls.hpp>
#include <vcl\StdCtrls.hpp>
#include <vcl\Forms.hpp>
//---------------------------------------------------------------------------
class TForm1 : public TForm
{
__published: // IDE-managed Components
TButton *Button1;
TButton *Button2;
TButton *Button3;
TButton *Button4;
TRadioButton *RadioButton1;
TRadioButton *RadioButton2;
TCheckBox *CheckBox1;
TCheckBox *CheckBox2;
TButton *Button5;
TComboBox *ComboBox1;
void __fastcall Button5Click(TObject *Sender);

private: // User declarations
public: // User declarations
__fastcall TForm1(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern TForm1 *Form1;
//---------------------------------------------------------------------------
#endif

////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////

PROGRAMIN EKRAN GÖRÜNTÜLERİ

ÖNCE

SONRA

Minimize olan elemanları çift tıklayarak eski yerlerine geri döndürebilirsiniz...

<<< Geri Dön