You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
53 lines
1021 B
Plaintext
53 lines
1021 B
Plaintext
unit u_info_now;
|
|
|
|
interface
|
|
|
|
uses
|
|
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
|
|
Dialogs, BusinessSkinForm, bsSkinCtrls, ExtCtrls, ComCtrls, fcButton,
|
|
fcImgBtn, fcShapeBtn;
|
|
|
|
type
|
|
Tfrm_info_now = class(TForm)
|
|
Timer1: TTimer;
|
|
fcShapeBtn1: TfcShapeBtn;
|
|
procedure Timer1Timer(Sender: TObject);
|
|
procedure fcShapeBtn1Click(Sender: TObject);
|
|
private
|
|
{ Private declarations }
|
|
public
|
|
{ Public declarations }
|
|
end;
|
|
|
|
var
|
|
frm_info_now: Tfrm_info_now;
|
|
|
|
implementation
|
|
|
|
uses u_main, u_info_bulletin, u_info_tell;
|
|
|
|
{$R *.dfm}
|
|
|
|
procedure Tfrm_info_now.Timer1Timer(Sender: TObject);
|
|
begin
|
|
if fcShapeBtn1.Caption='ÌáÐÑ' then
|
|
fcShapeBtn1.Caption:=''
|
|
else
|
|
fcShapeBtn1.Caption:='ÌáÐÑ';
|
|
end;
|
|
|
|
procedure Tfrm_info_now.fcShapeBtn1Click(Sender: TObject);
|
|
begin
|
|
Timer1.Enabled:=false;
|
|
frm_info_now.Hide;
|
|
try
|
|
frm_info_tell:=tfrm_info_tell.Create (self);
|
|
frm_info_tell.ShowModal;
|
|
finally
|
|
frm_info_tell.Free;
|
|
frm_info_tell:=nil;
|
|
end;
|
|
end;
|
|
|
|
end.
|