private void customItem_ItemClick(object sender, ItemClickEventArgs e) { int pageId = (int)searchGrid.GetFocusedRowCellValue("Page Number"); string title = (string)searchGrid.GetFocusedRowCellValue("Title"); string location = DataBaseTools.GetPdfLocation(title); PDFViewer p = new PDFViewer(location, pageId, searchTB.Text); p.Show(); //System.Windows.Forms.MessageBox.Show("Menu Clicked !"); }
private void viewBooksBTN_Click(object sender, RoutedEventArgs e) { PDFViewer p = new PDFViewer(locationTB.Text); p.Show(); }
private void pdfViewrTile_Click(object sender, EventArgs e) { PDFViewer p = new PDFViewer(); p.Show(); }