tbf/TestBenchFramework/BenchControl/Operations/MessageBoxForm.cs

34 lines
621 B
C#
Raw Normal View History

///
/// Copyright (c) 2013-2015 Sensus Metering Systems
///
using System;
2014-08-12 16:22:32 +00:00
using System.Windows.Forms;
using TBF.Resources;
namespace TBF.BenchControl.Operations
{
public partial class MessageBoxForm : Form
{
public string Message;
public bool CompletedOK;
2014-08-12 16:22:32 +00:00
public MessageBoxForm()
{
InitializeComponent();
}
private void MessageBoxForm_Load(object sender, EventArgs e)
2014-08-12 16:22:32 +00:00
{
Text = Strings.Message;
messageLabel.Text = Message;
okButton.Text = Strings.OkBtnText;
2014-08-12 16:22:32 +00:00
}
private void okButton_Click(object sender, EventArgs e)
2014-08-12 16:22:32 +00:00
{
CompletedOK = true;
2014-08-12 16:22:32 +00:00
Close();
}
}
}