ウィンドウの作成
なんかコンポーネントのテストとか、ウィンドウプログラミングもVisual Studioでやるのが面倒になってきたので、コマンドラインからWindowを出してみる。
using System; using System.Drawing; using System.Windows.Forms; namespace WinApp { public class TestForm : Form { public TestForm() { ClientSize = new Size(200, 200); } [STAThread] static void Main() { Application.Run(new TestForm()); } } }