am_ajjss.pas
资源名称:挡案管理系统.rar [点击查看]
上传用户:szruida
上传日期:2007-06-01
资源大小:6518k
文件大小:2k
源码类别:
Delphi控件源码
开发平台:
Delphi
- unit am_ajjss;
- interface
- uses
- Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
- Dialogs, ComCtrls, ImgList, ToolWin, ExtCtrls, Grids, DBGridEh, DB,
- DBClient, XPBarMenu;
- type
- Tam_ajjs = class(TForm)
- CoolBar1: TCoolBar;
- ImageList1: TImageList;
- ToolBar1: TToolBar;
- Add1: TToolButton;
- xiugai: TToolButton;
- dele1: TToolButton;
- Panel1: TPanel;
- DBGridEh1: TDBGridEh;
- ClientDataSet1: TClientDataSet;
- DataSource1: TDataSource;
- StatusBar1: TStatusBar;
- XPBarMenu1: TXPBarMenu;
- procedure dele1Click(Sender: TObject);
- procedure FormClose(Sender: TObject; var Action: TCloseAction);
- procedure Add1Click(Sender: TObject);
- procedure FormShow(Sender: TObject);
- procedure xiugaiClick(Sender: TObject);
- private
- { Private declarations }
- public
- { Public declarations }
- end;
- var
- am_ajjs: Tam_ajjs;
- implementation
- uses sb_azjl_cxs, Am_Ajjs_Ps;
- {$R *.dfm}
- procedure Tam_ajjs.dele1Click(Sender: TObject);
- begin
- close;
- end;
- procedure Tam_ajjs.FormClose(Sender: TObject; var Action: TCloseAction);
- begin
- Clientdataset1.Active:=false;
- action:=cafree;
- am_ajjs:=nil;
- end;
- procedure Tam_ajjs.Add1Click(Sender: TObject);
- begin
- if am_ajcx=nil then
- begin
- am_ajcx:=Tam_ajcx.create(self);
- am_ajcx.show;
- end;
- end;
- procedure Tam_ajjs.FormShow(Sender: TObject);
- begin
- //statusbar1.Panels[0].Width:=am_ajjs.Width-6;
- end;
- procedure Tam_ajjs.xiugaiClick(Sender: TObject);
- begin
- Am_Ajjs_P:=TAm_Ajjs_P.create(application);
- Am_Ajjs_P.QuickRep1.Preview;
- end;
- end.