Files
15-WeiChai-WC_CentralControl/SAP/SAP_Sync/D_Sure.cs

51 lines
1.1 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
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;
}
}
}