mirror of
https://github.com/SpaceTimee/Sheas-Cealer.git
synced 2025-07-13 04:42:09 +08:00
1.1.3 -> 1.1.4 第70次更新
This commit is contained in:
parent
c96d51459f
commit
bdf34249c6
@ -10,7 +10,7 @@
|
||||
WindowStartupLocation="CenterScreen" ResizeMode="NoResize" SizeToContent="Height" Width="500"
|
||||
d:DataContext="{d:DesignInstance preses:AboutPres}"
|
||||
Style="{DynamicResource CommonWindow}"
|
||||
Loaded="AboutWin_Loaded" KeyDown="AboutWin_KeyDown">
|
||||
SourceInitialized="AboutWin_SourceInitialized" Loaded="AboutWin_Loaded" KeyDown="AboutWin_KeyDown">
|
||||
<Grid Margin="5">
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="*" />
|
||||
|
@ -24,7 +24,7 @@ public partial class AboutWin : Window
|
||||
|
||||
DataContext = AboutPres = new();
|
||||
}
|
||||
protected override void OnSourceInitialized(EventArgs e)
|
||||
private void AboutWin_SourceInitialized(object sender, EventArgs e)
|
||||
{
|
||||
IconRemover.RemoveIcon(this);
|
||||
BorderThemeSetter.SetBorderTheme(this, AboutPres.IsLightTheme);
|
||||
|
@ -13,7 +13,7 @@
|
||||
d:DataContext="{d:DesignInstance preses:MainPres}"
|
||||
Style="{DynamicResource CommonWindow}"
|
||||
Width="{Binding Source={x:Static consts:MainConst.IsAdmin}, Converter={x:Static convs:MainConv.MainWinWidthConv}}"
|
||||
Loaded="MainWin_Loaded" Closing="MainWin_Closing" DragEnter="MainWin_DragEnter" Drop="MainWin_Drop" KeyDown="MainWin_KeyDown">
|
||||
SourceInitialized="MainWin_SourceInitialized" Loaded="MainWin_Loaded" Closing="MainWin_Closing" DragEnter="MainWin_DragEnter" Drop="MainWin_Drop" KeyDown="MainWin_KeyDown">
|
||||
<Grid Margin="5">
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="Auto" />
|
||||
|
@ -61,7 +61,7 @@ public partial class MainWin : Window
|
||||
|
||||
DataContext = MainPres = new(args);
|
||||
}
|
||||
protected override void OnSourceInitialized(EventArgs e)
|
||||
private void MainWin_SourceInitialized(object sender, EventArgs e)
|
||||
{
|
||||
IconRemover.RemoveIcon(this);
|
||||
BorderThemeSetter.SetBorderTheme(this, MainPres.IsLightTheme);
|
||||
|
@ -10,7 +10,7 @@
|
||||
WindowStartupLocation="CenterScreen" ResizeMode="NoResize" SizeToContent="Height" Width="500"
|
||||
d:DataContext="{d:DesignInstance preses:SettingsPres}"
|
||||
Style="{DynamicResource CommonWindow}"
|
||||
KeyDown="SettingsWin_KeyDown">
|
||||
SourceInitialized="SettingsWin_SourceInitialized" KeyDown="SettingsWin_KeyDown">
|
||||
<Grid Margin="5">
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="*" />
|
||||
|
@ -21,7 +21,7 @@ public partial class SettingsWin : Window
|
||||
|
||||
DataContext = SettingsPres = new();
|
||||
}
|
||||
protected override void OnSourceInitialized(EventArgs e)
|
||||
private void SettingsWin_SourceInitialized(object sender, EventArgs e)
|
||||
{
|
||||
IconRemover.RemoveIcon(this);
|
||||
BorderThemeSetter.SetBorderTheme(this, SettingsPres.IsLightTheme);
|
||||
|
Loading…
Reference in New Issue
Block a user