void EditConnectionStringWindow_Saved(object sender, EditConnectionStringWindowSavedEventArgs e)
 {
     var index = this.ConnectionStringListBox.SelectedIndex;
     if (index > -1)
     {
         AValue.ConfigData.ConnectionStrings[index] = e.ConnectionStringInfo;
     }
     else
     {
         AValue.ConfigData.ConnectionStrings.Add(e.ConnectionStringInfo);
     }
 }
        void EditConnectionStringWindow_Saved(object sender, EditConnectionStringWindowSavedEventArgs e)
        {
            var index = this.ConnectionStringListBox.SelectedIndex;

            if (index > -1)
            {
                AValue.ConfigData.ConnectionStrings[index] = e.ConnectionStringInfo;
            }
            else
            {
                AValue.ConfigData.ConnectionStrings.Add(e.ConnectionStringInfo);
            }
        }