tbf/TBF/UI/Shared/ClosingTbfForm.cs

29 lines
695 B
C#

///
/// Copyright (c) 2019 Sensus Slovensko a.s.
///
using System;
using System.Windows.Forms;
using TBF.Resources;
namespace TBF.UI.Shared
{
public partial class ClosingTbfForm : Form
{
public bool ShutDownPC;
public ClosingTbfForm()
{
InitializeComponent();
ShutDownPC = false;
Text = Strings.Closing_the_program;
messageLabel.Text = Strings.Do_you_want_to_exit_TBF;
shutDownPCCheckBox.Text = Strings.Shut_down_computer_after_exiting_TBF;
}
private void yesButton_Click(object sender, EventArgs e)
{
ShutDownPC = shutDownPCCheckBox.Checked;
}
}
}