Files
UnrealEngineUWP/Engine/Source/Programs/IOS/iPhonePackager/PasswordDialog.cs
Juan Canada 2ecf4f9708 Merging //UE4/Dev-Main@10877709 to Dev-RenderPlat-Staging(//UE4/Dev-Rendering)
#rnx
#rb none

[CL 10895568 by Juan Canada in Dev-RenderPlat-Staging branch]
2020-01-07 13:45:01 -05:00

40 lines
766 B
C#

// Copyright 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 iPhonePackager
{
public partial class PasswordDialog : Form
{
string PasswordResult = null;
public PasswordDialog()
{
InitializeComponent();
}
public static bool RequestPassword(out string Password)
{
PasswordDialog Dlg = new PasswordDialog();
Dlg.ShowDialog();
Password = Dlg.PasswordResult;
return Password != null;
}
private void OKButton_Click(object sender, EventArgs e)
{
DialogResult = DialogResult.OK;
PasswordResult = PasswordEntryBox.Text;
Close();
}
}
}