0b04ea30e5
- aggiunta toolbar BeamWall per comandi comuni alle due opzioni.
29 lines
813 B
VB.net
29 lines
813 B
VB.net
Imports System.IO
|
|
Imports EgtUILib
|
|
|
|
Public Class WallPanelVM
|
|
|
|
Friend Const WALL_MACHININGS As String = "WallMachinings"
|
|
|
|
Private m_ButtonList As New List(Of ButtonItem)
|
|
Public ReadOnly Property ButtonList As List(Of ButtonItem)
|
|
Get
|
|
Return m_ButtonList
|
|
End Get
|
|
End Property
|
|
|
|
Sub New()
|
|
' Se attivo, inizializzo i bottoni leggendoli da file ini
|
|
If IniFile.IsActiveWall() Then
|
|
' Inizializzo i bottoni leggendoli da file ini
|
|
Dim BtnIndex As Integer = 1
|
|
Dim CurrBtn As ButtonItem = Nothing
|
|
While GetPrivateProfileButton(S_WALL, K_WALLBUTTON & BtnIndex, IniFile.m_sWallDirPath, CurrBtn)
|
|
m_ButtonList.Add(CurrBtn)
|
|
BtnIndex += 1
|
|
End While
|
|
End If
|
|
End Sub
|
|
|
|
End Class
|