コード例 #1
0
 private void RemoveUser_Click(object sender, RoutedEventArgs e)
 {
     using (var DB = new SkladModel())
     {
         MessageBox.Show(DB.RemoveUser(Convert.ToInt32(DGR_Users.SelectedValue)));
     }
     UpdateTable();
     UpdateComboBox();
 }