这是所有代码没有看到 procedure(Sender: TObject; DockFormMgr: TDockFormMgr) 有这两个参数的过程啊???????? TOnGetCustomDockForm = procedure(Sender: TObject; DockFormMgr: TDockFormMgr) of object; TAccessClass = class(TCustomCSGrid); { TfrmBase } TfrmBase = class(TForm) bbCancel: TCSCancel; cnMain: TCSConnect; bdDictionary: TCSBridge; procedure bbCancelClick(Sender: TObject); procedure FormClose(Sender: TObject; var Action: TCloseAction); procedure FormCreate(Sender: TObject); procedure FormShow(Sender: TObject); procedure FormDestroy(Sender: TObject); procedure FormActivate(Sender: TObject); private FOnGetCustomDockForm: TOnGetCustomDockForm; procedure CSMGetHandle(var Message: TMessage); message CSM_GET_HANDLE; procedure CSMChkReport(var Message: TMessage); message CSM_CHK_REPORT; procedure CSMGetOperRights(var Message: TMessage); message CSM_GET_OPERRIGHTS; procedure CSMQueryOrgid(var Message: TMessage); message CSM_QUERY_ORGID; protected procedure InitCustomerEdit(CustomerEdit: TCSCustomerEdit); procedure InitStockEdit(StockEdit: TCSStockEdit); procedure InitReport(Report: TCSReport); procedure InitDataPopCheckEdit(DataPopCheckEdit: TCSDataPopCheckEdit); procedure InitAgent(AAgent: TCSAgent); procedure InitSureButton(Sure: TCSSure); procedure InitOneControl(OneControl: TComponent); procedure InitControl; procedure InitControlFormCreate; procedure InitCancel(CancelButton: TCSCancel); procedure InitServerEdit(AServerEdit: TCSServerEdit); virtual; procedure GetReportList(var List: TList); virtual; procedure SaveOperInputType(Sender: TObject); procedure SendMdiInfoMessage(MdiDisplayStatus: TMdiDisplayStatus); procedure CancelButtonGetCanceFlag(var CancelFlag: Boolean); procedure SureButtonBeforeClick(var CancelFlag: Boolean); function GetOperatorSpecialRight(OperId: Integer): String; procedure ProtectedExportMouseDown(Sender: TObject; Button: TMouseButton; Shift: TShiftState; X, Y: Integer); function ValidateNoSeeStr(key: string): Boolean; function ValidateString(key: String): Boolean; public FOrgid: String; // MenuID: Integer; // MenuRecno: Integer; // MenuPrompt: string; // PrintFlag: Char; // PrintDesignFlag: Char; // PwdFlag: Char; // CheckFlag: Char; // MenuCheck: Boolean; // ImeName: Char; // FDisEnbaleChar: string; // procedure PrintReport(Value: TCSReport); // procedure DesignReport(Value: TCSReport); // procedure RefreshSysStatus; function IsCmClient: Boolean; // procedure RePrintReport(Value: TCSReport); // procedure SetPrintDesignFlag; function CheckPassWord(Value: string; Len: Integer): Boolean; published property OnGetCustomDockForm: TOnGetCustomDockForm read FOnGetCustomDockForm write FOnGetCustomDockForm; end;var frmBase: TfrmBase; Config: TConfig;implementation