SuperDesign/Source/开发辅助工具/Tools/SmartEditor/FrmSaveMsg.cs
鑫Intel 03bcb8c5fd ### 2023-02-21更新
------
#### SuperDesign    V3.0.2302.2101
- *.[新增]全新文本编辑器,支持高亮、FTP查看和编辑、目录浏览,历史版本等众多功能。
2023-02-21 09:46:13 +08:00

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;
}
}
}
}