?? mainunit.pas
字號:
unit MainUnit;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, U_Crypt, StdCtrls;
type
TForm1 = class(TForm)
BtnEnCrypt: TButton;
Edit1: TEdit;
Memo1: TMemo;
BtnDeCrypt: TButton;
Edit2: TEdit;
Button1: TButton;
procedure Button1Click(Sender: TObject);
procedure BtnDeCryptClick(Sender: TObject);
procedure BtnEnCryptClick(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;
var
Form1: TForm1;
implementation
uses SearchFilePath;
{$R *.dfm}
procedure TForm1.BtnEnCryptClick(Sender: TObject);
begin
Memo1.Clear;
Memo1.Lines.Add(EnCrypt(Edit1.Text,1));
end;
procedure TForm1.BtnDeCryptClick(Sender: TObject);
begin
Memo1.Clear;
Memo1.Lines.Add(DeCrypt(Edit2.Text,1));
end;
procedure TForm1.Button1Click(Sender: TObject);
begin
with TForm2.Create(self) do
try
if showmodal = mrok then ;
finally
end;
end;
end.
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -