using System; using System.Windows.Forms; using TBF.Resources; namespace TBF.Forms { public partial class TabNameDlg : Form { public string TabNameLabel; public string TabName; public bool IsVirtualBenchSeq; public TabNameDlg() { InitializeComponent(); } private void TabNameDlg_Load(object sender, EventArgs e) { Text = TabNameLabel; tabNameTextBox.Text = TabName; IsVirtualBenchSeq = false; okButton.Text = Strings.OkBtnText; } private void okButton_Click(object sender, EventArgs e) { TabName = tabNameTextBox.Text; IsVirtualBenchSeq = radioButton2.Checked; DialogResult = DialogResult.OK; Close(); } } }