Quantcast
Channel: C#タグが付けられた新着記事 - Qiita
Viewing all articles
Browse latest Browse all 9707

cscの作法

$
0
0

概要

cscの作法、調べてみた。

環境

.NET Framework 2,0

写真

image

サンプルコード

using System;
using System.Windows.Forms;
using System.Drawing;

class form1: Form {
    form1() {
        Text = "hello";
        ClientSize = new Size(200, 200);
        Label la1 = new Label();
        la1.Location = new Point(50, 50);
        la1.Text = "Hello World!";
        Controls.AddRange(new Control[] {
            la1
        });
    }
    [STAThread]
    public static void Main() {
        Application.Run(new form1());
    }
}

以上。


Viewing all articles
Browse latest Browse all 9707

Trending Articles