Muallif: Mengliyev Sh
Download 24.28 Kb.
|
Delphi da kompyuterni o
Delphi da kompyuterni o'chirish usuli Muallif: Mengliyev Sh. Qo`shilgan sana: 2014-10-28 Delphi dasturlash tilida kompyuterni o'chirish usuli Quyida Formaning dizayni delphi da yaratib olinadi Dastur kodi unit Unit1; interface uses
type
BitBtn1: TBitBtn; BitBtn2: TBitBtn; BitBtn3: TBitBtn; Image1: TImage; Label1: TLabel; Label2: TLabel; procedure BitBtn1Click(Sender: TObject); procedure BitBtn2Click(Sender: TObject); procedure BitBtn3Click(Sender: TObject); private { Private declarations } public { Public declarations } end; var
implementation
{$R *.dfm} procedure TForm1.BitBtn1Click(Sender: TObject);
procedure TForm1.BitBtn2Click(Sender: TObject); begin Shutdown(EWX_REBOOT); end; procedure TForm1.BitBtn3Click(Sender: TObject); begin Shutdown(EWX_LOGOFF); end; end. Download 24.28 Kb. Do'stlaringiz bilan baham: |
ma'muriyatiga murojaat qiling