f365dee1c7
- Asterisco in fase di modifica; - salvataggio in caso di cambio porta solo se presente asterisco; - asterisco in fase di creazione nuova porta.
39 lines
1.9 KiB
XML
39 lines
1.9 KiB
XML
<EgtWPFLib5:EgtCustomWindow x:Class="MainWindow"
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:EgtDOORCreator="clr-namespace:EgtDOORCreator"
|
|
xmlns:EgtWPFLib5="clr-namespace:EgtWPFLib5;assembly=EgtWPFLib5"
|
|
Title="{Binding ProjectNameMsg}" Icon="/Resources/EgtCAM5.ico"
|
|
TitleBarBrush="{StaticResource EgaltechBlue1}"
|
|
BorderBrush="{StaticResource EgaltechBlue1}" BorderThickness="2"
|
|
MinHeight="600" MinWidth="800" Height="768" Width="1366"
|
|
AboutBox="{Binding AboutBox}" WindowStyle="None" ResizeMode="NoResize" TitleBarHeight="32"
|
|
CloseCommand="{Binding CloseApplicationCommand,Mode=OneWay,UpdateSourceTrigger=PropertyChanged}">
|
|
<EgtWPFLib5:EgtCustomWindow.InputBindings>
|
|
<KeyBinding Key="Enter" Command="{Binding DataContext.RefreshCmd,RelativeSource={RelativeSource AncestorType={x:Type UserControl}}}"/>
|
|
</EgtWPFLib5:EgtCustomWindow.InputBindings>
|
|
<EgtWPFLib5:EgtCustomWindow.TitleUserControl >
|
|
<EgtDOORCreator:ProjectManagerView DataContext="{Binding ProjectManagerViewModel}"/>
|
|
</EgtWPFLib5:EgtCustomWindow.TitleUserControl>
|
|
|
|
<Grid>
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="1*"/>
|
|
<ColumnDefinition Width="5*"/>
|
|
<ColumnDefinition Width="5*"/>
|
|
</Grid.ColumnDefinitions>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition Height="1*"/>
|
|
</Grid.RowDefinitions>
|
|
|
|
<!--ContentPresenter that contains the DoorParameters-->
|
|
<ContentPresenter Grid.Column="0" Grid.RowSpan="2" Content="{Binding CompoPanel}"/>
|
|
<ContentPresenter Grid.Column="1" Content="{Binding DoorManager}"/>
|
|
<ContentPresenter Grid.Column="1" Grid.Row="1" Content="{Binding DoorParameters}"/>
|
|
<ContentPresenter Grid.Column="2" Grid.RowSpan="2" Content="{Binding SceneManager}"/>
|
|
|
|
</Grid>
|
|
|
|
</EgtWPFLib5:EgtCustomWindow>
|