示例#1
0
 // clears form
 public void ClearForm()
 {
     Name.Clear();
     Description.Clear();
     Manufacturer.Clear();
     Publisher.Clear();
     RentalExpiresAfterDays.Clear();
 }
示例#2
0
        public void clearNewBookFields()
        {
            //Book Info
            Title.Clear();
            Author.Clear();
            Pages.Clear();
            Genre.Clear();
            Publisher.Clear();
            Price.Clear();

            //author info
            AuthorName.Clear();
            AuthorEmail.Clear();
            AuthorAddress.Clear();
            AuthorPNum.Clear();
            AuthorAccNum.Clear();
            AuthorCut.Clear();

            authorList.Items.Clear();
        }