mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2024-12-13 13:40:58 +00:00
28 lines
579 B
C#
28 lines
579 B
C#
|
using System;
|
|||
|
using System.Windows.Forms;
|
|||
|
|
|||
|
namespace mxd.GZDBUpdater
|
|||
|
{
|
|||
|
public partial class UpdateBlockedForm : Form
|
|||
|
{
|
|||
|
private bool formaccepted;
|
|||
|
|
|||
|
public UpdateBlockedForm()
|
|||
|
{
|
|||
|
InitializeComponent();
|
|||
|
this.Icon = MainForm.AppIcon;
|
|||
|
}
|
|||
|
|
|||
|
private void UpdateBlockedForm_FormClosing(object sender, FormClosingEventArgs e)
|
|||
|
{
|
|||
|
this.DialogResult = (formaccepted && proceed.Checked ? DialogResult.OK : DialogResult.Cancel);
|
|||
|
}
|
|||
|
|
|||
|
private void accept_Click(object sender, EventArgs e)
|
|||
|
{
|
|||
|
formaccepted = true;
|
|||
|
this.Close();
|
|||
|
}
|
|||
|
}
|
|||
|
}
|