private void SetText(CommandTextBox commandTextBox, bool useTextProperty, string text)
 {
     if (useTextProperty)
         commandTextBox.Text = text;
     else
         commandTextBox.SetTextBoxText(text);
 }