代码如下:unit Unit1;interfaceuses
  Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
  Dialogs, StdCtrls;type
  TForm1 = class(TForm)
    Button1: TButton;
    procedure Button1Click(Sender: TObject);
  private
    { Private declarations }
  public
    { Public declarations }
  end;var
  Form1: TForm1;
implementation{$R *.dfm}procedure TForm1.Button1Click(Sender: TObject);
beginform2.Show;//在这里出错!!!
end;end.出错提示是Undeclared identifier: 'form2'这是为什么啊?
我想单击一个按钮之后弹出一个窗体。
我是在 文件》新建》窗体中新建的窗体,现在有两个unit1和unit2~~晕~是不是我建立窗体
的方法不对啊?
对了,我用的是中文版的delphi,是不是和这个有关系?