31 lines
561 B
C#
31 lines
561 B
C#
using System;
|
|
using System.Windows.Forms;
|
|
using TBF.Resources;
|
|
|
|
namespace TBF.BenchControl.Operations
|
|
{
|
|
public partial class MessageBoxForm : Form
|
|
{
|
|
public string Message;
|
|
public bool CompletedOK;
|
|
|
|
public MessageBoxForm()
|
|
{
|
|
InitializeComponent();
|
|
}
|
|
|
|
private void MessageBoxForm_Load(object sender, EventArgs e)
|
|
{
|
|
Text = Strings.Message;
|
|
messageLabel.Text = Message;
|
|
okButton.Text = Strings.OkBtnText;
|
|
}
|
|
|
|
private void okButton_Click(object sender, EventArgs e)
|
|
{
|
|
CompletedOK = true;
|
|
Close();
|
|
}
|
|
}
|
|
}
|