示例#1
0
 private void Clear_Click(object sender, RoutedEventArgs e)
 {
     Isbn.Clear();
     isbnmsg.Visibility      = Visibility.Visible;
     Name.Content            = "";
     fkTypeCode.Content      = "";
     fkTypeName.Content      = "";
     fkPressName.Content     = "";
     Author.Content          = "";
     unifyNum.Content        = "";
     parallelTitle.Content   = "";
     postIssueNumber.Content = "";
     openBook.Content        = "";
     issnPrice.Content       = "";
     releaseCycle.Content    = "";
     remark.Content          = "";
     periodicalInfo          = new PeriodicalInfo();
     EPC.Clear();
     BookCode.Clear();
     info = new CallNumberInfo();
     CallNumberTxt.Clear();
     callNumbermsg.Visibility = Visibility.Visible;
     PeriodicalCode.Clear();
     PeriodicalMsg.Visibility   = Visibility.Visible;
     sNumber.Content            = "";
     page.Content               = "";
     publicationDateStr.Content = "";
     remarks.Content            = "";
     price.Content              = "";
 }
 private void Clear_Click(object sender, RoutedEventArgs e)
 {
     EPC.Clear();
     BookCode.Clear();
     CallNumberTxt.Clear();
     Isbn.Clear();
     isbnmsg.Visibility     = Visibility.Visible;
     BookName.Content       = "";
     Price.Content          = "";
     Author.Content         = "";
     Press.Content          = "";
     PressDate.Content      = "";
     CallNumber.Content     = "";
     PageNumber.Content     = "";
     Classification.Content = "";
     info = new CallNumberInfo();
 }
 private void Border_MouseRightButtonUp(object sender, MouseButtonEventArgs e)
 {
     CallNumberTxt.Focus();
 }