init: 潍柴发动机线 中央控制程序 项目首次入库
This commit is contained in:
50
SAP/SAP_Sync/D_Sure.cs
Normal file
50
SAP/SAP_Sync/D_Sure.cs
Normal file
@@ -0,0 +1,50 @@
|
||||
using SYNC_SAP_MES;
|
||||
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 SYNC_SAP_MES
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public partial class D_Sure : Form
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
public D_Sure()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
private void btn_Sure_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (string.IsNullOrEmpty(txt_Sure.Text))
|
||||
{
|
||||
MessageBox.Show("为了防止错误操作,请填写在文本框填入 确认 !");
|
||||
return;
|
||||
}
|
||||
|
||||
DialogResult = DialogResult.OK;
|
||||
}
|
||||
|
||||
private void btn_Cancel_Click(object sender, EventArgs e)
|
||||
{
|
||||
DialogResult = DialogResult.Cancel;
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user