private void LoadPage() { string strFilePaht = ConfigurationSettings.AppSettings["FilesPath"]; string _url = string.Format("{0}Bar.html", strFilePaht); WB1.Navigate(new Uri(_url)); _url = string.Format("{0}Pie.html", strFilePaht); WB2.Navigate(new Uri(_url)); }
private void FinanceReport_Load(object sender, EventArgs e) { string strFilePaht = ConfigurationSettings.AppSettings["FilesPath"]; string _url = string.Format("{0}Receipted.html", strFilePaht); WB1.Navigate(new Uri(_url)); _url = string.Format("{0}Receivable.html", strFilePaht); WB2.Navigate(new Uri(_url)); _url = string.Format("{0}DepartmentFee.html", strFilePaht); WB3.Navigate(new Uri(_url)); _url = string.Format("{0}FinanceMonth.html", strFilePaht); WB4.Navigate(new Uri(_url)); }
private void WB2_DocumentCompleted(object sender, WebBrowserDocumentCompletedEventArgs e) { WB2.Refresh(); }