diff --git a/EgtBEAMWALL.Core/BeamMachiningsWindow/BeamMachiningsWindowV.xaml b/EgtBEAMWALL.Core/BeamMachiningsWindow/BeamMachiningsWindowV.xaml index b5bab563..a11a82b5 100644 --- a/EgtBEAMWALL.Core/BeamMachiningsWindow/BeamMachiningsWindowV.xaml +++ b/EgtBEAMWALL.Core/BeamMachiningsWindow/BeamMachiningsWindowV.xaml @@ -1,15 +1,14 @@ - + @@ -68,14 +67,14 @@ - + - + @@ -96,7 +95,7 @@ - + @@ -158,4 +157,4 @@ - + diff --git a/EgtBEAMWALL.Core/BeamMachiningsWindow/BeamMachiningsWindowV.xaml.vb b/EgtBEAMWALL.Core/BeamMachiningsWindow/BeamMachiningsWindowV.xaml.vb index e6ac89ee..4fded533 100644 --- a/EgtBEAMWALL.Core/BeamMachiningsWindow/BeamMachiningsWindowV.xaml.vb +++ b/EgtBEAMWALL.Core/BeamMachiningsWindow/BeamMachiningsWindowV.xaml.vb @@ -3,7 +3,6 @@ Private WithEvents m_BeamMachiningsWindowVM As MyBeamMachiningsWindowVM Sub New(Owner As System.Windows.Window, BeamMachiningsWindowVM As MyBeamMachiningsWindowVM) - MyBase.New(Owner) ' This call is required by the designer. InitializeComponent() Me.DataContext = BeamMachiningsWindowVM diff --git a/EgtBEAMWALL.Core/ConfigurationPage/General_ConfigurationPageV.xaml b/EgtBEAMWALL.Core/ConfigurationPage/General_ConfigurationPageV.xaml index 2966e522..0d974ae6 100644 --- a/EgtBEAMWALL.Core/ConfigurationPage/General_ConfigurationPageV.xaml +++ b/EgtBEAMWALL.Core/ConfigurationPage/General_ConfigurationPageV.xaml @@ -12,37 +12,38 @@ - + - - - + Style="{StaticResource Warehouse_GroupBox}"> + + + - + Style="{StaticResource AddRawPartWnd_UniformGrid}"> + + SelectedIndex="{Binding SelMeasureUnit}" + Style="{StaticResource UnitMeasureList_ComboBox}"/> + Style="{StaticResource Warehouse_GroupBox}"> + Style="{StaticResource AddRawPartWnd_UniformGrid}"> + Style="{StaticResource AddRawPartWnd_UniformGrid}"> - + Style="{StaticResource AddRawPartWnd_UniformGrid}"> + + Style="{StaticResource General_CheckBox}"/> + Style="{StaticResource Optimizer_GroupBox}"> @@ -65,36 +67,33 @@ - + + Style="{StaticResource PParameters_CheckBox}"/> + Style="{StaticResource Ext_TextBlock}"/> + Style="{StaticResource General_Grid}"> + Style="{StaticResource General_TextBox}"/> diff --git a/EgtBEAMWALL.Core/EgtColorPicker/EgtColorPickerV.xaml b/EgtBEAMWALL.Core/EgtColorPicker/EgtColorPickerV.xaml index 1f9d9795..c3cf971e 100644 --- a/EgtBEAMWALL.Core/EgtColorPicker/EgtColorPickerV.xaml +++ b/EgtBEAMWALL.Core/EgtColorPicker/EgtColorPickerV.xaml @@ -1,268 +1,218 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - + + + + + + + + - - + + - - + Style="{StaticResource EgtManageDialog_TextBlock}"/> + Style="{StaticResource EgtManageDialog_ComboBox}"/> + Style="{StaticResource AddRawPartWnd_Grid}"> + Style="{StaticResource EgtManageDialog_TreeView}"> - + - + @@ -80,34 +71,27 @@ + SelectedIndex="{Binding nSelTab}" + Style="{StaticResource EgtManageDialog_TabControl}"> - - + - + @@ -127,26 +109,19 @@ Style="{StaticResource Button_Image}"/> - - - + Style="{StaticResource EgtManageDialog_UniformGrid}"> + + + - + @@ -161,32 +136,23 @@ Style="{StaticResource Button_Image}"/> - - + Style="{StaticResource EgtManageDialog_UniformGrid}"> + + - - + Style="{StaticResource EgtManageDialog_UniformGrid}"> + + + Style="{StaticResource EgtManageDialog_Border}"/> @@ -196,13 +162,13 @@ @@ -291,7 +259,7 @@ + Style="{StaticResource Name_TextBlock}"/> @@ -302,115 +270,80 @@ + Style="{StaticResource Source_Image}"/> + Style="{StaticResource NameImage_TextBlock}"/> + Width="2*" + ElementStyle="{StaticResource DataGrid_TextBlock}"> + Style="{StaticResource Name_TextBlock}"/> - - - + Width="1*" + ElementStyle="{StaticResource DataGrid_TextBlock}"> + Style="{StaticResource Name_TextBlock}"/> - - - + Width="1*" + ElementStyle="{StaticResource DataGridR_TextBlock}"> + Style="{StaticResource Name_TextBlock}"/> - - - - + + Style="{StaticResource AddRawPartWnd_Grid}"> - + + Style="{StaticResource SaveFileName_TextBox}"/> + Style="{StaticResource FilterList_ComboBox}"/> + Style="{StaticResource Command_UniformGrid}"> - - - - - - - - - - - - - - - - - - - - - - - - - - - - + @@ -1055,7 +1120,7 @@ - + + + + + + + + + + + + + + + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - - - - - - + + - - - - - + - + - - + - + + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -1714,61 +2263,78 @@ - + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -1783,15 +2349,389 @@ - + - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -1818,305 +2758,14 @@ - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + @@ -2130,7 +2779,7 @@ - + @@ -2171,6 +2820,12 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + diff --git a/EgtBEAMWALL.Core/TitleBar/TitleBarV.xaml b/EgtBEAMWALL.Core/TitleBar/TitleBarV.xaml index 061ea907..80f83bed 100644 --- a/EgtBEAMWALL.Core/TitleBar/TitleBarV.xaml +++ b/EgtBEAMWALL.Core/TitleBar/TitleBarV.xaml @@ -9,30 +9,12 @@ - - + - - - - - + Text="{Binding sTitle}" + Style="{StaticResource TitleBar_TextBlock}"/> diff --git a/EgtBEAMWALL.Core/ViewPanel/ViewPanelV.xaml b/EgtBEAMWALL.Core/ViewPanel/ViewPanelV.xaml index 8ee1e95b..76185725 100644 --- a/EgtBEAMWALL.Core/ViewPanel/ViewPanelV.xaml +++ b/EgtBEAMWALL.Core/ViewPanel/ViewPanelV.xaml @@ -1,44 +1,49 @@ - + - + diff --git a/EgtBEAMWALL.Optimizer/AddFeatureWnd/AddFeatureWndV.xaml b/EgtBEAMWALL.Optimizer/AddFeatureWnd/AddFeatureWndV.xaml index e444db12..317c1dfd 100644 --- a/EgtBEAMWALL.Optimizer/AddFeatureWnd/AddFeatureWndV.xaml +++ b/EgtBEAMWALL.Optimizer/AddFeatureWnd/AddFeatureWndV.xaml @@ -4,7 +4,6 @@ xmlns:EgtBEAMWALLCORE="clr-namespace:EgtBEAMWALL.Core;assembly=EgtBEAMWALL.Core" SizeToContent="WidthAndHeight" WindowStartupLocation="CenterOwner" - WindowStyle="None" Title="AddProcess" Style="{StaticResource OptimizerWindow.Dialog.NoClose}"> diff --git a/EgtBEAMWALL.Optimizer/AddRawPartWnd/AddRawPartWndV.xaml b/EgtBEAMWALL.Optimizer/AddRawPartWnd/AddRawPartWndV.xaml index 6d1e80e2..91871520 100644 --- a/EgtBEAMWALL.Optimizer/AddRawPartWnd/AddRawPartWndV.xaml +++ b/EgtBEAMWALL.Optimizer/AddRawPartWnd/AddRawPartWndV.xaml @@ -5,7 +5,6 @@ xmlns:EgtBEAMWALLCORE="clr-namespace:EgtBEAMWALL.Core;assembly=EgtBEAMWALL.Core" SizeToContent="WidthAndHeight" WindowStartupLocation="CenterOwner" - WindowStyle="None" Title="AddRawPartWnd" Style="{StaticResource OptimizerWindow.Dialog.NoClose}"> diff --git a/EgtBEAMWALL.Optimizer/AddSectionXMaterialWnd/AddSectionXMaterialWndV.xaml b/EgtBEAMWALL.Optimizer/AddSectionXMaterialWnd/AddSectionXMaterialWndV.xaml index ab156727..65fd88ae 100644 --- a/EgtBEAMWALL.Optimizer/AddSectionXMaterialWnd/AddSectionXMaterialWndV.xaml +++ b/EgtBEAMWALL.Optimizer/AddSectionXMaterialWnd/AddSectionXMaterialWndV.xaml @@ -5,7 +5,6 @@ xmlns:EgtBEAMWALLCORE="clr-namespace:EgtBEAMWALL.Core;assembly=EgtBEAMWALL.Core" SizeToContent="WidthAndHeight" WindowStartupLocation="CenterOwner" - WindowStyle="None" Title="AddSectionXMaterial" Style="{StaticResource OptimizerWindow.Dialog.NoClose}"> diff --git a/EgtBEAMWALL.Optimizer/BlockedWnd/BlockedWndV.xaml b/EgtBEAMWALL.Optimizer/BlockedWnd/BlockedWndV.xaml index 5236efbb..12969f5e 100644 --- a/EgtBEAMWALL.Optimizer/BlockedWnd/BlockedWndV.xaml +++ b/EgtBEAMWALL.Optimizer/BlockedWnd/BlockedWndV.xaml @@ -4,7 +4,6 @@ xmlns:EgtBEAMWALLCORE="clr-namespace:EgtBEAMWALL.Core;assembly=EgtBEAMWALL.Core" Title="{Binding Title}" WindowStartupLocation="CenterOwner" - WindowStyle="None" Height="200" Width="400" Style="{StaticResource OptimizerWindow.Dialog.NoClose}"> diff --git a/EgtBEAMWALL.Optimizer/ChangeParameterWnd/ChangeParameterWndV.xaml b/EgtBEAMWALL.Optimizer/ChangeParameterWnd/ChangeParameterWndV.xaml index db30c101..cb359eac 100644 --- a/EgtBEAMWALL.Optimizer/ChangeParameterWnd/ChangeParameterWndV.xaml +++ b/EgtBEAMWALL.Optimizer/ChangeParameterWnd/ChangeParameterWndV.xaml @@ -5,7 +5,6 @@ xmlns:EgtBEAMWALLCORE="clr-namespace:EgtBEAMWALL.Core;assembly=EgtBEAMWALL.Core" SizeToContent="Height" WindowStartupLocation="CenterOwner" - WindowStyle="None" Width="300" Title="ChangeParameterWnd" Style="{StaticResource OptimizerWindow.Dialog.NoClose}"> diff --git a/EgtBEAMWALL.Optimizer/InputPwdWnd/InputPwdWndV.xaml b/EgtBEAMWALL.Optimizer/InputPwdWnd/InputPwdWndV.xaml index 238948be..bb33e80c 100644 --- a/EgtBEAMWALL.Optimizer/InputPwdWnd/InputPwdWndV.xaml +++ b/EgtBEAMWALL.Optimizer/InputPwdWnd/InputPwdWndV.xaml @@ -4,7 +4,6 @@ xmlns:EgtBEAMWALLCORE="clr-namespace:EgtBEAMWALL.Core;assembly=EgtBEAMWALL.Core" SizeToContent="WidthAndHeight" WindowStartupLocation="CenterOwner" - WindowStyle="None" Title="InputPwdWndV" Style="{StaticResource OptimizerWindow.Dialog.NoClose}"> diff --git a/EgtBEAMWALL.Optimizer/ItemParamList/RawPartListV.xaml b/EgtBEAMWALL.Optimizer/ItemParamList/RawPartListV.xaml index ca0fabfc..a488a23b 100644 --- a/EgtBEAMWALL.Optimizer/ItemParamList/RawPartListV.xaml +++ b/EgtBEAMWALL.Optimizer/ItemParamList/RawPartListV.xaml @@ -359,7 +359,7 @@ + Style="{StaticResource RawPartList_TextBlock}"/> diff --git a/EgtBEAMWALL.Optimizer/MachinePanel/MachinePanelVM.vb b/EgtBEAMWALL.Optimizer/MachinePanel/MachinePanelVM.vb index 7ab903f9..7c6a93b4 100644 --- a/EgtBEAMWALL.Optimizer/MachinePanel/MachinePanelVM.vb +++ b/EgtBEAMWALL.Optimizer/MachinePanel/MachinePanelVM.vb @@ -287,44 +287,6 @@ Public Class MachinePanelVM End If End Sub - Friend Function BeamMachDb() As Boolean - ' Assegno le path - Dim sBaseDir As String = m_sMachinesRoot & "\" & m_SelectedMachine.Name & "\" & "Beam" - ' verifico se ci sono i file ini - Dim sMachTypePath As String = sBaseDir & "\MachiningTypes.ini" - Dim sTabTemplPath As String = sBaseDir & "\BeamTableTemplate.ini" - If File.Exists(sMachTypePath) AndAlso File.Exists(sTabTemplPath) Then - ' apro finestra di gestione lavorazioni travi - Dim sTitle = EgtMsg(9000) 'Tabelle delle lavorazioni delle travi - Dim BeamMchsWinVM As New MyBeamMachiningsWindowVM(sTitle, sBaseDir, sMachTypePath, sTabTemplPath) - Dim BeamMchsWinV As New BeamMachiningsWindowV(Application.Current.MainWindow, BeamMchsWinVM) - BeamMchsWinV.ShowDialog() - Else - ' Impossibile aprire l'Editor delle lavorazioni delle travi.
Mancano i file di configurazione. - Errore - MessageBox.Show(EgtMsg(9009), EgtMsg(9008), MessageBoxButton.OK, MessageBoxImage.Stop) - End If - Return True - End Function - - Friend Function WallMachDb() As Boolean - ' Assegno le path - Dim sBaseDir As String = m_sMachinesRoot & "\" & m_SelectedMachine.Name & "\" & "Wall" - ' verifico se ci sono i file ini - Dim sMachTypePath As String = sBaseDir & "\MachiningTypes.ini" - Dim sTabTemplPath As String = sBaseDir & "\WallTableTemplate.ini" - If File.Exists(sMachTypePath) AndAlso File.Exists(sTabTemplPath) Then - ' apro finestra di gestione lavorazioni pareti - Dim sTitle = EgtMsg(9010) 'Tabelle delle lavorazioni delle pareti - Dim WallMchsWinVM As New MyBeamMachiningsWindowVM(sTitle, sBaseDir, sMachTypePath, sTabTemplPath, False) - Dim WallMchsWinV As New BeamMachiningsWindowV(Application.Current.MainWindow, WallMchsWinVM) - WallMchsWinV.ShowDialog() - Else - ' Impossibile aprire l'Editor delle lavorazioni delle pareti.
Mancano i file di configurazione. - Errore - MessageBox.Show(EgtMsg(9011), EgtMsg(9008), MessageBoxButton.OK, MessageBoxImage.Stop) - End If - Return True - End Function - Public Overrides Sub ToolDb(ByVal param As Object) SetSelTab(ConfigTabs.EMPTY) If Not VerifyMachinesDir(m_sMachinesRoot) Then Return diff --git a/EgtBEAMWALL.Optimizer/MacroFeatureWnd/MacroFeatureWnd.xaml b/EgtBEAMWALL.Optimizer/MacroFeatureWnd/MacroFeatureWnd.xaml index 74ddcf29..89996077 100644 --- a/EgtBEAMWALL.Optimizer/MacroFeatureWnd/MacroFeatureWnd.xaml +++ b/EgtBEAMWALL.Optimizer/MacroFeatureWnd/MacroFeatureWnd.xaml @@ -5,7 +5,6 @@ xmlns:EgtBEAMWALLCORE="clr-namespace:EgtBEAMWALL.Core;assembly=EgtBEAMWALL.Core" SizeToContent="WidthAndHeight" WindowStartupLocation="CenterOwner" - WindowStyle="None" Title="NewMacroFeature" Style="{StaticResource OptimizerWindow.Dialog.NoClose}"> diff --git a/EgtBEAMWALL.Optimizer/MovePartInRawPartWnd/MovePartInRawPartWndV.xaml b/EgtBEAMWALL.Optimizer/MovePartInRawPartWnd/MovePartInRawPartWndV.xaml index 75db5b0f..8341a63d 100644 --- a/EgtBEAMWALL.Optimizer/MovePartInRawPartWnd/MovePartInRawPartWndV.xaml +++ b/EgtBEAMWALL.Optimizer/MovePartInRawPartWnd/MovePartInRawPartWndV.xaml @@ -5,7 +5,6 @@ xmlns:EgtBEAMWALLCORE="clr-namespace:EgtBEAMWALL.Core;assembly=EgtBEAMWALL.Core" SizeToContent="WidthAndHeight" WindowStartupLocation="CenterOwner" - WindowStyle="None" Title="MovePartInRawPartWndV" Style="{StaticResource OptimizerWindow.Dialog.NoClose}"> diff --git a/EgtBEAMWALL.Optimizer/MultiCopyRawPartWnd/MultiCopyRawPartWndV.xaml b/EgtBEAMWALL.Optimizer/MultiCopyRawPartWnd/MultiCopyRawPartWndV.xaml index bafd492e..9c77876a 100644 --- a/EgtBEAMWALL.Optimizer/MultiCopyRawPartWnd/MultiCopyRawPartWndV.xaml +++ b/EgtBEAMWALL.Optimizer/MultiCopyRawPartWnd/MultiCopyRawPartWndV.xaml @@ -5,7 +5,6 @@ xmlns:EgtBEAMWALLCORE="clr-namespace:EgtBEAMWALL.Core;assembly=EgtBEAMWALL.Core" SizeToContent="WidthAndHeight" WindowStartupLocation="CenterOwner" - WindowStyle="None" Title="MultiCopyRawPart" Style="{StaticResource OptimizerWindow.Dialog.NoClose}"> diff --git a/EgtBEAMWALL.Optimizer/My Project/AssemblyInfo.vb b/EgtBEAMWALL.Optimizer/My Project/AssemblyInfo.vb index cb1ca41a..3eeef474 100644 --- a/EgtBEAMWALL.Optimizer/My Project/AssemblyInfo.vb +++ b/EgtBEAMWALL.Optimizer/My Project/AssemblyInfo.vb @@ -67,5 +67,5 @@ Imports System.Windows ' Revision ' - - + + diff --git a/EgtBEAMWALL.Optimizer/Project/ProjectV.xaml b/EgtBEAMWALL.Optimizer/Project/ProjectV.xaml index 447c2864..8481ff90 100644 --- a/EgtBEAMWALL.Optimizer/Project/ProjectV.xaml +++ b/EgtBEAMWALL.Optimizer/Project/ProjectV.xaml @@ -117,7 +117,7 @@ Tag="{Binding DataContext.BTLStructureVM.SelBTLPart, RelativeSource={RelativeSource AncestorType={x:Type OPTIMIZER:ProjectV}}}"/> + Style="{StaticResource ProjectParamters_Grid}"> diff --git a/EgtBEAMWALL.Optimizer/ProjectTypeWnd/ProjectTypeWndV.xaml b/EgtBEAMWALL.Optimizer/ProjectTypeWnd/ProjectTypeWndV.xaml index 1ef53d7a..f07e26ee 100644 --- a/EgtBEAMWALL.Optimizer/ProjectTypeWnd/ProjectTypeWndV.xaml +++ b/EgtBEAMWALL.Optimizer/ProjectTypeWnd/ProjectTypeWndV.xaml @@ -3,7 +3,6 @@ xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:EgtBEAMWALLCORE="clr-namespace:EgtBEAMWALL.Core;assembly=EgtBEAMWALL.Core" SizeToContent="WidthAndHeight" - WindowStyle="None" MinWidth="500" WindowStartupLocation="CenterOwner" Title="ProjectType" diff --git a/EgtBEAMWALL.Optimizer/SaveAsStrategyWnd/SaveAsStrategyV.xaml b/EgtBEAMWALL.Optimizer/SaveAsStrategyWnd/SaveAsStrategyV.xaml index 10e6aaaa..04644829 100644 --- a/EgtBEAMWALL.Optimizer/SaveAsStrategyWnd/SaveAsStrategyV.xaml +++ b/EgtBEAMWALL.Optimizer/SaveAsStrategyWnd/SaveAsStrategyV.xaml @@ -5,7 +5,6 @@ xmlns:OPTIMIZER="clr-namespace:EgtBEAMWALL.Optimizer" SizeToContent="WidthAndHeight" WindowStartupLocation="CenterOwner" - WindowStyle="None" MinWidth="350" MinHeight="170" Title="SaveAsStrategy" diff --git a/EgtBEAMWALL.Optimizer/Statistics/OptimizerStatisticsV.xaml b/EgtBEAMWALL.Optimizer/Statistics/OptimizerStatisticsV.xaml index 1b9915ae..8bd18609 100644 --- a/EgtBEAMWALL.Optimizer/Statistics/OptimizerStatisticsV.xaml +++ b/EgtBEAMWALL.Optimizer/Statistics/OptimizerStatisticsV.xaml @@ -259,7 +259,6 @@ IsChecked="{Binding bRawPart_IsChecked}" ToolTip="Materials" Style="{StaticResource Statistics_ToggleButton}"> -