Exemplo n.º 1
0
        private void EditClick(object sender, RoutedEventArgs e)
        {
            Button         button = (Button)sender;
            Classwork      cw     = (Classwork)button.DataContext;
            EditAssignment edit   = new EditAssignment(cw);

            edit.Show();
        }
Exemplo n.º 2
0
        private void btnNewAssignment_Click(object sender, RoutedEventArgs e)
        {
            EditAssignment editor = new EditAssignment();

            editor.Show();
        }