/font /Courier findfont 24 scalefont font setfont 100 100 moveto (Hello World!) show showpage
XAML
<Page xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" x:Class="XAMLSample.Page1" > <Button Click="HelloWorld" Name="Button1">Click Here</Button> </Page> using System; using System.Windows; using System.Windows.Controls; namespace XAMLSample { public partial class Page1 : Page { void HelloWorld(object sender, RoutedEventArgs e) { MessageBox.Show("Hello, world!"); } } }
易语言
.版本 2
.程序集 窗口程序集1
.子程序 __启动窗口_创建完毕
信息框
(“Hello, World!”, 0, )