摘要:
clsfunction HelloWord{ [System.Windows.Forms.MessageBox]::Show("Hello world!")}[Reflection.Assembly]::LoadWithPartialName("System.Windows.Forms")$app=[System.Windows.Forms.Application];$myForm=new-object System.Windows.Forms.Form;$myForm.Text="my window";$button1 = new-object System.Windows.Forms.Bu 阅读全文