※リストが表示されない場合
AddBlockなどの広告ブロックツールがONになっているとリストなどが表示されない場合があります。これらのツールをOFFにしてみてください。
using System; using System.Drawing; using System.Windows.Forms; namespace MyFrmApp { public class MyForm : Form { public MyForm() { Label label = new Label(); label.Text = "Welcome to C#!"; label.Font = new Font("Geneva",18,FontStyle.Regular); label.Height = 30; label.Width = 300; this.Controls.Add(label); this.Width = 300; this.Height = 200; } } }
次へ >> |