Files
UnrealEngineUWP/Engine/Source/Programs/MemoryProfiler2/OptionsDialog.cs
Ben Marsh 20bf0eb6a1 Updating copyright notices to 2017 (copying from //Tasks/UE4/Dev-Copyright-2017).
#rb none
#lockdown Nick.Penwarden

[CL 3226823 by Ben Marsh in Main branch]
2016-12-08 08:52:44 -05:00

33 lines
679 B
C#

// Copyright 1998-2017 Epic Games, Inc. All Rights Reserved.
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace MemoryProfiler2
{
public partial class OptionsDialog : Form
{
private MainWindow Main = null;
public OptionsDialog( MainWindow InMain, SettableOptions Options )
{
Main = InMain;
InitializeComponent();
OptionsGrid.SelectedObject = Options;
}
private void OptionsDialogClosing( object sender, FormClosingEventArgs e )
{
Main.Options = ( SettableOptions )OptionsGrid.SelectedObject;
}
}
}