Files
UnrealEngineUWP/Engine/Source/Programs/MemoryProfiler2/FindDialog.cs
Matthew Griffin bb70b349ce Merging CL 2804086 from //UE4/Release-4.11 to Dev-Main (//UE4/Dev-Main) to isolate copyright update
#lockdown Nick.Penwarden

[CL 2819020 by Matthew Griffin in Main branch]
2016-01-07 08:17:16 -05:00

44 lines
909 B
C#

/**
* Copyright 1998-2016 Epic Games, Inc. All Rights Reserved.
*/
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace MemoryProfiler2
{
public partial class FindDialog : Form
{
public FindDialog( string SearchText, bool bIsRegex, bool bMatchCase )
{
InitializeComponent();
SearchTextBox.Text = SearchText;
RegexCheckButton.Checked = bIsRegex;
MatchCaseCheckButton.Checked = bMatchCase;
}
private void FindNextButton_Click( object sender, EventArgs e )
{
DialogResult = DialogResult.OK;
Close();
}
private void CancelButton_Click( object sender, EventArgs e )
{
DialogResult = DialogResult.Cancel;
Close();
}
private void FindAllButton_Click( object sender, EventArgs e )
{
DialogResult = DialogResult.Yes;
Close();
}
}
}