Ejemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref = "ShellViewModel" /> class.
 /// </summary>
 public ShellViewModel()
 {
     this.Measurements = new UndoableCollection<Measurement>();
     this.Title = "Undo/redo demo";
     var tl = new DelegateTraceListener();
     tl.OnAppend += this.AppendTraceMessage;
 }
Ejemplo n.º 2
0
        /// <summary>
        /// Initializes a new instance of the <see cref = "ShellViewModel" /> class.
        /// </summary>
        public ShellViewModel()
        {
            this.Measurements = new UndoableCollection <Measurement>();
            this.Title        = "Undo/redo demo";
            var tl = new DelegateTraceListener();

            tl.OnAppend += this.AppendTraceMessage;
        }