using System; namespace TProduct.WinFrmUI { public partial class SetCurveContentDlg : DevExpress.XtraEditors.XtraForm { public SetCurveContentDlg() { InitializeComponent(); } public string CurveName { get { return textEdit1.Text; } set { textEdit1.Text = value; } } public string CurveLabel { get { return label17.Text; } set { label17.Text = value; } } private void btnOK_Click(object sender, EventArgs e) { this.DialogResult = System.Windows.Forms.DialogResult.OK; this.Close(); } private void btnCancel_Click(object sender, EventArgs e) { this.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.Close(); } private void SetCurveContentDlg_Load(object sender, EventArgs e) { } } }