예제 #1
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="hasChildElements"></param>
        /// <returns></returns>
        protected override string SerializeCommandData(ref bool hasChildElements)
        {
            CommandSerializationHelper helper = new CommandSerializationHelper();

            helper.SerializeTaskTag(TaskTag);
            helper.SerializeMagicEvent(MagicEvent);

            return(helper.GetString());
        }
예제 #2
0
        protected override string SerializeCommandData(ref bool hasChildElements)
        {
            CommandSerializationHelper helper = new CommandSerializationHelper();

            helper.SerializeTaskTag(TaskTag);
            helper.SerializeMagicEvent(MagicEvent);
            helper.SerializeAttribute(ConstInterface.MG_ATTR_ERROR_MESSAGE, ErrorMessage);

            return(helper.GetString());
        }
예제 #3
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="hasChildElements"></param>
        /// <returns></returns>
        protected override string SerializeCommandData(ref bool hasChildElements)
        {
            CommandSerializationHelper helper = new CommandSerializationHelper();

            helper.SerializeTaskTag(TaskTag);
            helper.SerializeMagicEvent(MagicEvent);
            helper.SerializeAttribute(ConstInterface.MG_ATTR_REVERSIBLE, "0");
            helper.SerializeCloseSubformOnly(CloseSubformOnly);

            return(helper.GetString());
        }
예제 #4
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="hasChildElements"></param>
        /// <returns></returns>
        protected override string SerializeCommandData(ref bool hasChildElements)
        {
            CommandSerializationHelper helper = new CommandSerializationHelper();

            helper.SerializeTaskTag(TaskTag);
            helper.SerializeMagicEvent(MagicEvent);
            helper.SerializeAttribute(ConstInterface.MG_ATTR_OBJECT, TopRecIdx);
            helper.SerializeRefreshMode(RefreshMode);

            return(helper.GetString());
        }
예제 #5
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="hasChildElements"></param>
        /// <returns></returns>
        protected override string SerializeCommandData(ref bool hasChildElements)
        {
            CommandSerializationHelper helper = new CommandSerializationHelper();

            helper.SerializeTaskTag(TaskTag);
            helper.SerializeFldId(FldId);
            helper.SerializeMagicEvent(MagicEvent);
            helper.SerializeDitIdx(DitIdx);
            helper.SerializeAttribute(ConstInterface.MG_ATTR_DIRECTION, Direction);

            return(helper.GetString());
        }
예제 #6
0
        protected override string SerializeCommandData(ref bool hasChildElements)
        {
            CommandSerializationHelper helper = new CommandSerializationHelper();

            helper.SerializeTaskTag(TaskTag);
            helper.SerializeMagicEvent(MagicEvent);
            if (Rollback != RollbackType.NONE)
            {
                helper.SerializeAttribute(ConstInterface.MG_ATTR_ROLLBACK_TYPE, (char)Rollback);
            }

            return(helper.GetString());
        }
예제 #7
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="hasChildElements"></param>
        /// <returns></returns>
        protected override string SerializeCommandData(ref bool hasChildElements)
        {
            CommandSerializationHelper helper = new CommandSerializationHelper();

            helper.SerializeTaskTag(TaskTag);
            helper.SerializeMagicEvent(MagicEvent);
            if (Subforms)
            {
                helper.SerializeAttribute(ConstInterface.MG_ATTR_OBJECT, "99999");
            }

            return(helper.GetString());
        }
        /// <summary>
        ///
        /// </summary>
        /// <param name="hasChildElements"></param>
        /// <returns></returns>
        protected override string SerializeCommandData(ref bool hasChildElements)
        {
            CommandSerializationHelper helper = new CommandSerializationHelper();

            helper.SerializeTaskTag(TaskTag);
            helper.SerializeMagicEvent(MagicEvent);
            helper.SerializeAttribute(ConstInterface.MG_ATTR_GENERATION, Generation);
            helper.SerializeAttribute(ConstInterface.MG_ATTR_TASKVARLIST, TaskVarList);
            helper.SerializeAttribute(ConstInterface.MG_ATTR_OUTPUTTYPE, (char)OutputType);
            helper.SerializeAttribute(ConstInterface.MG_ATTR_DESTINATION_DATASOURCE, DestinationDataSourceNumber);
            helper.SerializeAttribute(ConstInterface.MG_ATTR_LIST_OF_INDEXES_OF_SELECTED_DESTINATION_FIELDS, ListOfIndexesOfSelectedDestinationFields);

            return(helper.GetString());
        }
예제 #9
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="hasChildElements"></param>
        /// <returns></returns>
        protected override string SerializeCommandData(ref bool hasChildElements)
        {
            CommandSerializationHelper helper = new CommandSerializationHelper();

            helper.SerializeTaskTag(TaskTag);
            helper.SerializeMagicEvent(MagicEvent);
            if (ExitByMenu)
            {
                helper.SerializeAttribute(ConstInterface.MG_ATTR_EXIT_BY_MENU, "1");
            }

            helper.SerializeAttribute(ConstInterface.MG_ATTR_OBJECT, "1");
            helper.SerializeCloseSubformOnly(CloseSubformOnly);

            return(helper.GetString());
        }
예제 #10
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="hasChildElements"></param>
        /// <returns></returns>
        protected override string SerializeCommandData(ref bool hasChildElements)
        {
            CommandSerializationHelper helper = new CommandSerializationHelper();

            helper.SerializeTaskTag(TaskTag);
            helper.SerializeMagicEvent(MagicEvent);
            if (!IsInternalRefresh)
            {
                helper.SerializeRefreshMode(RefreshMode);
            }
            if (KeepUserSort)
            {
                helper.SerializeAttribute(ConstInterface.MG_ATTR_KEEP_USER_SORT, "1");
            }

            return(helper.GetString());
        }
예제 #11
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="hasChildElements"></param>
        /// <returns></returns>
        protected override string SerializeCommandData(ref bool hasChildElements)
        {
            CommandSerializationHelper helper = new CommandSerializationHelper();

            helper.SerializeTaskTag(TaskTag);
            helper.SerializeMagicEvent(MagicEvent);
            helper.SerializeAttribute(ConstInterface.MG_ATTR_TASKVARLIST, TaskVarList);
            helper.SerializeAttribute(ConstInterface.MG_ATTR_DESTINATION_DATASOURCE, DestDataSource);
            if (!string.IsNullOrEmpty(DestDataSourceName))
            {
                helper.SerializeAttribute(ConstInterface.MG_ATTR_DESTINATION_DATASOURCE_NAME, DestDataSourceName);
            }
            helper.SerializeAttribute(ConstInterface.MG_ATTR_DESTINATION_COLUMNLIST, DestColumnList);
            helper.SerializeAttribute(ConstInterface.MG_ATTR_SOURCE_DATAVIEW, DataViewContent);

            return(helper.GetString());
        }
예제 #12
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="hasChildElements"></param>
        /// <returns></returns>
        protected override string SerializeCommandData(ref bool hasChildElements)
        {
            CommandSerializationHelper helper = new CommandSerializationHelper();

            helper.SerializeTaskTag(TaskTag);
            helper.SerializeFldId(FldId);
            helper.SerializeMagicEvent(MagicEvent);
            helper.SerializeDitIdx(DitIdx);
            helper.SerializeAttribute(ConstInterface.MG_ATTR_SEARCH_STR, IncrmentalSearchString);

            if (ResetIncrementalSearch)
            {
                helper.SerializeAttribute(ConstInterface.MG_ATTR_RESET_SEARCH, "1");
            }

            return(helper.GetString());
        }