2 using System.Collections.Generic;
3 using System.ComponentModel;
8 using System.Windows.Forms;
10 namespace SeciUserInterface.Dialogs.Tabs
18 InitializeComponent();
23 if (!String.IsNullOrEmpty(TabName))
25 txtName.Text = TabName;
31 if (String.IsNullOrEmpty(txtName.Text.Trim()))
33 MessageBox.Show(
"Please enter a name for the tab.");
37 TabName = txtName.Text.Trim();
38 DialogResult = DialogResult.OK;