using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace OTSMeasureApp._7_OTSProgMgrInfo.Stage { public partial class StageNameSaveAs : Form { public StageNameSaveAs() { InitializeComponent(); } private void StageNameSaveAs_Load(object sender, EventArgs e) { } public string StageNamewhichSaveAs { get; set; } private void button1_Click(object sender, EventArgs e) { StageNamewhichSaveAs = textBox1.Text; this.DialogResult = DialogResult.OK; } } }