private void iOHelpPDFToolStripMenuItem_Click(object sender, EventArgs e) { tclsPDFView clsHelpPDF = new UDP.tclsPDFView(AppDomain.CurrentDomain.BaseDirectory + "Manuals\\Rabbit ECU Due IO.pdf"); try { clsHelpPDF.Show(); } catch { MessageBox.Show("Starting PDF alternate viewer"); } }
private void toolStripMenuItem3_Click(object sender, EventArgs e) { tclsPDFView clsHelpPDF = new UDP.tclsPDFView(AppDomain.CurrentDomain.BaseDirectory + "Manuals\\MAP-MATE User Guide.pdf"); try { if (true == clsHelpPDF.AcroLoadOK) { clsHelpPDF.MdiParent = this; clsHelpPDF.Show(); clsHelpPDF.Refresh(); } } catch { MessageBox.Show("Starting PDF alternate viewer"); } }