Esempio n. 1
0
 /// <summary>
 /// Prevents a default instance of the <see cref="LoggerView"/> class from being created.
 /// </summary>
 private LoggerView()
 {
     instance = this;
     this.InitializeComponent();
     LoggerViewModel.Instance().Scroll = this.scrollPane;
     this.DataContext = LoggerViewModel.Instance();
 }
Esempio n. 2
0
 public void SetUp()
 {
     main = Map.Instance();
     Logger.GetInstance().AllowLogging = true;
     view = LoggerView.Instance();
     viewmodel = (LoggerViewModel)view.DataContext;
 }