private void lnkResourceStrings_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            if (botModel.Configuration?.ResourceStrings == null)
            {
                botModel.Configuration.ResourceStrings = new List <KeyValuePair <string, string> >();
            }
            var editor = new KeyValueEditor("Bot resource strings editor", botModel.Configuration.ResourceStrings);

            editor.ShowDialog();
            UpdateResourceStringsLinkLabel();
        }
        private void lnkSuggestionsEditor_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            var suggestionsList = tbSuggestions.Text?.Split(',')?.Where(item => item.Contains(":"))?.Select(item =>
            {
                var parts = item.Split(':');
                return(new KeyValuePair <string, string>(parts[0], parts[1]));
            }).ToList();
            var res = new KeyValueEditor("Suggestions formatter", suggestionsList).ShowDialog();

            if (res == DialogResult.OK)
            {
                tbSuggestions.Text = "";
                suggestionsList.ForEach(item => tbSuggestions.Text += $"{item.Key}:{item.Value},");
            }
        }