Files
EgtCAM5/Base/BaseWindow/BaseWindowView.xaml.vb
T
Emmanuele Sassi 6233d89e0f EgtCAM5 :
- primo rilascio.
2016-07-06 09:46:23 +00:00

25 lines
1.1 KiB
VB.net

Imports EgtWPFLib5
Public Class BaseWindowView
Inherits EgtPanelWindow
Sub New()
' This call is required by the designer.
InitializeComponent()
' Add any initialization after the InitializeComponent() call.
' Set this as owned by MainWindow, when this one is rendered
Application.Msn.Register(Application.MAINWINDOW_CONTENTRENDERED, Sub()
Me.Owner = Application.Current.MainWindow
End Sub)
Application.Msn.Register(Application.MAINWINDOW_ACTIVATED, Sub()
'Me.Topmost = True
End Sub)
Application.Msn.Register(Application.MAINWINDOW_DEACTIVATED, Sub()
'Me.Topmost = False
End Sub)
End Sub
End Class