using System; using System.Windows.Forms; namespace IStation.WinFrmUI.Curve { public partial class SetCurveNameDlg : DevExpress.XtraEditors.XtraForm { public SetCurveNameDlg() { InitializeComponent(); } public string CurveName { get => this.txtName.Text.Trim(); set => this.txtName.EditValue = value; } private void btnOK_Click(object sender, EventArgs e) { this.DialogResult = DialogResult.OK; this.Close(); } } }