Exemplo n.º 1
0
        protected override void OnAttached()
        {
            Input defaultInput = mBlock.InputList[0];

            defaultInput.SetName(EMPTY_NAME);
            FieldLabel field = defaultInput.FieldRow[0] as FieldLabel;

            mLabelText = field.GetText();
            UpdateInternal();
        }
Exemplo n.º 2
0
        protected override Procedure DeserializeProcedure(XmlElement xmlElement)
        {
            Procedure  info      = Procedure.Deserialize(xmlElement);
            FieldLabel nameField = GetNameField();

            if (string.IsNullOrEmpty(info.Name) && nameField != null)
            {
                info = new Procedure(nameField.GetText(), info.Arguments, info.DefinitionHasStatementBody);
            }
            return(info);
        }