diff --git a/FRControl/App.config b/FRControl/App.config
index 752c406..5f4c8b8 100644
--- a/FRControl/App.config
+++ b/FRControl/App.config
@@ -50,13 +50,13 @@
Resources/close.png
- 案件信息公开
+ 官网
- 预约律师接访
+ 案件信息公开
- 预约人民监督员接访
+ 律师阅卷
diff --git a/FRControl/Properties/Settings.Designer.cs b/FRControl/Properties/Settings.Designer.cs
index 2fc3398..6d3400b 100644
--- a/FRControl/Properties/Settings.Designer.cs
+++ b/FRControl/Properties/Settings.Designer.cs
@@ -184,7 +184,7 @@ namespace FRControl.Properties {
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.Configuration.DefaultSettingValueAttribute("案件信息公开")]
+ [global::System.Configuration.DefaultSettingValueAttribute("官网")]
public string caseName {
get {
return ((string)(this["caseName"]));
@@ -196,7 +196,7 @@ namespace FRControl.Properties {
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.Configuration.DefaultSettingValueAttribute("预约律师接访")]
+ [global::System.Configuration.DefaultSettingValueAttribute("案件信息公开")]
public string lawyerName {
get {
return ((string)(this["lawyerName"]));
@@ -208,7 +208,7 @@ namespace FRControl.Properties {
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.Configuration.DefaultSettingValueAttribute("预约人民监督员接访")]
+ [global::System.Configuration.DefaultSettingValueAttribute("律师阅卷")]
public string personName {
get {
return ((string)(this["personName"]));
diff --git a/FRControl/Properties/Settings.settings b/FRControl/Properties/Settings.settings
index baef64d..333d563 100644
--- a/FRControl/Properties/Settings.settings
+++ b/FRControl/Properties/Settings.settings
@@ -42,13 +42,13 @@
Resources/close.png
- 案件信息公开
+ 官网
- 预约律师接访
+ 案件信息公开
- 预约人民监督员接访
+ 律师阅卷
\ No newline at end of file
diff --git a/FRControl/WebView.cs b/FRControl/WebView.cs
index 086f495..99b9bf3 100644
--- a/FRControl/WebView.cs
+++ b/FRControl/WebView.cs
@@ -45,9 +45,22 @@ namespace FRControl
}
private void webBrowser1_DocumentCompleted_1(object sender, WebBrowserDocumentCompletedEventArgs e)
{
-
+ //System.IO.StreamReader sr = new System.IO.StreamReader(webBrowser1.DocumentStream, Encoding.GetEncoding("gb2312"));
+ //string html = sr.ReadToEnd();//获取源文件
+ //sr.Close();
+ ///*截取table 的html源文件*/
+ //int start = html.IndexOf("
");
+ //int end = html.IndexOf("
", start) + 8;
+ //string tbhtm = html.Substring(start, end - start);
+
+ //webBrowser1.DocumentText = tbhtm;//设置为table的html代码
+ //将所有的链接的目标,指向本窗体
+ foreach (HtmlElement htmlElement in webBrowser1.Document.Links)
+ {
+ htmlElement.SetAttribute("target", "_self");
+ }
this.webBrowser1.Document.Window.Error += new HtmlElementErrorEventHandler(Window_Error);
- //获取网页的最大size
+ //获取网页的最大size
Size szba = new Size(webBrowser1.Document.Body.ScrollRectangle.Width, webBrowser1.Document.Body.ScrollRectangle.Height);
Size sz = webBrowser1.Size;
int xbili = (int)((float)sz.Width / (float)szba.Width * 100);//水平方向缩小比例