Exemple #1
0
    /// <summary>
    /// Initializes a new instance of the <see cref="MainPage"/> class.
    /// </summary>
    public MainPage()
    {
      this.InitializeComponent();

      this.model = new MainViewModel();
      this.DataContext = this.model;

      tbExpression.Focus(FocusState.Keyboard);
    }
 /// <summary>
 /// Initializes a new instance of the <see cref="RemoveLastCharCommand"/> class.
 /// </summary>
 /// <param name="target">
 /// The target.
 /// </param>
 public RemoveLastCharCommand(MainViewModel target)
     : base(target)
 {
 }