⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 unit3.pas

📁 New Trojan source delphi source code
💻 PAS
字号:
unit unit3;

interface

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

type
  TForm3 = class(TForm)
    GroupBox1: TGroupBox;
    RadioButton1: TRadioButton;
    RadioButton2: TRadioButton;
    Button1: TButton;
    Button2: TButton;
    Edit1: TEdit;
    Label1: TLabel;
    Label2: TLabel;
    Edit2: TEdit;
    Edit3: TEdit;
    Label3: TLabel;
    procedure Button2Click(Sender: TObject);
    procedure Button1Click(Sender: TObject);
  private
    { Private declarations }
  public
    { Public declarations }
  end;

var
  Form3: TForm3;

implementation

uses ClientUnit;

{$R *.DFM}

procedure TForm3.Button2Click(Sender: TObject);
begin
  form3.Close;
end;

procedure TForm3.Button1Click(Sender: TObject);
var flaga,nazwa,koment,haslo:string;


begin
if edit2.Text='' then
begin
 application.MessageBox('Podaj nazwe udzialu','Informacja',idok);
 exit;
end
else
if edit3.Text='' then
begin
 application.MessageBox('Podaj sciezke do zasobow','Informacja',idok);
 exit;
end
else begin
  if radiobutton1.Checked then flaga:='512'
  else
  if radiobutton2.checked then flaga:='256';
  nazwa:=edit2.text;
  koment:=edit1.text;
  haslo:='';
  form1.ClientSocket1.Socket.SendText('403'+ansiuppercase(edit3.text)+';'+
                                       nazwa+';'+koment+';'+flaga+';'+haslo+';');
  form3.Close;
end;
end;

end.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -