using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; namespace DeiNiu.Wms.CE { public partial class Message : Form { public string title = string.Empty; public Message() { InitializeComponent(); } private void button1_Click(object sender, EventArgs e) { this.DialogResult = DialogResult.OK; } private void button2_Click(object sender, EventArgs e) { this.DialogResult = DialogResult.Cancel; } private void Mess_Load(object sender, EventArgs e) { title_lab.Text = title; } } }