예제 #1
0
        private void button1_Click(object sender, EventArgs e)
        {
            var com = new BasicComputer();

            com.Display.WriteLine("Hello, World!");
            this.computers.Add(com);
        }
예제 #2
0
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            var computer = new BasicComputer();

            Application.Run();
        }