tbf/TestBenchFramework/BenchControl/Operations/MessageBoxForm.cs
2014-08-12 18:22:32 +02:00

39 lines
724 B
C#

using System;
using System.Windows.Forms;
using TBF.Resources;
namespace TBF.BenchControl.Operations
{
public partial class MessageBoxForm : Form
{
public string Question;
public bool CompletedYes;
public bool CompletedNo;
public MessageBoxForm()
{
InitializeComponent();
}
private void AskYesNoForm_Load(object sender, EventArgs e)
{
Text = Strings.Question;
questionLabel.Text = Strings.Fill_with_water;
yesButton.Text = Strings.YesBtn;
noButton.Text = Strings.NoBtn;
}
private void yesButton_Click(object sender, EventArgs e)
{
CompletedYes = true;
Close();
}
private void noButton_Click(object sender, EventArgs e)
{
CompletedNo = true;
Close();
}
}
}