5b5ed98214
- gestione numero ripetizioni in import DXF. - gestione aggiunta/sottrazione pezzi in CSV.
28 lines
928 B
VB.net
28 lines
928 B
VB.net
Public Class DxfImportWindowV
|
|
|
|
Private m_DxfImportWindowVM As DxfImportWindowVM
|
|
|
|
Sub New(Owner As Window, DxfImportWindowVM As DxfImportWindowVM)
|
|
MyBase.New(Owner)
|
|
' This call is required by the designer.
|
|
InitializeComponent()
|
|
Me.DataContext = DxfImportWindowVM
|
|
' Assegno al riferimento locale al VM il VM preso dal DataContext
|
|
m_DxfImportWindowVM = DxfImportWindowVM
|
|
End Sub
|
|
|
|
Private Sub OkBtn_Click(sender As Object, e As RoutedEventArgs) Handles OkBtn.Click
|
|
m_DxfImportWindowVM.LoadFlatParts()
|
|
DialogResult = True
|
|
End Sub
|
|
|
|
Private Sub CancelBtn_Click(sender As Object, e As RoutedEventArgs) Handles CancelBtn.Click
|
|
DialogResult = False
|
|
End Sub
|
|
|
|
Private Sub ClosedView(sender As Object, e As EventArgs) Handles Me.Closed
|
|
DxfImportWindowMap.refDxfImportSceneHostV.ImportDxfScene.Terminate()
|
|
End Sub
|
|
|
|
End Class
|