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.
54 lines
1.0 KiB
Plaintext
54 lines
1.0 KiB
Plaintext
unit u_info_now_bulletin;
|
|
|
|
interface
|
|
|
|
uses
|
|
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
|
|
Dialogs, fcButton, fcImgBtn, fcShapeBtn, ExtCtrls, cxControls,
|
|
cxContainer, cxEdit, cxLabel;
|
|
|
|
type
|
|
Tfrm_info_now_bulletin = class(TForm)
|
|
Timer1: TTimer;
|
|
|
|
cxLabel1: TcxLabel;
|
|
procedure Timer1Timer(Sender: TObject);
|
|
procedure cxLabel1Click(Sender: TObject);
|
|
private
|
|
{ Private declarations }
|
|
public
|
|
{ Public declarations }
|
|
end;
|
|
|
|
var
|
|
frm_info_now_bulletin: Tfrm_info_now_bulletin;
|
|
|
|
implementation
|
|
|
|
uses u_info_bulletin;
|
|
|
|
{$R *.dfm}
|
|
|
|
procedure Tfrm_info_now_bulletin.Timer1Timer(Sender: TObject);
|
|
begin
|
|
if cxLabel1.Caption='¹«¸æ' then
|
|
cxLabel1.Caption:=''
|
|
else
|
|
cxLabel1.Caption:='¹«¸æ';
|
|
end;
|
|
|
|
procedure Tfrm_info_now_bulletin.cxLabel1Click(Sender: TObject);
|
|
begin
|
|
Timer1.Enabled:=false;
|
|
frm_info_now_bulletin.Hide;
|
|
try
|
|
frm_info_bulletin:=tfrm_info_bulletin.Create (self);
|
|
frm_info_bulletin.ShowModal;
|
|
finally
|
|
frm_info_bulletin.Free;
|
|
frm_info_bulletin:=nil;
|
|
end;
|
|
end;
|
|
|
|
end.
|