public AddDocPage(DocumentsManagementPage page, bool add, int docID) { _add = add; _docID = docID; _previousPage = page; InitializeComponent(); }
private void DocumentsManagementClick(object sender, RoutedEventArgs e) { DocumentsManagementPage DocManagement = new DocumentsManagementPage(); DocManagement.Show(); Close(); }
private void OnBackClick(object sender, RoutedEventArgs e) { DocumentsManagementPage documentsManagementPage = new DocumentsManagementPage(); documentsManagementPage.Show(); Close(); }
public ModifyAVPage(int docID, DocumentsManagementPage page) { _docID = docID; InitializeComponent(); Document doc = SDM.LMS.GetDoc(docID); TitleTB.AppendText(doc.Title); AutorsTB.AppendText(doc.Autors); PriceTB.AppendText(doc.Price.ToString()); CopiesTB.AppendText(doc.Quantity.ToString()); TagsTB.AppendText(doc.Tags); prevPage = page; }
public ModifyBookPage(int docID, DocumentsManagementPage page) { _docID = docID; InitializeComponent(); Document doc = SDM.LMS.GetDoc(docID); TitleTB.AppendText(doc.Title); AutorsTB.AppendText(doc.Autors); PublisherTB.AppendText(doc.Publisher); PublishYearTB.AppendText(doc.PublishYear.ToString()); EditionTB.AppendText(doc.Edition); DescriptionTB.AppendText(doc.Description); PriceTB.AppendText(doc.Price.ToString()); IsBestsellerCB.SelectedIndex = doc.IsBestseller ? 0 : 1; CopiesTB.AppendText(doc.Quantity.ToString()); TagsTB.AppendText(doc.Tags); prevPage = page; }
public AddAVPage(DocumentsManagementPage page) { _previousPage = page; InitializeComponent(); }