private void toolStripButton1_Click(object sender, EventArgs e) { fViewExample fView = new fViewExample(); fView.Path_example = @"Examples\2\2.pdf"; fView.Show(); }
public void compilePDF() { // компиляция и открытие PDF файла EndDocumentWrite(); ProcessStartInfo startInfo = new ProcessStartInfo("pdflatex"); startInfo.WindowStyle = ProcessWindowStyle.Hidden; startInfo.Arguments = fileName; Process process = Process.Start(startInfo); process.WaitForExit(); process.Close(); fViewExample fView = new fViewExample(); fView.Path_example = @"1.pdf"; fView.Show(); Application.UseWaitCursor = false; }
private void toolStripButton1_Click(object sender, EventArgs e) { fViewExample fView = new fViewExample(); fView.Path_example = @"Examples\2\6.pdf"; fView.Show(); }