Files
UnrealEngineUWP/Engine/Source/Programs/nDisplayLauncher/AppLog/MainWindow.AppLogger.cs
Ben Marsh 129aac0526 Merging //UE4/Dev-Main to Dev-Build (//UE4/Dev-Build)
#rb none
#rnx

[CL 4706788 by Ben Marsh in Dev-Build branch]
2019-01-10 20:03:35 -05:00

31 lines
562 B
C#

// Copyright 1998-2019 Epic Games, Inc. All Rights Reserved.
using System.Windows;
using nDisplayLauncher.Log;
namespace nDisplayLauncher
{
public partial class MainWindow
{
private void InitializeAppLogger()
{
ctrlTextLog.DataContext = AppLogger.Instance;
}
private void ctrlBtnCopyLog_Click(object sender, RoutedEventArgs e)
{
if (ctrlTextLog.Text != null)
{
System.Windows.Clipboard.SetText(ctrlTextLog.Text);
}
}
private void ctrlBtnCleanLog_Click(object sender, RoutedEventArgs e)
{
AppLogger.CleanLog();
}
}
}