44 lines
1023 B
C#
44 lines
1023 B
C#
|
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 SuperDesign.Tools.SmartEditor
|
|||
|
{
|
|||
|
public partial class FrmSaveMsg : Form
|
|||
|
{
|
|||
|
public FrmSaveMsg()
|
|||
|
{
|
|||
|
InitializeComponent();
|
|||
|
}
|
|||
|
|
|||
|
private void BtnCancel_Click(object sender, EventArgs e)
|
|||
|
{
|
|||
|
DialogResult= DialogResult.Cancel;
|
|||
|
}
|
|||
|
|
|||
|
private void BtnSave_Click(object sender, EventArgs e)
|
|||
|
{
|
|||
|
DialogResult = DialogResult.Yes;
|
|||
|
}
|
|||
|
|
|||
|
private void BtnNoSave_Click(object sender, EventArgs e)
|
|||
|
{
|
|||
|
DialogResult = DialogResult.No;
|
|||
|
}
|
|||
|
|
|||
|
private void FrmSaveMsg_FormClosing(object sender, FormClosingEventArgs e)
|
|||
|
{
|
|||
|
if (e.CloseReason == CloseReason.UserClosing)
|
|||
|
{
|
|||
|
e.Cancel = true;
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
}
|