作者:VB.NET开发
项目:System.Window
' 导入命名空间
Imports System.Windows
Namespace VisualBasic
Partial Public Class CodeOnlyWindow
Inherits Window
Public Sub New()
Me.Title = "Main Window in Code Only"
Me.Width = 300
Me.Height = 300
End Sub
End Class
End Namespace
作者:VB.NET开发
项目:System.Window
' 导入命名空间
Imports System.Windows
Partial Public Class MainWindow
Inherits Window
Public Sub New()
InitializeComponent()
End Sub
End Class