Skip to content

Commit

Permalink
修复编译错误...
Browse files Browse the repository at this point in the history
  • Loading branch information
TwilightLemon committed Jul 2, 2024
1 parent 1962f55 commit 2169cd3
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions LemonApp/MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public partial class MainWindow : Window
#region 一些字段
//-------Mini--------
private MiniPlayer mini;
private SMTCHelper Smtc;
private SMTCCreator Smtc;
System.Windows.Forms.Timer LyricTimer = new System.Windows.Forms.Timer();
public PlayDLItem MusicData = new PlayDLItem(new Music());
bool isplay = false;
Expand Down Expand Up @@ -263,7 +263,7 @@ private async void window_Loaded(object sender, RoutedEventArgs e)
//----Load Mini-----------------
mini = new MiniPlayer(this);
//-----Load SMTC--------------
Smtc = new SMTCHelper("Lemon App");
Smtc = new ("Lemon App");
Smtc.PlayOrPause += delegate { Dispatcher.Invoke(() => PlayBtn_MouseDown(null, null)); };
Smtc.Next += delegate { Dispatcher.Invoke(() => PlayControl_PlayNext(null, null)); };
Smtc.Previous += delegate { Dispatcher.Invoke(() => PlayControl_PlayLast(null, null)); };
Expand Down Expand Up @@ -901,7 +901,7 @@ private async void SettingsPage_About_MouseDown(object sender, MouseButtonEventA
SettingsPage_AboutPage.Children.Add((Grid)XamlReader.Parse(data));
SettingsPage_NSPage(SettingsPage_AboutPage);
}
private async void BindMyToolBar_Click(object sender, RoutedEventArgs e)
private void BindMyToolBar_Click(object sender, RoutedEventArgs e)
{
Settings.USettings.BindMyToolBar = (bool)BindMyToolBar.IsChecked;
}
Expand Down
2 changes: 1 addition & 1 deletion LemonApp/Properties/PublishProfiles/FolderProfile.pubxml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ https://go.microsoft.com/fwlink/?LinkID=208121.
<PublishDir>bin\Publish\x64\</PublishDir>
<PublishProtocol>FileSystem</PublishProtocol>
<_TargetId>Folder</_TargetId>
<TargetFramework>net6.0-windows</TargetFramework>
<TargetFramework>net6.0-windows10.0.17763.0</TargetFramework>
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
<SelfContained>false</SelfContained>
<PublishSingleFile>false</PublishSingleFile>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ https://go.microsoft.com/fwlink/?LinkID=208121.
<PublishDir>bin\Publish\x86\</PublishDir>
<PublishProtocol>FileSystem</PublishProtocol>
<_TargetId>Folder</_TargetId>
<TargetFramework>net6.0-windows</TargetFramework>
<TargetFramework>net6.0-windows10.0.17763.0</TargetFramework>
<RuntimeIdentifier>win-x86</RuntimeIdentifier>
<SelfContained>false</SelfContained>
<PublishSingleFile>false</PublishSingleFile>
Expand Down
2 changes: 1 addition & 1 deletion LemonLib/LemonLib.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<PropertyGroup>
<TargetFramework>net6.0-windows10.0.17763.0</TargetFramework>
<UseWPF>true</UseWPF>
<OutputType>Exe</OutputType>
<OutputType>Library</OutputType>
<Version>1.2.9.7</Version>
<Authors>TwilightLemon</Authors>
</PropertyGroup>
Expand Down

0 comments on commit 2169cd3

Please sign in to comment.