Skip to content

Commit b3dd95d

Browse files
committed
删除一些无用的按钮
1 parent 56c841c commit b3dd95d

File tree

5 files changed

+1
-51
lines changed

5 files changed

+1
-51
lines changed

Plain Craft Launcher 2/FormMain.xaml.vb

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ Public Class FormMain
8080
'1:BUG-
8181
If LastVersion < 358 Then
8282
FeatureList.Add(New KeyValuePair(Of Integer, String)(4, "添加了更新通道机制"))
83-
FeatureList.Add(New KeyValuePair(Of Integer, String)(4, "添加了国内本体更新和公告服务器,感谢 @Pysio2007"))
83+
FeatureList.Add(New KeyValuePair(Of Integer, String)(4, "添加了国内本体更新和公告服务器,感谢 @pysio2007"))
8484
FeatureList.Add(New KeyValuePair(Of Integer, String)(3, "Authlib 验证可能失败"))
8585
FeatureList.Add(New KeyValuePair(Of Integer, String)(3, "自动安装不提示 Quilt 与 OptiFine 不兼容"))
8686
FeatureCount += 4

Plain Craft Launcher 2/Pages/PageOther/PageOtherAbout.xaml

-11
Original file line numberDiff line numberDiff line change
@@ -223,17 +223,6 @@
223223
<TextBlock Width="120" Margin="0,1.5" Text="游戏人生" />
224224
<TextBlock Width="120" Margin="0,1.5" Text="Lunaunde" />
225225
</WrapPanel>
226-
<Grid Height="35">
227-
<Grid.ColumnDefinitions>
228-
<ColumnDefinition Width="Auto" SharedSizeGroup="Button" />
229-
<ColumnDefinition Width="Auto" SharedSizeGroup="Button" />
230-
<ColumnDefinition Width="Auto" SharedSizeGroup="Button" />
231-
</Grid.ColumnDefinitions>
232-
<local:MyButton x:Name="BtnDonateOutput" Grid.Column="0" MinWidth="140" Text="生成解锁码" Padding="13,0" Margin="0,0,20,0" HorizontalAlignment="Left" ColorType="Highlight" Visibility="Collapsed" />
233-
<local:MyButton x:Name="BtnDonateDonate" Grid.Column="0" MinWidth="140" Text="赞助作者" Padding="13,0" Margin="0,0,20,0" HorizontalAlignment="Left" ColorType="Highlight" EventType="打开网页" EventData="https://afdian.com/a/LTCat" />
234-
<local:MyButton x:Name="BtnDonateCopy" Grid.Column="1" MinWidth="140" Text="复制识别码" Padding="13,0" Margin="0,0,20,0" HorizontalAlignment="Left" />
235-
<local:MyButton x:Name="BtnDonateInput" Grid.Column="2" MinWidth="140" Text="输入解锁码" Padding="13,0" Margin="0,0,20,0" HorizontalAlignment="Left" />
236-
</Grid>
237226
</StackPanel>
238227
</local:MyCard>
239228
<local:MyCard Margin="0,0,0,15" Title="法律信息" IsSwaped="True" CanSwap="True">

Plain Craft Launcher 2/Pages/PageOther/PageOtherAbout.xaml.vb

-16
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,6 @@
1111
IsLoaded = True
1212

1313
ItemAboutPcl.Info = ItemAboutPcl.Info.Replace("%VERSION%", VersionBaseName).Replace("%VERSIONCODE%", VersionCode).Replace("%BRANCH%", VersionBranchName).Replace("%COMMIT_HASH%", CommitHashShort).Replace("%UPSTREAM_VERSION%", UpstreamVersion)
14-
#If DEBUG Then
15-
BtnDonateDonate.Visibility = Visibility.Collapsed
16-
BtnDonateOutput.Visibility = Visibility.Visible
17-
#End If
1814

1915
End Sub
2016

@@ -24,17 +20,5 @@
2420
Private Sub BtnAboutWiki_Click(sender As Object, e As EventArgs) Handles BtnAboutWiki.Click
2521
OpenWebsite("https://www.mcmod.cn")
2622
End Sub
27-
Public Shared Sub CopyUniqueAddress() Handles BtnDonateCopy.Click
28-
ClipboardSet(UniqueAddress)
29-
End Sub
30-
Private Sub BtnDonateCodeInput_Click() Handles BtnDonateInput.Click
31-
DonateCodeInput()
32-
End Sub
33-
34-
#If DEBUG Then
35-
Private Sub BtnDonateOutput_Click(sender As Object, e As EventArgs) Handles BtnDonateOutput.Click
36-
DonateCodeGenerate()
37-
End Sub
38-
#End If
3923

4024
End Class

Plain Craft Launcher 2/Pages/PageSetup/PageSetupSystem.xaml

-8
Original file line numberDiff line numberDiff line change
@@ -166,14 +166,6 @@ ToolTip="如果你禁用了硬件加速,那么建议你调低最高动画帧
166166
<local:MyButton Grid.Column="1" x:Name="BtnSystemSettingExp" MinWidth="140" Text="导出设置" Padding="13,0" Margin="0,0,20,0" />
167167
<local:MyButton Grid.Column="2" x:Name="BtnSystemSettingImp" MinWidth="140" Text="导入设置" Padding="13,0" Margin="0,0,20,0" />
168168
</Grid>
169-
<Grid Height="35" Grid.Row="13" Grid.ColumnSpan="5" Margin="0,12,0,0" x:Name="PanDonate">
170-
<Grid.ColumnDefinitions>
171-
<ColumnDefinition Width="Auto" SharedSizeGroup="Button" />
172-
<ColumnDefinition Width="Auto" SharedSizeGroup="Button" />
173-
</Grid.ColumnDefinitions>
174-
<local:MyButton Grid.Column="0" x:Name="BtnSystemIdentify" MinWidth="140" Text="复制识别码" Padding="13,0" Margin="0,0,20,0" />
175-
<local:MyButton Grid.Column="1" x:Name="BtnSystemUnlock" MinWidth="140" Text="输入解锁码" Padding="13,0" Margin="0,0,20,0" />
176-
</Grid>
177169
</Grid>
178170
</local:MyCard>
179171

Plain Craft Launcher 2/Pages/PageSetup/PageSetupSystem.xaml.vb

-15
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,6 @@
77
'重复加载部分
88
PanBack.ScrollToHome()
99

10-
#If RELEASE Then
11-
PanDonate.Visibility = Visibility.Collapsed
12-
#Else
13-
PanDonate.Visibility = Visibility.Visible
14-
ItemSystemUpdateDownload.Content = "在有新版本时自动下载"
15-
#End If
16-
1710
'非重复加载部分
1811
If IsLoaded Then Exit Sub
1912
IsLoaded = True
@@ -166,14 +159,6 @@
166159
Hint("此项变更将在重启 PCL 后生效")
167160
End Sub
168161

169-
'识别码/解锁码替代入口
170-
Private Sub BtnSystemIdentify_Click(sender As Object, e As MouseButtonEventArgs) Handles BtnSystemIdentify.Click
171-
PageOtherAbout.CopyUniqueAddress()
172-
End Sub
173-
Private Sub BtnSystemUnlock_Click(sender As Object, e As MouseButtonEventArgs) Handles BtnSystemUnlock.Click
174-
DonateCodeInput()
175-
End Sub
176-
177162
'调试模式
178163
Private Sub CheckDebugMode_Change() Handles CheckDebugMode.Change
179164
If AniControlEnabled = 0 Then Hint("部分调试信息将在刷新或启动器重启后切换显示!",, False)

0 commit comments

Comments
 (0)