在主窗体显示以前先显示的窗体,显示几秒种后消失,然后显示主窗体.该如何做?
解决方案 »
- 【升级没事做,只好来找碴】CSDN升级迎虎年,祝坛友们虎年大吉,虎虎有生机!
- 终于升星星了,散分!!!!!!!!!
- DBGrid中显示INI文件
- 调用动态链接库时参数传递失败
- 怎样判断一个日期型字段是否为空?
- 求职 求职 求职 求职 求职 求职
- 为什么用 filelistbox 写完的程序换到其他的机器上就不好用了?
- 谁有delphi或bcb的简单的画图程序的源码
- 我想在edit中输入若干个字符串,以';'作为间隔,通过以下程序分别读取每个串,运行错误:输入每个串位数相同时结果正确,输入各个串长度不同时
- 请问哪位高手编写程序从来不用鼠标器?
- ClientDataSet中加合计字段ACTIVE设置为TRUE,DBGRID显示不出来?????
- 救助:来着有分,不够可以另开贴给分!!!!
MoveForm:=TMoveForm.Create(Application);{Create创建闪现窗口对象}
MoveForm.Show;
MoveForm.Update;
......
MoveForm.Hide;
MoveForm.Free;{Free从内存中释放对象}
Application.Run;
ShareMem,
Forms,
Windows,
classes,
Main in '..\Lib\Main.pas' {MainForm},
uDMBase in '..\Lib\uDMBase.pas' {dmBase: TDataModule},
uLogin in '..\Lib\uLogin.pas' {fmPasswordDlg},
ufmItFlash in 'Source\ufmItFlash.pas' {fmItFlash},
uFeeMan in 'Source\uFeeMan.pas',
RightDef in '..\Lib\RightDef.pas',
uDataView in '..\Lib\uDataView.pas' {DataView},
uDmUserConfig in 'Source\uDmUserConfig.pas' {dmUserConfig: TDataModule},
ufmViewrecordBase in '..\Lib\ufmViewrecordBase.pas' {fmViewrecordBase},
uMeterDataAndFeeStyleDataView in 'Source\uMeterDataAndFeeStyleDataView.pas',
uDMFeeMan in 'Source\uDMFeeMan.pas' {dmFeeMan: TDataModule},
ufrmFeeStyleData in 'Source\ufrmFeeStyleData.pas' {frmFeeStyle: TFrame},
ufmQryFee in 'Source\ufmQryFee.pas' {fmQryFee},
AC_ExportExcel in 'Source\AC_ExportExcel.pas' {DlgACExportExcel};{$R *.RES}var
FOperatorID: Integer;
hMutex: THandle;
begin
Application.Title := '¼ÆÁ¿ÊշѹÜÀíϵͳ';
HMutex := CreateMutex(nil, False, '96777E99-3E05-44C1-8C47-666B93416889');
if WaitForSingleObject (hMutex, 0) <> WAIT_TIMEOUT then begin
FlashForm := TfmItFlash.Create(nil);
FlashForm.Show;
Application.ProcessMessages;
Application.Initialize;
//FOperatorID := 1;
with TdmBase.Create(nil) do begin
try
FOperatorID := UserID;
finally
Free;
end;
end;
if FOperatorID > 0 then begin
FlashForm.SetFocus;
Application.ProcessMessages;
Application.Title := '';
Application.CreateForm(TMainForm, MainForm);
MainForm.OperatorID := FOperatorID;
//Application.ProcessMessages;
//if Assigned(FlashForm) then Sleep(618);
FlashForm.Free;
Application.Run;
end; if Assigned(FlashForm) then begin
FlashForm.Free;
FlashForm := nil;
end;
end
else begin
end;
end.