| 论文首页哲学论文经济论文法学论文教育论文文学论文历史论文理学论文工学论文医学论文管理论文艺术论文 | 
  else
  begin
    floorcount:=strtoint(Form_floorconfig1.Edit_floorcount.Text);
    roomcount:=strtoint(Form_floorconfig1.Edit_roomcount.Text);
    for f:=1 to floorcount do
    with Form_floorconfig1.Query1 do
      begin
        for r:=1 to roomcount do
            begin
            Close; (科教作文网http://zw.ΝsΕac.cOM编辑) 
            SQL.Clear;
            SQL.Add('insert into room(Num_room) values(:x1)');
            if r<10 then
              parambyname('x1').asstring:=Edit_floorNum.Text+inttostr(f)+'0'+inttostr(r)
            else
              parambyname('x1').asstring:=Edit_floorNum.Text+inttostr(f)+inttostr(r);
            ExecSQL;
          end;
      end;
    end;
end;
procedure TForm_floorconfig1.Edit_floorcountKeyPress(Sender: TObject;
  var Key: Char);             
begin
  if not (key in ['0'..'9',#13,#8]) then
  key:=#0;
end;
procedure TForm_main.N1Click(Sender: TObject);       //主窗体的壁纸设置
begin
  if Ope