Ejemplo n.º 1
0
 public ReturnPage()
 {
     this.InitializeComponent();
     rb       = new ReturnBS();
     selected = new List <int>();
     ListDisk = rb.getAllDisk();
 }
Ejemplo n.º 2
0
        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);
        }