示例#1
0
        private void Init()
        {
            FunctionParam fp = new FunctionParam();

            this.EventRefresh      += new delegateEventRefresh(FormPaProductPanelcs_EventRefresh);
            this.EventRefreshAfter += new delegateEventRefreshAfter(FormPaProductPanelcs_EventRefreshAfter);
            this.EventSave         += new delegateEventSave(FormPaProductPanelcs_EventSave);
            this.EventEdit         += new delegateEventEdit(FormPaProductPanelcs_EventEdit);
            this.EventDelete       += new delegateEventDelete(FormPaProductPanelcs_EventDelete);

            this.FieldLinkAdd("txtItemId", "ItemId", "", true, true);
            this.FieldLinkAdd("txtName", "Name", "", true, false);
            this.FieldLinkAdd("txtName2", "Name2", "", false, false);
        }
示例#2
0
        private void Init()
        {
            FunctionParam fp = new FunctionParam();

            this.EventRefresh      += new delegateEventRefresh(FormPaProductPanelcs_EventRefresh);
            this.EventRefreshAfter += new delegateEventRefreshAfter(FormPaProductPanelcs_EventRefreshAfter);
            this.EventSave         += new delegateEventSave(FormPaProductPanelcs_EventSave);
            this.EventEdit         += new delegateEventEdit(FormPaProductPanelcs_EventEdit);
            this.EventDelete       += new delegateEventDelete(FormPaProductPanelcs_EventDelete);

            this.FieldLinkAdd("txtParentCode", "ParentCode", "", true, true);
            this.FieldLinkAdd("cboNodeCode", "NodeCode", "", true, true);
            this.FieldLinkAdd("txtName", "Name", "", false, false);
            this.FieldLinkAdd("txtName2", "Name2", "", false, false);
            this.FieldLinkAdd("numRowIndex", "RowIndex", "", true, false);
            this.FieldLinkAdd("numColIndex", "ColIndex", "", true, false);
            this.FieldLinkAdd("cboNodeType", "NODETYPE", "", false, false);
            this.FieldLinkAdd("cboNodeID", "NODEID", "", false, false);
        }