Exemplo n.º 1
0
 public DamageChart(DamageChartType chartType)
 {
     InitializeComponent();
     this.chartType = chartType;
     switch (chartType) {
         case DamageChartType.DamageDealt:
             this.mChart.Palette = System.Windows.Forms.DataVisualization.Charting.ChartColorPalette.BrightPastel;
             chartTitle.Text = "Damage Dealt"; break;
         case DamageChartType.DamageTaken:
             this.mChart.Palette = System.Windows.Forms.DataVisualization.Charting.ChartColorPalette.Chocolate;
             chartTitle.Text = "Damage Taken"; break;
         case DamageChartType.HealingDone:
             this.mChart.Palette = System.Windows.Forms.DataVisualization.Charting.ChartColorPalette.EarthTones;
             chartTitle.Text = "Healing Done"; break;
     }
     this.Name = "Tibialyzer (Damage Form)";
     this.Text = "Tibialyzer (Damage Form)";
 }
Exemplo n.º 2
0
        public DamageChart(DamageChartType chartType)
        {
            InitializeComponent();
            this.chartType = chartType;
            switch (chartType)
            {
            case DamageChartType.DamageDealt:
                this.mChart.Palette = System.Windows.Forms.DataVisualization.Charting.ChartColorPalette.BrightPastel;
                chartTitle.Text     = "Damage Dealt"; break;

            case DamageChartType.DamageTaken:
                this.mChart.Palette = System.Windows.Forms.DataVisualization.Charting.ChartColorPalette.Chocolate;
                chartTitle.Text     = "Damage Taken"; break;

            case DamageChartType.HealingDone:
                this.mChart.Palette = System.Windows.Forms.DataVisualization.Charting.ChartColorPalette.EarthTones;
                chartTitle.Text     = "Healing Done"; break;
            }
            this.Name = "Tibialyzer (Damage Form)";
            this.Text = "Tibialyzer (Damage Form)";
        }
Exemplo n.º 3
0
        public static void ShowDamageMeter(Dictionary <string, DamageResult> dps, string comm, DamageChartType chartType, string filter = "", string screenshot_path = "")
        {
            DamageChart f = new DamageChart(chartType);

            f.dps    = dps;
            f.filter = filter;

            ShowNotification(f, comm, screenshot_path);
        }
Exemplo n.º 4
0
        public static void ShowDamageMeter(Dictionary<string, DamageResult> dps, string comm, DamageChartType chartType, string filter = "", string screenshot_path = "")
        {
            DamageChart f = new DamageChart(chartType);
            f.dps = dps;
            f.filter = filter;

            ShowNotification(f, comm, screenshot_path);
        }