using System.Windows.Forms; using UI.Framework.Forms; namespace AutoAnswer { public partial class CommonForm : BaseForm { public CommonForm(string text) { InitializeComponent(); this.Text = this.Text.Replace("@", text); this.labelControl1.Text = labelControl1.Text.Replace("@", text); } public string Strs = string.Empty; private void CommonForm_FormClosing(object sender, FormClosingEventArgs e) { Strs = memoEdit1.Text.Trim(); this.DialogResult = DialogResult.OK; } } }