public HeadItem(Head parent, KFO.Dictionary dctTableInfo, KFO.Dictionary dctData, string name) { this._parent = parent; this._dctTableInfo = dctTableInfo; this._dctData = dctData; this._name = name; }
void newBiller_SaveBillSuccess(KFO.Dictionary dctData) { if (this.After_Save != null) { this.After_Save(); } }
public virtual void AfterDel(string sDsn, long nClassID, KFO.Dictionary dctClassType, long nInterID) { DBUnitInstance = new DBUnit(sDsn); DoAfterDel(sDsn, nClassID, dctClassType, nInterID); }
protected virtual void DoAfterSave(string sDsn, KFO.Dictionary dctClassType, KFO.Vector vctClassTypeEntry, KFO.Dictionary dctTableInfo, KFO.Dictionary dctData, KFO.Dictionary dctLink) { }
public virtual void BeforeMultiCheck(string sDsn, long nClassID, long nFBillID, long nFPage, long nFBillEntryID, KFO.Dictionary dctBillCheckRecord) { DBUnitInstance = new DBUnit(sDsn); DoBeforeMultiCheck(sDsn, nClassID, nFBillID, nFPage, nFBillEntryID, dctBillCheckRecord); }
public virtual void AfterSave(string sDsn, KFO.Dictionary dctClassType, KFO.Vector vctClassTypeEntry, KFO.Dictionary dctTableInfo, KFO.Dictionary dctData, KFO.Dictionary dctLink) { DBUnitInstance = new DBUnit(sDsn); this.Head = new Head(dctTableInfo, dctData); DoAfterSave(sDsn, dctClassType, vctClassTypeEntry, dctTableInfo, dctData, dctLink); }
void newBiller_LostFocus(string sKey, KFO.Dictionary dctData, object curDspValue, int Col, int Row, ref bool Cancel) { if (this.After_LevelCell == null) { return; } //row col为-1则为单据 if (Row == -1 && Col == -1) { return; } int?currentEntityIndex = null; int entityCount = this.Entity.Count; for (int entityIndex = 0; entityIndex < entityCount; entityIndex++) { if (this.Entity[entityIndex].Column.NameToIndex.ContainsKey(sKey.ToLower())) { currentEntityIndex = entityIndex; } } //单据头中不含skey数据则失去焦点的不是单据体,是单据头 if (!currentEntityIndex.HasValue) { return; } if (Row > this.Entity[0].Row.Count) { this.After_LevelCell(null); return; } this.After_LevelCell(this.Entity[currentEntityIndex.Value].Row[Row - 1, this.Entity[currentEntityIndex.Value].Column.GetIndex(sKey)]); }
public Head(KFO.Dictionary dctTableInfo, KFO.Dictionary dctData) { this._dctTableInfo = dctTableInfo; this._dctData = dctData; }
/// <summary> /// 从kfo对象获取字段的字段名称 /// </summary> /// <param name="dct"></param> /// <returns></returns> protected string GetFieldName(KFO.Dictionary dct) { return(dct.GetValue("FFieldName", null).ToString()); }
protected virtual void DoBeforeMultiCheck(string sDsn, long nClassID, long nFBillID, long nFPage, long nFBillEntryID, KFO.Dictionary dctBillCheckRecord) { }
protected virtual void DoAfterDel(string sDsn, long nClassID, KFO.Dictionary dctClassType, long nInterID) { }