Skip to content

Commit

Permalink
【一、新增功能】
Browse files Browse the repository at this point in the history
无
【二、修复优化】
【非常重要】**解决卡顿问题**
【非常重要】**更改主窗体为 BaseWindow**
  • Loading branch information
chao committed May 20, 2023
1 parent ab11b6a commit 1971ec7
Show file tree
Hide file tree
Showing 6 changed files with 257 additions and 305 deletions.
6 changes: 3 additions & 3 deletions Jvedio-WPF/Jvedio/App.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@ static App()

protected override void OnStartup(StartupEventArgs e)
{
//#if DEBUG
#if DEBUG
Console.WriteLine("***************OnStartup***************");
Console.WriteLine("Debug 不捕获未处理异常");
//#else
#else
bool createNew;
ProgramStarted = new EventWaitHandle(false, EventResetMode.AutoReset, "Jvedio", out createNew);
if (!createNew)
Expand Down Expand Up @@ -75,7 +75,7 @@ protected override void OnStartup(StartupEventArgs e)
// 非UI线程未捕获异常处理事件
AppDomain.CurrentDomain.UnhandledException += new UnhandledExceptionEventHandler(Window_ErrorMsg.CurrentDomain_UnhandledException);

//#endif
#endif
base.OnStartup(e);
}

Expand Down
1 change: 1 addition & 0 deletions Jvedio-WPF/Jvedio/Jvedio.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -565,6 +565,7 @@
<DesignTimeSharedInput>True</DesignTimeSharedInput>
</Compile>
<Content Include="Reference\CommonNet.dll" />
<Resource Include="Resources\Picture\star.png" />
<Resource Include="Resources\Picture\update.png" />
<Resource Include="Resources\Picture\setting.png" />
<Resource Include="Resources\Picture\about.png" />
Expand Down
Binary file modified Jvedio-WPF/Jvedio/Reference/SuperControls.Style.dll
Binary file not shown.
25 changes: 11 additions & 14 deletions Jvedio-WPF/Jvedio/Windows/Window_Details.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -1079,21 +1079,18 @@

</StackPanel>

<StackPanel
Width="auto"
Margin="0,20"
HorizontalAlignment="Left"

<super:Rating
Margin="5,10"
Cursor="Hand"
Visibility="{Binding Path=DisplayFavorites, Converter={StaticResource BoolToVisibilityConverter}, Source={x:Static p:Settings.Default}, Mode=OneWay}">
<super:Rating
FocusVisualStyle="{x:Null}"
Half="True"
RateBackground="{DynamicResource Window.Title.Background}"
RateForeground="{DynamicResource Common.HighLight.Deep.Background}"
StarMargin="3 0"
ValueChanged="Rate_ValueChanged"
Value="{Binding CurrentVideo.Grade, Mode=TwoWay}" />
</StackPanel>
FocusVisualStyle="{x:Null}"
Half="True"
RateBackground="{DynamicResource Window.Title.Background}"
RateForeground="{DynamicResource Common.HighLight.Deep.Background}"
StarMargin="3 0"
ValueChanged="Rate_ValueChanged"
Value="{Binding CurrentVideo.Grade, Mode=TwoWay}" />

</StackPanel>


Expand Down
Loading

0 comments on commit 1971ec7

Please sign in to comment.