private bool AddString(MatchWholeWord value) { m_words.Add(value); removeButton.Enabled = true; textEntryTextBox.Text = string.Empty; return true; }
public SelectStringArrayForm(MatchWholeWord[] initialWordArray) { InitializeComponent(); AddString(initialWordArray); }
private void AddString(MatchWholeWord[] values) { if (values != null) { foreach (MatchWholeWord value in values) { if (!AddString(value)) continue; } selectedWordDataGrid.DataSource = m_words.ToArray(); } }