1
0
mirror of synced 2024-12-11 07:16:05 +01:00
Switch-Toolbox/Toolbox/GUI/ApplicationCloseDialog.cs

27 lines
643 B
C#
Raw Normal View History

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Toolbox
{
public partial class ApplicationCloseDialog : Form
{
public ApplicationCloseDialog()
{
InitializeComponent();
this.FormBorderStyle = FormBorderStyle.FixedDialog;
}
private void chkHideDialog_CheckedChanged(object sender, EventArgs e)
{
Toolbox.Library.Runtime.ShowCloseDialog = !chkHideDialog.Checked;
}
}
}