2014-03-14 14:13:41 -04:00
|
|
|
|
/**
|
2014-12-07 19:09:38 -05:00
|
|
|
|
* Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
|
2014-03-14 14:13:41 -04:00
|
|
|
|
*/
|
|
|
|
|
|
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;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|