- introdotto uso window da EgwWPFBaseLib
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user