Files
UnrealEngineUWP/Engine/Source/Programs/nDisplayLauncher/AppLog/MainWindow.AppLogger.cs
Francis Hurteau 57c677da93 Copying //UE4/Dev-Enterprise@4705006 to Dev-Main (//UE4/Dev-Main)
#rb none
#lockdown Nick.Penwarden

[CL 4705151 by Francis Hurteau in Main branch]
2019-01-10 17:26:53 -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();
}
}
}