示例#1
0
        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");
            }
        }
示例#2
0
        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");
            }
        }