type
TForm1 = class(TForm)
CnAOTreeView1: TCnAOTreeView;
RzBitBtn1: TRzBitBtn;
procedure RzBitBtn1Click(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;
var
Form1: TForm1;
implementation
{$R *.dfm}
procedure TForm1.RzBitBtn1Click(Sender: TObject);
var Option: TCnOptionGroup;
gm:TGmConfig;
begin
Option := TCnOptionGroup.Create(nil);
gm:=TGmConfig.Create();
gm.IntValue:=1;
gm.Date:=Now;
Option.Text := '自动参数设置演示程序';
with Option.AddGroup('配置参数测试') do
begin AddItem(gm,'intvalue','数据');
AddItem(gm,'date','日期');
end;