📄 saleclient.~dpr
字号:
program SaleClient;
uses
Forms,
windows,
client in 'client.pas' {ClientForm},
about in 'about.pas' {AboutForm},
wait in 'wait.pas' {WaitReceiveForm};
{$R *.res}
var hwd:HWND;
begin
hwd:=Findwindow(nil,Pchar('网吧销售平台客户端'));
if hwd<>0 then
begin
application.Title:='菜单程序已加载!';
SetWindowPos(hwd, HWND_TOPMOST, 0, 0, 0, 0, SWP_SHOWWINDOW or SWP_NOSIZE or SWP_NOMOVE);
ShowWindow(hwd, SW_SHOW);
//postmessage(hwd,WM_SYSCOMMAND,SC_RESTORE,0);
halt;
end;
Application.Initialize;
Application.Title := '网吧销售平台客户端';
Application.CreateForm(TClientForm, ClientForm);
Application.ShowMainForm:=False;
Application.Run;
end.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -