📄 openmodeunit.pas
字号:
unit OpenModeUnit;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls,Unit1;
type
TOpenModeForm = class(TForm)
Label1: TLabel;
Label2: TLabel;
ComboBox1: TComboBox;
Edit1: TEdit;
Button1: TButton;
Button2: TButton;
procedure Button2Click(Sender: TObject);
procedure Button1Click(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;
var
OpenModeForm: TOpenModeForm;
implementation
uses FileControl;
{$R *.dfm}
procedure TOpenModeForm.Button2Click(Sender: TObject);
begin
close;
end;
procedure TOpenModeForm.Button1Click(Sender: TObject);
begin
if Edit1.Text<>'' then
MainForm.ZhuDongCmdSend('014',inttostr(ComboBox1.Items.IndexOf(ComboBox1.Text))+#13+Downloadpath+FileForm.ListView1.Selected.Caption+#13+edit1.Text,false)
else
MainForm.ZhuDongCmdSend('014',inttostr(ComboBox1.Items.IndexOf(ComboBox1.Text))+#13+Downloadpath+FileForm.ListView1.Selected.Caption,false)
end;
end.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -