// *********************************************************************** // Assembly : Construction // Author : zjx // Created : 08-28-2020 // // Last Modified By : zjx // Last Modified On : 09-01-2020 // *********************************************************************** // // Copyright (c) jindongfang. All rights reserved. // // // *********************************************************************** namespace WellWorkDataUI.CustomControls { using System; using System.Windows.Forms; /// /// Class DlgAppend. /// Implements the /// /// public partial class DlgAppend : Form { /// /// Initializes a new instance of the class. /// /// The type. public DlgAppend(string type = "") { this.InitializeComponent(); if (!string.IsNullOrWhiteSpace(type)) { this.lab_msg.Text = $"当前导入:{type},请选择您要操作方式"; } } private void btnAppend_Click(object sender, EventArgs e) { this.DialogResult = DialogResult.Ignore; } private void btnReplace_Click(object sender, EventArgs e) { this.DialogResult = DialogResult.OK; } private void btnCancel_Click(object sender, EventArgs e) { this.DialogResult = DialogResult.Cancel; } } }