Skip to content

Commit

Permalink
Target dotnet 6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
UniqProject committed Feb 27, 2023
1 parent d7d3cba commit 90b2000
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 22 deletions.
39 changes: 18 additions & 21 deletions SampleCopy/MainForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -356,13 +356,12 @@ private void InitBDROMWork(object sender, DoWorkEventArgs e)

protected bool BDROM_PlaylistFileScanError(TSPlaylistFile playlistFile, Exception ex)
{
var result = MessageBox.Show($"""
An error occurred while scanning the playlist file {playlistFile.Name}.

The disc may be copy-protected or damaged.

Do you want to continue scanning the playlist files?
""",
var result = MessageBox.Show(
$"An error occurred while scanning the playlist file {playlistFile.Name}.\r\n" +
$"\r\n" +
$"The disc may be copy-protected or damaged.\r\n" +
$"\r\n" +
$"Do you want to continue scanning the playlist files?",
@"BDInfo Scan Error", MessageBoxButtons.YesNo);

return result == DialogResult.Yes;
Expand All @@ -371,13 +370,12 @@ Do you want to continue scanning the playlist files?
protected bool BDROM_StreamFileScanError(TSStreamFile streamFile,
Exception ex)
{
var result = MessageBox.Show($"""
An error occurred while scanning the stream file {streamFile.Name}.

The disc may be copy-protected or damaged.

Do you want to continue scanning the stream files?
""",
var result = MessageBox.Show(
$"An error occurred while scanning the stream file {streamFile.Name}.\r\n" +
$"\r\n" +
$"The disc may be copy-protected or damaged.\r\n" +
$"\r\n" +
$"Do you want to continue scanning the stream files?",
@"BDInfo Scan Error", MessageBoxButtons.YesNo);

return result == DialogResult.Yes;
Expand All @@ -386,13 +384,12 @@ Do you want to continue scanning the stream files?
protected bool BDROM_StreamClipFileScanError(TSStreamClipFile streamClipFile,
Exception ex)
{
var result = MessageBox.Show($"""
An error occurred while scanning the stream clip file {streamClipFile.Name}.

The disc may be copy-protected or damaged.

Do you want to continue scanning the stream clip files?
""",
var result = MessageBox.Show(
$"An error occurred while scanning the stream clip file {streamClipFile.Name}.\r\n" +
$"\r\n" +
$"The disc may be copy-protected or damaged.\r\n" +
$"\r\n" +
$"Do you want to continue scanning the stream clip files?",
@"BDInfo Scan Error", MessageBoxButtons.YesNo);

return result == DialogResult.Yes;
Expand Down
2 changes: 1 addition & 1 deletion SampleCopy/SampleCopy.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>WinExe</OutputType>
<TargetFramework>net7.0-windows</TargetFramework>
<TargetFramework>net6.0-windows</TargetFramework>
<UseWindowsForms>true</UseWindowsForms>
<ApplicationManifest>app.manifest</ApplicationManifest>
<Configurations>Debug;Release;Beta</Configurations>
Expand Down
2 changes: 2 additions & 0 deletions SampleCopy/SampleCopy.csproj.DotSettings
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<wpf:ResourceDictionary xml:space="preserve" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:s="clr-namespace:System;assembly=mscorlib" xmlns:ss="urn:shemas-jetbrains-com:settings-storage-xaml" xmlns:wpf="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
<s:String x:Key="/Default/CodeInspection/CSharpLanguageProject/LanguageLevel/@EntryValue">Preview</s:String></wpf:ResourceDictionary>

0 comments on commit 90b2000

Please sign in to comment.