public ReturnPage() { this.InitializeComponent(); rb = new ReturnBS(); selected = new List <int>(); ListDisk = rb.getAllDisk(); }
private void Return(object sender, RoutedEventArgs e) { ReturnBS rb = new ReturnBS(); bool check = rb.ReturnDisk(drd.DiskID, drd.CusID, drd.LateCharge, drd.ReturnDate); if (check) { (this.Parent as Frame).Content = null; DisplayDialog(check); return; } DisplayDialog(check); }