Esempio n. 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();
        }
Esempio n. 2
0
        private void AddClassClick(object sender, RoutedEventArgs e)
        {
            EditClass editClass = new EditClass();

            editClass.Show();
        }