private void InvokeOnProfileSettingsChanged()
 {
     if (OnProfileSettingsChanged != null)
     {
         var currentTab = View.SelectedProfileSettingsType;
         ProfileSettingsEventArgs args = new ProfileSettingsEventArgs(profileSettings[currentTab], currentTab);
         OnProfileSettingsChanged(args);
     }
 }
 private void OnProfileSettingsChanged(ProfileSettingsEventArgs e)
 {
     this.calcProfile.Enabled = e.ProfileSetting.IsReady;
 }