modifica controllo OverwritePrompt

This commit is contained in:
Demetrio Cassarino
2023-10-12 17:23:02 +02:00
parent f3f48f0794
commit 6eb6e817b8
3 changed files with 3 additions and 2 deletions
@@ -1,4 +1,5 @@
Imports System.Windows.Forms
Imports EgtWPFLib5
Public Class EgtManageFileDialogV
@@ -503,7 +503,7 @@ Public Class EgtManageFileDialogVM
End If
Next
ElseIf m_bValidateNames = False And m_bOverwritePrompt Then
If m_sFileName.Equals(m_sSaveFileName) Or m_sSaveFileName.Equals(CurrItem.sName) Then
If m_sFileName.Equals(m_sSaveFileName) OrElse m_sSaveFileName.Equals(CurrItem.sName) Then
If EgtMessageBoxV.Show(Application.Current.MainWindow, EgtMsg(15073), sTitle, MessageBoxButton.YesNo, MessageBoxImage.Warning) = MessageBoxResult.No Then
Return
End If
+1 -1
View File
@@ -150,6 +150,7 @@
<DependentUpon>DispositionPanelV.xaml</DependentUpon>
</Compile>
<Compile Include="DispositionPanel\DispositionPanelVM.vb" />
<Compile Include="EgtManageFileDialog\EgtManageFileDialogVM.vb" />
<Compile Include="EgtMessageBox\EgtMessageBoxV.xaml.vb">
<DependentUpon>EgtMessageBoxV.xaml</DependentUpon>
</Compile>
@@ -160,7 +161,6 @@
<Compile Include="EgtManageFileDialog\EgtManageFileDialogV.xaml.vb">
<DependentUpon>EgtManageFileDialogV.xaml</DependentUpon>
</Compile>
<Compile Include="EgtManageFileDialog\EgtManageFileDialogVM.vb" />
<Compile Include="FilledSolidPanel\FilledSolidPanelV.xaml.vb">
<DependentUpon>FilledSolidPanelV.xaml</DependentUpon>
</Compile>