コード例 #1
0
        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));
        }
コード例 #2
0
        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));
        }
コード例 #3
0
 private void WB2_DocumentCompleted(object sender, WebBrowserDocumentCompletedEventArgs e)
 {
     WB2.Refresh();
 }