diff --git a/FRControl/App.config b/FRControl/App.config
index 5c290d3..14f152c 100644
--- a/FRControl/App.config
+++ b/FRControl/App.config
@@ -28,9 +28,6 @@
Resources/person.png
-
- https://www.12309.gov.cn/front-cas/login
-
Resources/caseInfo.png
@@ -58,6 +55,9 @@
律师阅卷
+
+ https://www.12309.gov.cn/front-cas/login?casLv=1&service=https://www.12309.gov.cn/sppWeb/j_spring_cas_security_check
+
\ No newline at end of file
diff --git a/FRControl/Home.cs b/FRControl/Home.cs
index a539a50..4c45132 100644
--- a/FRControl/Home.cs
+++ b/FRControl/Home.cs
@@ -67,7 +67,7 @@ namespace FRControl
//System.Diagnostics.Process.Start(Properties.Settings.Default.personInterview);
WebView webView = new WebView();
title = Properties.Settings.Default.personName;
- url = Properties.Settings.Default.personInterview+"?casLv=1&service=https://www.12309.gov.cn/sppWeb/j_spring_cas_security_check";
+ url = Properties.Settings.Default.personInterview;
//webView.param = Properties.Settings.Default.caseInformation;
webView.Show();
}
diff --git a/FRControl/Properties/Settings.Designer.cs b/FRControl/Properties/Settings.Designer.cs
index 6d3400b..f8555e1 100644
--- a/FRControl/Properties/Settings.Designer.cs
+++ b/FRControl/Properties/Settings.Designer.cs
@@ -12,7 +12,7 @@ namespace FRControl.Properties {
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "15.9.0.0")]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "15.5.0.0")]
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
@@ -100,18 +100,6 @@ namespace FRControl.Properties {
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
- [global::System.Configuration.DefaultSettingValueAttribute("http://xz.wh.hbjc.gov.cn/")]
- public string personInterview {
- get {
- return ((string)(this["personInterview"]));
- }
- set {
- this["personInterview"] = value;
- }
- }
-
- [global::System.Configuration.UserScopedSettingAttribute()]
- [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("Resources/caseInfo.png")]
public string caseImg {
get {
@@ -217,5 +205,18 @@ namespace FRControl.Properties {
this["personName"] = value;
}
}
+
+ [global::System.Configuration.UserScopedSettingAttribute()]
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.Configuration.DefaultSettingValueAttribute("https://www.12309.gov.cn/front-cas/login?casLv=1&service=https://www.12309.gov.cn" +
+ "/sppWeb/j_spring_cas_security_check")]
+ public string personInterview {
+ get {
+ return ((string)(this["personInterview"]));
+ }
+ set {
+ this["personInterview"] = value;
+ }
+ }
}
}
diff --git a/FRControl/Properties/Settings.settings b/FRControl/Properties/Settings.settings
index 333d563..17e3a6a 100644
--- a/FRControl/Properties/Settings.settings
+++ b/FRControl/Properties/Settings.settings
@@ -20,9 +20,6 @@
Resources/person.png
-
- http://xz.wh.hbjc.gov.cn/
-
Resources/caseInfo.png
@@ -50,5 +47,8 @@
律师阅卷
+
+ https://www.12309.gov.cn/front-cas/login?casLv=1&service=https://www.12309.gov.cn/sppWeb/j_spring_cas_security_check
+
\ No newline at end of file
diff --git a/FRControl/WebView.cs b/FRControl/WebView.cs
index 0cbd27a..fde680a 100644
--- a/FRControl/WebView.cs
+++ b/FRControl/WebView.cs
@@ -41,6 +41,7 @@ namespace FRControl
//webBrowser1.Document.Body.Style = "zoom:0.5";
this.TitlePanel.BackColor = Color.FromArgb(37, 122, 187);
this.webBrowser1.Url = new Uri(Home.url);
+ //Console.WriteLine(Home.url);
this.TitleLab.Text = Home.title;
this.webBrowser1.ScriptErrorsSuppressed = true;
//this.webBrowser1.ScrollBarsEnabled = false;
@@ -76,10 +77,10 @@ namespace FRControl
int ybili = (int)((float)sz.Height / (float)szba.Height * 100);//垂直方向缩小比例
Console.WriteLine("xbili:" + xbili + ",ybili:" + ybili);
webBrowser1.Document.Body.Style = "zoom:" + xbili.ToString() + "%";
- //if (xbili < ybili)
- // webBrowser1.Document.Body.Style = "zoom:" + xbili.ToString() + "%";
- //else
- // webBrowser1.Document.Body.Style = "zoom:" + ybili.ToString() + "%";
+ if (xbili < ybili)
+ webBrowser1.Document.Body.Style = "zoom:" + xbili.ToString() + "%";
+ else
+ webBrowser1.Document.Body.Style = "zoom:" + ybili.ToString() + "%";
webBrowser1.Invalidate();
}
private void Window_Error(object sender, HtmlElementErrorEventArgs e)