Files
UnrealEngineUWP/Engine/Source/Programs/nDisplayLauncher/AppLog/MainWindow.AppLogger.cs
Ryan Vance 7c51ff94af Merging //UE4/Dev-Main to Dev-VR (//UE4/Dev-VR)
CL 1 of 8
#rb integration

[CL 4748712 by Ryan Vance in Dev-VR branch]
2019-01-17 18:54:05 -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();
}
}
}