Esempio 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;
 }
Esempio 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;
        }