d1e3f68709
- nuova gestione con context corrente.
21 lines
470 B
VB.net
21 lines
470 B
VB.net
Public Class btnExec
|
|
|
|
Private m_scene As Scene
|
|
|
|
Sub New()
|
|
' Chiamata richiesta dalla finestra di progettazione.
|
|
InitializeComponent()
|
|
' Inizializzazione
|
|
Me.Text = "Exec"
|
|
End Sub
|
|
|
|
Public Sub SetScene(ByRef scene As Scene)
|
|
m_scene = scene
|
|
End Sub
|
|
|
|
Private Sub btnExec_Click(sender As System.Object, e As System.EventArgs) Handles Me.Click
|
|
m_scene.Exec()
|
|
End Sub
|
|
|
|
End Class
|