- aggiunte icone finestra
- aggiunta gestione TitlePanel
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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 |
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user