7eb8240749
- MachGroupPanelVM, MachinePanelVM, StatusBarVM spostati in EgtWPFLib5. Ora qua sono presenti le versioni My_ che ereditano quelle della Libreria. - ComboBox della Macchina corrente spostata in MachinePanel (accanto a Db Ut./Lav./SetUp). - modificato OptionPanel in modo da gestire i nuovi DrawOptionPanel e MachiningOptionPanel in base alle modalità DISEGNA e LAVORA. - ogni Expander di MachiningOptionPanel ora ha il suo VM e il suo V. - nuova gestione degli Expander di MachiningOptionPanel tramite funzioni Init e Exit. - barra TOPTRAY ora può estendersi su una seconda riga in base a larghezza finestra. - eliminati molti Application.Msn.Register/NotifyColleagues. Ora le funzioni che chiamavano sono chiamate tramite i riferimenti in Map. - corretta selezione superfici quando si sceglie Nuova Lav. in LAVORA.
45 lines
1.4 KiB
XML
45 lines
1.4 KiB
XML
<UserControl x:Class="EstimationsExpanderV"
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:sys="clr-namespace:System;assembly=mscorlib"
|
|
xmlns:EgtWPFLib5="clr-namespace:EgtWPFLib5;assembly=EgtWPFLib5">
|
|
|
|
<StackPanel>
|
|
|
|
<Expander Header="{Binding EstimationMsg}"
|
|
IsExpanded="{Binding Estimation_IsExpanded}"
|
|
IsEnabled="{Binding Estimation_IsEnabled}"
|
|
Style="{StaticResource ExpanderStyle}">
|
|
|
|
<StackPanel Margin="2,2,2,0">
|
|
|
|
<UniformGrid Columns="2" Margin="0,0,0,5">
|
|
|
|
<TextBlock Text="{Binding TotalTimeMsg}"/>
|
|
<TextBox Text="{Binding TotalTime, Mode=OneWay}"
|
|
IsReadOnly="True"
|
|
TextAlignment="Right"/>
|
|
|
|
</UniformGrid>
|
|
|
|
<UniformGrid Columns="2" Margin="0,0,0,5">
|
|
|
|
<TextBlock Text="{Binding TotalLengthMsg}"/>
|
|
<TextBox Text="{Binding TotalLength, Mode=OneWay}"
|
|
IsReadOnly="True"
|
|
TextAlignment="Right"/>
|
|
|
|
</UniformGrid>
|
|
|
|
<Button Content="{Binding DetailsMsg}" Height="30"
|
|
Command="{Binding Details_Command}"
|
|
Margin="0,0,0,2"/>
|
|
|
|
</StackPanel>
|
|
|
|
</Expander>
|
|
|
|
</StackPanel>
|
|
|
|
</UserControl>
|