예제 #1
0
        private void AddTrain_Click(object sender, RoutedEventArgs e)
        {
            if (on)
            {
                AddTrainWindow win = new AddTrainWindow(this);
                win.Owner = this;
                win.ShowDialog();
            }

        }