PRAKTIKUM BSI DELPHI 7 V

//BINA SARANA INFORMATIKA
//Coding By Lhourens.L
//Testing Praktikum Windows 7 (Target)
-----------------------------------------------------------------------------------------------------


Contoh Mematikan Sementara CPU....(Hibernate)



unit Monitor_Hibernate_win7;

interface

uses
  Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
  Dialogs, StdCtrls, jpeg, ExtCtrls;

type
  TForm1 = class(TForm)
    Image1: TImage;
    Button1: TButton;
    Label1: TLabel;
    procedure Button1Click(Sender: TObject);
  private
    { Private declarations }
  public
    { Public declarations }
  end;

var
  Form1: TForm1;

implementation

{$R *.dfm}

procedure TForm1.Button1Click(Sender: TObject);
begin
WinExec('cmd /C shutdown -h',SW_SHOW);
end;

end.


Screen Shut Program...........




Posting Komentar

Please Select Embedded Mode To Show The Comment System.*

Lebih baru Lebih lama