tbf/TestBenchFramework/BenchControl/Operations/AskYesNoForm.cs
2014-07-28 09:56:40 +02:00

39 lines
720 B
C#

using System;
using System.Windows.Forms;
using TBF.Resources;
namespace TBF.BenchControl.Operations
{
public partial class AskYesNoForm : Form
{
public string Question;
public bool CompletedYes;
public bool CompletedNo;
public AskYesNoForm()
{
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();
}
}
}