コード例 #1
0
        /// <summary>
        ///     Ends a while statement
        /// </summary>
        /// <param name="whileCommand">While statement to end</param>
        public virtual void EndWhile(While whileCommand)
        {
            SetCurrentMethod();
            var tempCommand = new EndWhile(whileCommand);

            tempCommand.Setup();
            Commands.Add(tempCommand);
        }
コード例 #2
0
        /// <summary>
        /// Ends a while statement
        /// </summary>
        /// <param name="WhileCommand">While statement to end</param>
        public virtual void EndWhile(While WhileCommand)
        {
            SetCurrentMethod();
            EndWhile TempCommand = new EndWhile(WhileCommand);

            TempCommand.Setup();
            Commands.Add(TempCommand);
        }
コード例 #3
0
        public override string ToString()
        {
            s = (EndWhile)base.Tag;

            Binding descbinding = new Binding("Description");
            descbinding.Mode = BindingMode.TwoWay;
            descbinding.Source = s;
            txtdesc.SetBinding(TextBox.TextProperty, descbinding);

            return base.ToString();
        }
コード例 #4
0
        public override string ToString()
        {
            s = (EndWhile)base.Tag;

            Binding descbinding = new Binding("Description");

            descbinding.Mode   = BindingMode.TwoWay;
            descbinding.Source = s;
            txtdesc.SetBinding(TextBox.TextProperty, descbinding);

            return(base.ToString());
        }