using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace Core.StlMes.Client.ZGMil.Signature { public partial class FrmPopupWindow : Form { public FrmPopupWindow() { InitializeComponent(); } private string popup; public string Popup { get { return popup; } set { popup = value; } } private void ultraButton1_Click(object sender, EventArgs e) { Popup = "之前"; this.DialogResult = DialogResult.OK; this.Close(); } private void ultraButton2_Click(object sender, EventArgs e) { Popup = "之后"; this.DialogResult = DialogResult.OK; this.Close(); } private void ultraButton3_Click(object sender, EventArgs e) { Popup = "取消"; this.DialogResult = DialogResult.OK; this.Close(); } } }