Files
UnrealEngineUWP/Engine/Source/Programs/MemoryProfiler2/OptionsDialog.cs
Marc Audy 608734e30d Merging //UE4/Dev-Main to Dev-Framework (//UE4/Dev-Framework) @ 4664414
#rb
#rnx

[CL 4666113 by Marc Audy in Dev-Framework branch]
2018-12-17 12:24:20 -05:00

33 lines
679 B
C#

// Copyright 1998-2019 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;
}
}
}