849ddf39c5
- Miglioramento check quotatura. - Miglioramento pagina di stampa.
24 lines
750 B
VB.net
24 lines
750 B
VB.net
Imports EgtUILib
|
|
|
|
Public Class PrintWndV
|
|
|
|
Private m_PrintWndVM As PrintWndVM
|
|
|
|
Sub New(Owner As Window, PrintWndVM As PrintWndVM)
|
|
MyBase.New(Owner)
|
|
' This call is required by the designer.
|
|
InitializeComponent()
|
|
Me.DataContext = PrintWndVM
|
|
' Assegno al riferimento locale al VM il VM preso dal DataContext
|
|
m_PrintWndVM = PrintWndVM
|
|
End Sub
|
|
|
|
Private Sub PrintWndV_Closed(sender As Object, e As System.EventArgs) Handles Me.Closed
|
|
' Imposto contesto generale
|
|
EgtSetCurrentContext(Map.refSceneManagerVM.ProjectScene.GetCtx())
|
|
' Cancello contesto di visualizzazione utensile
|
|
EgtDeleteContext(Map.refPrintSceneHostV.PrintScene.GetCtx())
|
|
End Sub
|
|
|
|
End Class
|