コード例 #1
0
        private void EditClick(object sender, RoutedEventArgs e)
        {
            Button    button = (Button)sender;
            Class     cl     = (Class)button.DataContext;
            EditClass edit   = new EditClass(cl);

            edit.Show();
        }
コード例 #2
0
        private void AddClassClick(object sender, RoutedEventArgs e)
        {
            EditClass editClass = new EditClass();

            editClass.Show();
        }