예제 #1
0
 public CharacterProfile()
 {
     Settings = new ProfileSettings();
     Tasks = new ObservableCollection<BMTask>();
     TaskManager = new TaskManager(this);
     ShoudPause = false;
 }
예제 #2
0
 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);
     }
 }