static void Main() { HalloForm scherm; scherm = new HalloForm(); Application.Run(scherm); }
public Form1() { InitializeComponent(); _hallo = new HalloForm(); _timer = new Timer() { Interval = 20, Enabled = true }; _timer.Tick += new EventHandler(Timer_Tick); }
public static void Main() { System.Console.WriteLine("Smiley size, on a scale of 1 tot 10?"); a = Int32.Parse(System.Console.ReadLine()); System.Console.WriteLine("X coordinate of the smiley, on a scale of 1 to 10"); b = Int32.Parse(System.Console.ReadLine()); System.Console.WriteLine("Y coordinate of the smiley, on a scale of 1 to 10"); c = Int32.Parse(System.Console.ReadLine()); HalloForm scherm; scherm = new HalloForm(); Application.Run(scherm); }