f_xshuo.pas
上传用户:lcqxtx
上传日期:2013-02-15
资源大小:530k
文件大小:1k
- unit f_xshuo;
- interface
- uses
- Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
- Dialogs, StdCtrls, Mask, DBCtrls, DB, ADODB, ExtCtrls;
- type
- Tw_xshuo = class(TForm)
- Panel1: TPanel;
- Label1: TLabel;
- DataSource1: TDataSource;
- ado_xshou: TADOQuery;
- DBNavigator1: TDBNavigator;
- ado_xshous_bh: TStringField;
- ado_xshous_dw: TStringField;
- ado_xshous_dz: TStringField;
- ado_xshous_sq: TStringField;
- ado_xshous_stime: TDateTimeField;
- ado_xshous_xtime: TDateTimeField;
- Label2: TLabel;
- DBEdit1: TDBEdit;
- Label3: TLabel;
- DBEdit2: TDBEdit;
- Label4: TLabel;
- DBEdit3: TDBEdit;
- Label5: TLabel;
- DBEdit4: TDBEdit;
- Label6: TLabel;
- DBEdit5: TDBEdit;
- Label7: TLabel;
- DBEdit6: TDBEdit;
- procedure FormCreate(Sender: TObject);
- procedure FormClose(Sender: TObject; var Action: TCloseAction);
- private
- { Private declarations }
- public
- { Public declarations }
- end;
- var
- w_xshuo: Tw_xshuo;
- implementation
- uses f_main;
- {$R *.dfm}
- procedure Tw_xshuo.FormCreate(Sender: TObject);
- begin
- w_main.Enabled:=false;
- end;
- procedure Tw_xshuo.FormClose(Sender: TObject; var Action: TCloseAction);
- begin
- w_main.Enabled:=true;
- end;
- end.