- aggiunte icone finestra

- aggiunta gestione TitlePanel
This commit is contained in:
Emmanuele Sassi
2023-03-08 10:35:20 +01:00
parent db66fa17cd
commit 3c0490e659
5 changed files with 7 additions and 3 deletions
+2 -2
View File
@@ -13,11 +13,11 @@
AllowDrop="True" Drop="MainWindowV_Drop"
ShowInTaskbar="True"
Topmost="False">
<!--<EgtWPFLib5:EgtCustomWindow.TitlePanel>
<EgtWPFLib48:EgtMainWindow.TitlePanel>
<PrintApp:ProjManagerV DataContext="{StaticResource ProjManagerVM}"/>
</EgtWPFLib5:EgtCustomWindow.TitlePanel>-->
</EgtWPFLib48:EgtMainWindow.TitlePanel>
<Grid>
<Grid.RowDefinitions>
+3
View File
@@ -50,6 +50,9 @@ Public Class MainWindowVM
Get
Dim sFilePath As String = ""
EgtGetCurrFilePath(sFilePath)
If String.IsNullOrEmpty(sFilePath) Then
sFilePath = EgtMsg(MSG_TOPCOMMANDBAR + 1) & Map.refMainWindowVM.MainWindowM.nInstance.ToString()
End If
Return sFilePath
End Get
End Property
Binary file not shown.

Before

Width:  |  Height:  |  Size: 136 B

After

Width:  |  Height:  |  Size: 159 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 321 B

+2 -1
View File
@@ -4097,7 +4097,8 @@
<ColumnDefinition Width="Auto"/>
<ColumnDefinition Width="1*"/>
</Grid.ColumnDefinitions>
<PrintApp:ProjManagerV DataContext="{StaticResource ProjManagerVM}"/>
<ContentPresenter Content="{TemplateBinding TitlePanel}"
VerticalAlignment="Center"/>
<TextBlock Text="{TemplateBinding ProjectName}"
ToolTip="{TemplateBinding ProjectPath}"
Grid.Column="1"