





















GOA WinForms 包含了System.Windows.Forms的主要内容,可以让你Microsoft Visual Studio开发Silverlight RIA(Silverlight 1.1 )和flash应用程序(用vs+c#开发flash)
GOA WinForms 支持 40多个控件和组件:


其开发方式,跟开发winform差不多,下面是主要代码 :
public class MyForm : System.Windows.Forms.Form
{
private Button button1;
private Label label1;
private System.ComponentModel.Container components = null; 
public MyForm()
{
InitializeComponent();
} 
protected override void Dispose(bool disposing)
{
if (disposing)
{
if (components != null)
{
components.Dispose();
}
}
base.Dispose(disposing);
} 
private void InitializeComponent()
{
this.button1 = new System.Windows.Forms.Button();
this.label1 = new System.Windows.Forms.Label(); 
this.SuspendLayout(); 
this.button1.Location = new System.Drawing.Point(84, 140);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(104, 36);
this.button1.Text = "Click Me"; 
this.label1.Location = new System.Drawing.Point(40, 44);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(200, 44); 
this.Controls.Add(this.label1);
this.Controls.Add(this.button1); 
this.ResumeLayout(false);
} 
public static void Main()
{
Application.Run(new MyForm());
}
}
说明:GOA WinForms 是免费的。GOA WinForms Professional 是收费的,它包含了30多个扩展控件.
用winform的方式编写silverlight和flash,太爽啦.
还有一个类似的东西http://www.codeplex.com/visualwebgui,用winform的形式开发web,不过感觉太慢了.
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。