Ejemplo n.º 1
0
        /// <summary>
        /// update the source.
        /// </summary>
        public void BindingUpdateSource()
        {
            BindingExpression be = ServerIP.GetBindingExpression(UCTextField.ValueProperty);

            be.UpdateSource();
            be = ServerPort.GetBindingExpression(UCTextField.ValueProperty);
            be.UpdateSource();
            be = MazeRows.GetBindingExpression(UCTextField.ValueProperty);
            be.UpdateSource();
            be = MazeCols.GetBindingExpression(UCTextField.ValueProperty);
            be.UpdateSource();
        }