public CharacterProfile() { Settings = new ProfileSettings(); Tasks = new ObservableCollection<BMTask>(); TaskManager = new TaskManager(this); ShoudPause = false; }
private void EditAccount(ProfileSettings charSettings) { if (charSettings != null) { var width = AccountConfigGridColumn.ActualWidth ; var ani = new DoubleAnimation(width, new Duration(TimeSpan.Parse("0:0:0.4"))) { DecelerationRatio = 0.7 }; AccountConfigGrid.BeginAnimation(WidthProperty, ani); AccountConfig.EditAccount(charSettings); } }