Example #1
0
 public void UpdateDisplayCalculationValues(Dictionary<string, string> displayCalculationValues, CharacterCalculationsBase _calculatedStats)
 {
     CalculationDisplay.SetCalculations(displayCalculationValues);
     string status;
     if (!displayCalculationValues.TryGetValue("Status", out status))
     {
         int i = 0;
         status = "Overall: " + Math.Round(_calculatedStats.OverallPoints);
         foreach (KeyValuePair<string, Color> kvp in Calculations.SubPointNameColors)
         {
             status += ", " + kvp.Key + ": " + Math.Round(_calculatedStats.SubPoints[i]);
             i++;
         }
         //status = "Rawr version " + typeof(Calculations).Assembly.GetName().Version.ToString();
     }
     StatusText.Text = status;
 }
Example #2
0
 // TODO: Load Possible Upgrades from Wowhead
 // TODO: Import from Wowhead Filter
 #region Update Item Cache from Wowhead
 private void StartProcessing()
 {
     //Cursor = Cursors.WaitCursor;
     if (status == null /*|| status.IsDisposed*/)
     {
         status = new Status();
     }
     status.Show();
     //menuStripMain.Enabled = false;
     //ItemContextualMenu.Instance.Enabled = false;
     //FormItemSelection.Enabled = false;
 }