コード例 #1
0
        private void newCity_Click(object sender, EventArgs e)
        {
            WeatherBoard WB = new WeatherBoard();

            WB.Show();
            this.Close();
        }
コード例 #2
0
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            WeatherBoard WB = new WeatherBoard();

            WB.Show();
            Application.Run();
        }