/// <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(); }
public void SetUp() { main = Map.Instance(); Logger.GetInstance().AllowLogging = true; view = LoggerView.Instance(); viewmodel = (LoggerViewModel)view.DataContext; }