uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs;
type
TForm1 = class(TForm)
procedure FormCreate(Sender: TObject);
private
function GetMyString: string;
procedure SetMyString(const Value: string);
{ Private declarations }
public
{ Public declarations }
////////////////////////加入新的属性MyString
property MyString :string read GetMyString write SetMyString;
end;
var
Form1: TForm1;
implementation
{$R *.DFM}
procedure TForm1.FormCreate(Sender: TObject);
begin
end;
function TForm1.GetMyString: string;
begin
end;
procedure TForm1.SetMyString(const Value: string);
begin
end;
end.