private void AcountConfigCloseButtonClick(object sender, RoutedEventArgs e)
        {
            var ani = new DoubleAnimation(0, new Duration(TimeSpan.Parse("0:0:0.4")))
            {
                AccelerationRatio = 0.7
            };

            AccountConfigGrid.BeginAnimation(WidthProperty, ani);
            AccountConfig.IsEditing = false;
            HbRelogManager.Settings.Save();
        }
 private void EditAccount(ProfileSettings charSettings)
 {
     if (charSettings != null)
     {
         var ani = new DoubleAnimation(255, new Duration(TimeSpan.Parse("0:0:0.4")))
         {
             DecelerationRatio = 0.7
         };
         AccountConfigGrid.BeginAnimation(WidthProperty, ani);
         AccountConfig.EditAccount(charSettings);
     }
 }