OmagCUT 1.6w3 :

- sistemazioni per cambio layout fino a 9/10 assi.
This commit is contained in:
Dario Sassi
2016-11-15 18:07:40 +00:00
parent 444ab55ded
commit d439303413
7 changed files with 54 additions and 48 deletions
+2 -2
View File
@@ -301,11 +301,11 @@ Class MainWindow
' Creazione gestore comunicazione con macchina CN
m_CNCommunication = New CNCommunication
' Posizionamento nella griglia della MachineStatusBar
Dim PcType As Integer = GetPrivateProfileInt(S_GENERAL, K_SIEMENSPC, 1, m_sIniFile)
Dim PcType As Integer = GetPrivateProfileInt(S_GENERAL, K_SIEMENSPC, 0, m_sIniFile)
If PcType = 0 Then
m_MachineStatusUC.SetValue(Grid.RowProperty, 2)
MainWindowGrid.ColumnDefinitions.RemoveAt(MainWindowGrid.ColumnDefinitions.Count - 1)
ElseIf PcType >= 1 Then
Else
m_MachineStatusUC.SetValue(Grid.ColumnProperty, 2)
m_MachineStatusUC.SetValue(Grid.RowSpanProperty, 3)
MainWindowGrid.RowDefinitions.RemoveAt(MainWindowGrid.RowDefinitions.Count - 1)