public static void Main() { SatNavModel model = new SatNavModel(); SatNavView view = new SatNavView(model); SatNavController controller = new SatNavController(model, view); Console.Clear(); string line; EventArgs e = new EventArgs(); while (true) { Console.Write("$ "); line = Console.ReadLine(); if (line == "north") { view.northButton_Click(null, e); } else if (line == "south") { view.southButton_Click(null, e); } else if (line == "east") { view.eastButton_Click(null, e); } else if (line == "west") { view.westButton_Click(null, e); } else if (line == "speed") { view.speedControl.Value = 70; view.speedControl_ValueChanged(null, e); } else if (line == "clear") { Console.Clear(); } else if (line == "help") { Help(); } else if (line == "quit") { return; } } }