From b562cb8b316a490a9fefbfa1fe8c1c2f38e5ab2e Mon Sep 17 00:00:00 2001 From: B1ackSand Date: Thu, 5 Oct 2023 04:14:18 +0800 Subject: [PATCH 1/6] fix a bug of negative mode. --- LiaoTian_Cup/Mode/NegativeFactorWindow.xaml.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/LiaoTian_Cup/Mode/NegativeFactorWindow.xaml.cs b/LiaoTian_Cup/Mode/NegativeFactorWindow.xaml.cs index 1950677..675d055 100644 --- a/LiaoTian_Cup/Mode/NegativeFactorWindow.xaml.cs +++ b/LiaoTian_Cup/Mode/NegativeFactorWindow.xaml.cs @@ -85,10 +85,10 @@ private void RandomCommanderInfo() BeforeCommander3.Source = new BitmapImage(new Uri($"{commanderDir}{FileData.beforeCommanderInfo[beforeRandNum[2]]}.png", UriKind.Relative)); BeforeCommander4.Source = new BitmapImage(new Uri($"{commanderDir}{FileData.beforeCommanderInfo[beforeRandNum[3]]}.png", UriKind.Relative)); - AfterCommander1.Source = new BitmapImage(new Uri($"{commanderDir}{FileData.beforeCommanderInfo[afterRandNum[0]]}.png", UriKind.Relative)); - AfterCommander2.Source = new BitmapImage(new Uri($"{commanderDir}{FileData.beforeCommanderInfo[afterRandNum[1]]}.png", UriKind.Relative)); - AfterCommander3.Source = new BitmapImage(new Uri($"{commanderDir}{FileData.beforeCommanderInfo[afterRandNum[2]]}.png", UriKind.Relative)); - AfterCommander4.Source = new BitmapImage(new Uri($"{commanderDir}{FileData.beforeCommanderInfo[afterRandNum[3]]}.png", UriKind.Relative)); + AfterCommander1.Source = new BitmapImage(new Uri($"{commanderDir}{FileData.afterCommanderInfo[afterRandNum[0]]}.png", UriKind.Relative)); + AfterCommander2.Source = new BitmapImage(new Uri($"{commanderDir}{FileData.afterCommanderInfo[afterRandNum[1]]}.png", UriKind.Relative)); + AfterCommander3.Source = new BitmapImage(new Uri($"{commanderDir}{FileData.afterCommanderInfo[afterRandNum[2]]}.png", UriKind.Relative)); + AfterCommander4.Source = new BitmapImage(new Uri($"{commanderDir}{FileData.afterCommanderInfo[afterRandNum[3]]}.png", UriKind.Relative)); } //随机先出和后出指挥官清除显示 From 62811e7c3d350ed064f924f9bd84f3ff223c738b Mon Sep 17 00:00:00 2001 From: B1ackSand Date: Thu, 5 Oct 2023 16:13:36 +0800 Subject: [PATCH 2/6] modified style. --- LiaoTian_Cup/Mode/DoublesModeWindow.xaml | 88 +++++++++++++----------- LiaoTian_Cup/Mode/HubModeWindow.xaml | 86 ++++++++++++----------- LiaoTian_Cup/Mode/USuckModeWindow.xaml | 88 +++++++++++++----------- 3 files changed, 142 insertions(+), 120 deletions(-) diff --git a/LiaoTian_Cup/Mode/DoublesModeWindow.xaml b/LiaoTian_Cup/Mode/DoublesModeWindow.xaml index 1deadca..b71dca7 100644 --- a/LiaoTian_Cup/Mode/DoublesModeWindow.xaml +++ b/LiaoTian_Cup/Mode/DoublesModeWindow.xaml @@ -23,8 +23,7 @@ - - + @@ -161,49 +160,58 @@ - - - - + + + + + - - + + + + + - - - - - + + - + + + + + + + + + - + diff --git a/LiaoTian_Cup/Mode/HubModeWindow.xaml b/LiaoTian_Cup/Mode/HubModeWindow.xaml index 4ed7efb..cc49428 100644 --- a/LiaoTian_Cup/Mode/HubModeWindow.xaml +++ b/LiaoTian_Cup/Mode/HubModeWindow.xaml @@ -24,8 +24,7 @@ - - + @@ -196,49 +195,56 @@ - - - - + + + + - - + + + + + - - - - - + + - + + + + + + + + - + diff --git a/LiaoTian_Cup/Mode/USuckModeWindow.xaml b/LiaoTian_Cup/Mode/USuckModeWindow.xaml index 65d386a..cf29577 100644 --- a/LiaoTian_Cup/Mode/USuckModeWindow.xaml +++ b/LiaoTian_Cup/Mode/USuckModeWindow.xaml @@ -23,8 +23,7 @@ - - + @@ -193,49 +192,58 @@ - - - - + + + + + - - + + + + + - - - - - + + - + + + + + + + + + - + From 35257b61da7e3e8b4ce09af453411e961e4dfcae Mon Sep 17 00:00:00 2001 From: B1ackSand Date: Fri, 6 Oct 2023 02:03:19 +0800 Subject: [PATCH 3/6] double mode ui modify. --- LiaoTian_Cup/Dictionary/BaseStyle.xaml | 94 +++---- LiaoTian_Cup/Dictionary/I18n/Lang.Designer.cs | 2 +- LiaoTian_Cup/Dictionary/I18n/Lang.resx | 2 +- LiaoTian_Cup/LiaoTian_Cup.csproj | 1 + LiaoTian_Cup/Mode/DoublesModeWindow.xaml | 253 ++++++++++++------ LiaoTian_Cup/Mode/DoublesModeWindow.xaml.cs | 26 +- 6 files changed, 251 insertions(+), 127 deletions(-) diff --git a/LiaoTian_Cup/Dictionary/BaseStyle.xaml b/LiaoTian_Cup/Dictionary/BaseStyle.xaml index 1af84b8..fc78f32 100644 --- a/LiaoTian_Cup/Dictionary/BaseStyle.xaml +++ b/LiaoTian_Cup/Dictionary/BaseStyle.xaml @@ -1,69 +1,71 @@ - - - + + + - + - + - + - \ No newline at end of file diff --git a/LiaoTian_Cup/Dictionary/I18n/Lang.Designer.cs b/LiaoTian_Cup/Dictionary/I18n/Lang.Designer.cs index a31fdde..91d91a6 100644 --- a/LiaoTian_Cup/Dictionary/I18n/Lang.Designer.cs +++ b/LiaoTian_Cup/Dictionary/I18n/Lang.Designer.cs @@ -268,7 +268,7 @@ public static string HasSelectCommanders { } /// - /// 查找类似 Free choice mutators picked: 的本地化字符串。 + /// 查找类似 Free mutators choiced: 的本地化字符串。 /// public static string HasSelectFreeMutators { get { diff --git a/LiaoTian_Cup/Dictionary/I18n/Lang.resx b/LiaoTian_Cup/Dictionary/I18n/Lang.resx index 574a56f..423fbbb 100644 --- a/LiaoTian_Cup/Dictionary/I18n/Lang.resx +++ b/LiaoTian_Cup/Dictionary/I18n/Lang.resx @@ -154,7 +154,7 @@ Awesome Cmdrs.: - Free choice mutators picked: + Free mutators choiced: Commander(s) picked: diff --git a/LiaoTian_Cup/LiaoTian_Cup.csproj b/LiaoTian_Cup/LiaoTian_Cup.csproj index 217e629..6960cc1 100644 --- a/LiaoTian_Cup/LiaoTian_Cup.csproj +++ b/LiaoTian_Cup/LiaoTian_Cup.csproj @@ -320,6 +320,7 @@ + diff --git a/LiaoTian_Cup/Mode/DoublesModeWindow.xaml b/LiaoTian_Cup/Mode/DoublesModeWindow.xaml index b71dca7..beb994e 100644 --- a/LiaoTian_Cup/Mode/DoublesModeWindow.xaml +++ b/LiaoTian_Cup/Mode/DoublesModeWindow.xaml @@ -17,8 +17,7 @@ - - + + + + + + + + + + + + + + + @@ -124,10 +168,6 @@ - - -