Beispiel #1
0
 private void ItemCacheInstance_ItemsChanged(object sender, EventArgs e)
 {
     Character.InvalidateItemInstances();
     Character.OnCalculationsInvalidated();
     if (!Character.IsLoading)
     {
         ComparisonGraph.UpdateGraph();
     }
 }
Beispiel #2
0
        private void AsyncCalculationCompleted(object arg)
        {
            AsyncCalculationResult result = (AsyncCalculationResult)arg;

            if (result.DisplayCalculationValues != null && result.Calculations == referenceCalculation)
            {
                CalculationDisplay.SetCalculations(result.DisplayCalculationValues);
                // refresh chart
                ComparisonGraph.UpdateGraph();
                asyncCalculation = null;
            }
        }