Files
omagoffice/CurrMachWindow/CurrMachWindowV.xaml.vb
T
Emmanuele Sassi 982c120d56 OmagOFFICE :
- Aggiunta grafica per CurrMachWindow.
- Introdotta gestione posizione della finestra Csv.
2017-05-08 11:38:24 +00:00

19 lines
570 B
VB.net

Public Class CurrMachWindowV
Private m_CurrMachWindowVM As CurrMachWindowVM
Sub New(Owner As Window, CurrMachWindowVM As CurrMachWindowVM)
MyBase.New(Owner)
' This call is required by the designer.
InitializeComponent()
Me.DataContext = CurrMachWindowVM
' Assegno al riferimento locale al VM il VM preso dal DataContext
m_CurrMachWindowVM = CurrMachWindowVM
End Sub
Private Sub OkBtn_Click(sender As Object, e As RoutedEventArgs) Handles OkBtn.Click
DialogResult = True
End Sub
End Class