31 lines
783 B
C#
31 lines
783 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;
|
|
yesButton.Text = Strings.YesBtn;
|
|
noButton.Text = Strings.NoBtn;
|
|
}
|
|
|
|
private void yesButton_Click(object sender, EventArgs e)
|
|
{
|
|
ShutDownPC = shutDownPCCheckBox.Checked;
|
|
}
|
|
}
|
|
}
|