You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
55 lines
1.7 KiB
C#
55 lines
1.7 KiB
C#
// ***********************************************************************
|
|
// Assembly : Construction
|
|
// Author : zjx
|
|
// Created : 08-28-2020
|
|
//
|
|
// Last Modified By : zjx
|
|
// Last Modified On : 09-01-2020
|
|
// ***********************************************************************
|
|
// <copyright file="dlgAppend.cs" company="jindongfang">
|
|
// Copyright (c) jindongfang. All rights reserved.
|
|
// </copyright>
|
|
// <summary></summary>
|
|
// ***********************************************************************
|
|
|
|
namespace WellWorkDataUI.CustomControls
|
|
{
|
|
using System;
|
|
using System.Windows.Forms;
|
|
|
|
/// <summary>
|
|
/// Class DlgAppend.
|
|
/// Implements the <see cref="System.Windows.Forms.Form" />
|
|
/// </summary>
|
|
/// <seealso cref="System.Windows.Forms.Form" />
|
|
public partial class DlgAppend : Form
|
|
{
|
|
/// <summary>
|
|
/// Initializes a new instance of the <see cref="DlgAppend"/> class.
|
|
/// </summary>
|
|
/// <param name="type">The type.</param>
|
|
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;
|
|
}
|
|
}
|
|
} |