Commit 9c91dc00 authored by JoyJ's avatar JoyJ

cleanup

parent 0af72d38
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Windows.Forms.DataVisualization.Charting;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.IO;
using System.Windows.Forms;
using System.Windows.Forms.DataVisualization.Charting;
namespace YGO_DeckAnalyzer
{
......@@ -115,7 +110,7 @@ namespace YGO_DeckAnalyzer
cChart.BackImage = new FileInfo("pics\\bg.png").FullName;
cChart.BackImageWrapMode = ChartImageWrapMode.Scaled;
}
}
private void TrackBar1_Scroll(object sender, EventArgs e)
......@@ -202,7 +197,7 @@ namespace YGO_DeckAnalyzer
private void BtnColor_Click(object sender, EventArgs e)
{
if (colorSetColor.ShowDialog()== DialogResult.OK)
if (colorSetColor.ShowDialog() == DialogResult.OK)
{
cChart.Series[0].LabelForeColor = colorSetColor.Color;
cChart.Legends[0].ForeColor = colorSetColor.Color;
......
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace YGO_DeckAnalyzer
......
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 有关程序集的一般信息由以下
......
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Data.SQLite;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace YGO_DeckAnalyzer
......@@ -525,7 +522,7 @@ namespace YGO_DeckAnalyzer
return "00灵魂";
case 42352091:
case 79747096:
case 4019153 :
case 4019153:
case 15232745:
case 42230449:
case 78625448:
......@@ -1093,7 +1090,7 @@ namespace YGO_DeckAnalyzer
if (series.Keys.Contains("0143"))
{
series["0143"] = "黄金国";
}
}
if (series.Keys.Contains("2142"))
{
series["2142"] = "黄金国";
......@@ -1207,7 +1204,7 @@ namespace YGO_DeckAnalyzer
{
if (Directory.Exists(file))
{
this.listDecks.Items.AddRange(Directory.EnumerateFiles(file,"*.ydk",SearchOption.AllDirectories).ToArray());
this.listDecks.Items.AddRange(Directory.EnumerateFiles(file, "*.ydk", SearchOption.AllDirectories).ToArray());
}
else
{
......@@ -1609,7 +1606,7 @@ namespace YGO_DeckAnalyzer
private void bwWorker_ProgressChanged(object sender, ProgressChangedEventArgs e)
{
if (e.UserState is Dictionary<string,int>)
if (e.UserState is Dictionary<string, int>)
{
FormChart form = new FormChart(e.UserState as Dictionary<string,int>);
form.Show();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment