program rsgl;
uses
sharemem,
windows,
Forms,
main in 'main.pas' {form_Main},
set_User in 'set_User.pas' {Form_Set_User},
input in 'input.pas' {Form_input},
about in 'about.pas' {Form_About},
_dll_api_global2 in '../../../dll And 共享文件/_dll_api_global2.pas',
help in 'help.pas' {Form_Help},
account in 'account.pas' {Form_account},
account_modify in 'account_modify.pas' {Form_accountModify},
account_operate in 'account_operate.pas' {Form_accountOperate},
show_email in 'show_email.pas' {Form_ShowEmail},
Accounts_Set in 'Accounts_Set.pas' {Form_Accounts},
earning in 'earning.pas' {Form_earning},
Cl_PayOut in 'Cl_PayOut.pas' {Form_ClPayOut},
Cl_Earning in 'Cl_Earning.pas' {Form_ClEarning},
borrow in 'borrow.pas' {Form_Borrow},
CL_Borrow in 'CL_Borrow.pas' {Form_ClBorrow},
Type_Set in 'Type_Set.pas' {Form_Type},
Check in 'Check.pas' {Form_Check},
log in 'log.pas' {Form_log},
tl in 'tl.pas' {Form_tl},
DBGridPrint in '../../../dll And 共享文件/DBGridPrint.pas',
keep_take in 'keep_take.pas' {Form_keeptake},
bdwl in 'bdwl.pas' {Form_bdwl};
var
Rvhandle:Hwnd;
{$R *.res}
begin
RvHandle := FindWindow(nil,'人事管理');
if RvHandle > 0 then
begin
// application.MessageBox('本程序已经运行!','提示信息',MB_OK or MB_ICONINFORMATION);
if IsIconic(Rvhandle) = TRUE then
begin
showwindow(Rvhandle,1);
end
else
begin
SetForegroundWindow(RvHandle);
end;
{endif}
Exit;
end;
Application.Initialize;
Application.Title := '人事管理';
Application.CreateForm(Tform_Main, form_Main);
Application.CreateForm(TForm_Help, Form_Help);
Application.CreateForm(TForm_Type, Form_Type);
Application.CreateForm(TForm_Check, Form_Check);
Application.CreateForm(TForm_log, Form_log);
Application.CreateForm(TForm_tl, Form_tl);
Application.CreateForm(TForm_keeptake, Form_keeptake);
Application.CreateForm(TForm_bdwl, Form_bdwl);
Application.Run;