/// <summary>
 /// Control which role is to make get a database name for newly created session
 /// </summary>
 /// <param name="exit">Delegate for exiting creation</param>
 /// <param name="nextStep">Delegate for next step of creation</param>
 /// <param name="startingName">Starting value for session name, default: ""</param>
 public DatabaseNameCreator(myActionDelegate exit, myActionDelegateWithDatabaseName nextStep, string startingName = "")
 {
     InitializeComponent();
     notAllowedCharacters     = new List <char>(new char[] { ' ', '_', '*' });
     registerExitCreation     = exit;
     registerNextStepCreation = nextStep;
     textBoxDatabaseName.Text = startingName;
 }
 public DataBaseNameSelector(myActionDelegate exit, myActionDelegateWithDatabaseName nextStep)
 {
     InitializeComponent();
     registerBackToMenu       = exit;
     registerNextStepToManage = nextStep;
 }