- introdotto uso window da EgwWPFBaseLib

This commit is contained in:
Emmanuele Sassi
2025-02-26 14:47:28 +01:00
parent 8e36167ef4
commit e657e53f7a
3 changed files with 14 additions and 10 deletions
+3
View File
@@ -92,6 +92,9 @@
<Reference Include="Effector.Plugin.Lib">
<HintPath>..\..\Effector.Plugin.Lib\Effector.Plugin.Lib\bin\Debug\Effector.Plugin.Lib.dll</HintPath>
</Reference>
<Reference Include="EgwWPFBaseLib">
<HintPath>..\..\..\EgwWPFBaseLib\EgwWPFBaseLib\bin\Debug\EgwWPFBaseLib.dll</HintPath>
</Reference>
<Reference Include="KeraLua, Version=1.4.1.0, Culture=neutral, PublicKeyToken=6a194c04b9c89217, processorArchitecture=MSIL">
<HintPath>..\packages\KeraLua.1.4.1\lib\net46\KeraLua.dll</HintPath>
</Reference>
+10 -9
View File
@@ -1,16 +1,17 @@
<Lib:EgtWindow x:Class="MainWindowV"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:Effector.Main"
xmlns:Lib="clr-namespace:Effector.Plugin.Lib;assembly=Effector.Plugin.Lib"
TitleBarHeight="40"
Title="{Binding sTitle}">
<EgwWPFBaseLib:EgtWindow x:Class="MainWindowV"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:Effector.Main"
xmlns:Lib="clr-namespace:Effector.Plugin.Lib;assembly=Effector.Plugin.Lib"
xmlns:EgwWPFBaseLib="clr-namespace:EgwWPFBaseLib;assembly=EgwWPFBaseLib"
TitleBarHeight="40"
Title="{Binding sTitle}">
<Window.OpacityMask>
<SolidColorBrush Color="White" Opacity="{Binding Window_Opacity}"/>
</Window.OpacityMask>
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="{Binding TitleBarHeight, RelativeSource={RelativeSource AncestorType={x:Type Lib:EgtWindow}}}"/>
<RowDefinition Height="{Binding TitleBarHeight, RelativeSource={RelativeSource AncestorType={x:Type local:MainWindowV}}}"/>
<RowDefinition Height="1*"/>
</Grid.RowDefinitions>
<Grid>
@@ -113,4 +114,4 @@
Content="{Binding ContentPanel}"
BorderThickness="0"/>
</Grid>
</Lib:EgtWindow>
</EgwWPFBaseLib:EgtWindow>
+1 -1
View File
@@ -8,7 +8,7 @@ Imports System.Xml.Serialization
Imports Effector.Plugin.Lib
Class MainWindowV
Inherits Effector.Plugin.Lib.EgtWindow
Inherits EgwWPFBaseLib.EgtWindow
Private m_MainWindowVM As MainWindowVM