VEPROMS_UI / remove BouncyCastle
This commit is contained in:
@@ -1,12 +1,4 @@
|
||||
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 VEPROMS
|
||||
{
|
||||
@@ -16,19 +8,10 @@ namespace VEPROMS
|
||||
{
|
||||
private bool _Cancel = true;
|
||||
|
||||
public bool Cancel
|
||||
{
|
||||
get { return _Cancel; }
|
||||
}
|
||||
public bool Cancel => _Cancel;
|
||||
|
||||
private bool _ExitPROMS;
|
||||
|
||||
public bool ExitPROMS
|
||||
{
|
||||
get { return _ExitPROMS; }
|
||||
set { _ExitPROMS = value; }
|
||||
}
|
||||
public DlgCloseTabsOrExit(bool isMainWindow, bool hasChildWindows)
|
||||
public bool ExitPROMS { get; set; }
|
||||
public DlgCloseTabsOrExit(bool isMainWindow, bool hasChildWindows)
|
||||
{
|
||||
InitializeComponent();
|
||||
if (!isMainWindow)
|
||||
@@ -46,22 +29,22 @@ namespace VEPROMS
|
||||
private void BtnClsTab_Click(object sender, EventArgs e)
|
||||
{
|
||||
_Cancel = false;
|
||||
_ExitPROMS = false;
|
||||
this.Hide();
|
||||
ExitPROMS = false;
|
||||
Hide();
|
||||
}
|
||||
|
||||
private void BtnExitPROMS_Click(object sender, EventArgs e)
|
||||
{
|
||||
_Cancel = false;
|
||||
_ExitPROMS = true;
|
||||
this.Hide();
|
||||
ExitPROMS = true;
|
||||
Hide();
|
||||
}
|
||||
|
||||
private void btnCancel_Click(object sender, EventArgs e)
|
||||
{
|
||||
_Cancel = true;
|
||||
_ExitPROMS = false;
|
||||
this.Hide();
|
||||
ExitPROMS = false;
|
||||
Hide();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user