ee00c7750b
- dopo misura si reimposta misurazione speciale OFFICE - aggiunta terminazione contesto all'uscita dialogo pezzi parametrici e import Dxf - aggiunte maggiori info in AboutBox.
23 lines
730 B
VB.net
23 lines
730 B
VB.net
Public Class CompoWindowV
|
|
|
|
Private WithEvents m_CompoWindowVM As CompoWindowVM
|
|
|
|
Sub New(Owner As Window, CompoWindowVM As CompoWindowVM)
|
|
MyBase.New(Owner)
|
|
' This call is required by the designer.
|
|
InitializeComponent()
|
|
Me.DataContext = CompoWindowVM
|
|
' Assegno al riferimento locale al VM il VM preso dal DataContext
|
|
m_CompoWindowVM = CompoWindowVM
|
|
End Sub
|
|
|
|
Private Sub CloseWindow(bDialogResult As Boolean) Handles m_CompoWindowVM.m_CloseWindow
|
|
Me.DialogResult = bDialogResult
|
|
End Sub
|
|
|
|
Private Sub ClosedView(sender As Object, e As EventArgs) Handles Me.Closed
|
|
CompoWindowMap.refCompoSceneHostV.CompoScene.Terminate()
|
|
End Sub
|
|
|
|
End Class
|