ee00c7750b
- dopo misura si reimposta misurazione speciale OFFICE - aggiunta terminazione contesto all'uscita dialogo pezzi parametrici e import Dxf - aggiunte maggiori info in AboutBox.
28 lines
925 B
VB.net
28 lines
925 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 Cancel_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
|