OmagCUT :
- aggiunta gestione funzione che disattiva tutte le scene per risolvere problemi con tastiera e calcolatrice virtuali.
This commit is contained in:
@@ -444,6 +444,8 @@ Class MainWindow
|
||||
AddHandler m_IdleTimer.Tick, AddressOf OnIdle
|
||||
' Imposto OnProdLine
|
||||
AddHandler m_ProdLineTimer.Tick, AddressOf OnProdLine
|
||||
' Imposto riferimento a funzione delle textbox che diattiva scene in libreria
|
||||
EgtWPFLib.EgtTextBox.m_refScenesIsEnabled = AddressOf IsEnabledScenes
|
||||
End Sub
|
||||
|
||||
Private Sub ManageSingleIstance()
|
||||
@@ -1625,4 +1627,14 @@ Class MainWindow
|
||||
Dim AboutBox As New AboutBoxWD(Me)
|
||||
End Sub
|
||||
|
||||
' Funzione che disabilita tutte le scene
|
||||
Private Sub IsEnabledScenes(IsEnabled As Boolean)
|
||||
m_CurrentProjectPageUC.CurrentProjectScene.Enabled = IsEnabled
|
||||
m_MachinePageUC.m_ToolsDbPageUC.ToolScene.Enabled = IsEnabled
|
||||
m_WorkInProgressPageUC.WorkInProgressScene.Enabled = IsEnabled
|
||||
m_OpenPage.OpenScene.Enabled = IsEnabled
|
||||
m_DrawPageUC.DrawScene.Enabled = IsEnabled
|
||||
ProjectMgrUC.m_VeinMatchingWnd.IsEnabled = IsEnabled
|
||||
End Sub
|
||||
|
||||
End Class
|
||||
@@ -8,7 +8,7 @@ Public Class ProjectMgrUC
|
||||
Private Shared m_CurrProjPage As CurrentProjectPageUC
|
||||
Private Shared m_CurrMachine As CurrentMachine
|
||||
Private Shared m_CurrNcComm As CNCommunication
|
||||
Private Shared m_VeinMatchingWnd As VeinMatchingWindow = Nothing
|
||||
Friend Shared m_VeinMatchingWnd As VeinMatchingWindow = Nothing
|
||||
|
||||
Private Sub ProjectMgrUC_Initialized(sender As Object, e As EventArgs) Handles Me.Initialized
|
||||
' Imposto i messaggi letti dal file dei messaggi
|
||||
|
||||
Reference in New Issue
Block a user