unit12.pas
来自「用Delphi做一个公寓管理系统」· PAS 代码 · 共 49 行
PAS
49 行
unit Unit12;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, Grids, DBGrids, DB, DBTables, StdCtrls;
type
TForm_vist_out = class(TForm)
DataSource1: TDataSource;
DBGrid1: TDBGrid;
Table1: TTable;
Button1: TButton;
Button2: TButton;
Label1: TLabel;
procedure Button1Click(Sender: TObject);
procedure Button2Click(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;
var
Form_vist_out: TForm_vist_out;
implementation
uses Unit13;
{$R *.dfm}
procedure TForm_vist_out.Button1Click(Sender: TObject);
begin
application.CreateForm(TForm_vist_out2,Form_vist_out2);
Form_vist_out2.ShowModal;
end;
procedure TForm_vist_out.Button2Click(Sender: TObject);
begin
Form_vist_out.Close;
end;
end.
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?