コード例 #1
0
        private void removeTrainToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Trains train = new Trains();

            train.Show();
            this.Hide();
        }
コード例 #2
0
        private void trainButton_Click(object sender, EventArgs e)
        {
            // open the new train form
            Trains train = new Trains();

            train.Show();
            this.Hide();
        }