00001 using System; 00002 using System.Collections.Generic; 00003 using System.ComponentModel; 00004 using System.Data; 00005 using System.Drawing; 00006 using System.Linq; 00007 using System.Text; 00008 using System.Windows.Forms; 00009 00010 namespace UtmConvert { 00011 public partial class DocViewer : Form { 00012 public DocViewer() { 00013 InitializeComponent(); 00014 } 00015 00016 public void viewDocument(string docName) { 00017 this.DocViewerWebBrowser.Url = new System.Uri(Application.StartupPath 00018 + "\\docs\\" + docName, System.UriKind.Absolute); 00019 this.Text = docName; 00020 } 00021 00022 } 00023 }