2006年3月11日
NeoSwiff
C#でFlashを作れるらしい。http://www.globfx.com/products/neoswiff/
ほとんどそのまんまといって良い位のレベルで動きそうな感じ。
ためしに作ってみた。
ソース抜粋。
private void InitializeComponent()
{
this.fraTest = new System.Windows.Forms.GroupBox();
this.lblTest = new System.Windows.Forms.Label();
this.txtTest = new System.Windows.Forms.TextBox();
this.btnTest = new System.Windows.Forms.Button();
this.fraTest.SuspendLayout();
this.SuspendLayout();
//
// fraTest
//
this.fraTest.Controls.Add(this.txtTest);
this.fraTest.Controls.Add(this.lblTest);
this.fraTest.Location = new System.Drawing.Point(8, 8);
this.fraTest.Name = "fraTest";
this.fraTest.Size = new System.Drawing.Size(192, 48);
this.fraTest.TabIndex = 0;
this.fraTest.TabStop = false;
this.fraTest.Text = "GroupBox";
//
// lblTest
//
this.lblTest.Location = new System.Drawing.Point(8, 16);
this.lblTest.Name = "lblTest";
this.lblTest.Size = new System.Drawing.Size(80, 24);
this.lblTest.TabIndex = 0;
this.lblTest.Text = "Label";
this.lblTest.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
//
// txtTest
//
this.txtTest.Location = new System.Drawing.Point(96, 16);
this.txtTest.Name = "txtTest";
this.txtTest.Size = new System.Drawing.Size(88, 19);
this.txtTest.TabIndex = 1;
this.txtTest.Text = "Text";
//
// btnTest
//
this.btnTest.Location = new System.Drawing.Point(16, 64);
this.btnTest.Name = "btnTest";
this.btnTest.Size = new System.Drawing.Size(88, 24);
this.btnTest.TabIndex = 1;
this.btnTest.Text = "Button";
this.btnTest.Click += new System.EventHandler(this.OnButtonClick);
this.Controls.Add(this.btnTest);
this.Controls.Add(this.fraTest);
this.Text = "Form1";
this.fraTest.ResumeLayout(false);
this.ResumeLayout(false);
}
投稿者 mituha : 18:12