127492cb8b
- aggiunta gestione processing file btl da linea di comando.
27 lines
749 B
VB.net
27 lines
749 B
VB.net
Imports System.IO
|
|
Imports EgtUILib
|
|
|
|
Public Class BeamPanelVM
|
|
|
|
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.IsActiveBeam() Then
|
|
' Inizializzo i bottoni leggendoli da file ini
|
|
Dim BtnIndex As Integer = 1
|
|
Dim CurrBtn As ButtonItem = Nothing
|
|
While GetPrivateProfileButton(S_BEAM, K_BEAMBUTTON & BtnIndex, IniFile.m_sBeamDirPath, CurrBtn)
|
|
m_ButtonList.Add(CurrBtn)
|
|
BtnIndex += 1
|
|
End While
|
|
End If
|
|
End Sub
|
|
|
|
End Class
|