diff --git a/FRControl.sln b/FRControl.sln new file mode 100644 index 0000000..19c4639 --- /dev/null +++ b/FRControl.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 15 +VisualStudioVersion = 15.0.28307.902 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FRControl", "FRControl\FRControl.csproj", "{4BCC5940-586C-42E6-8A06-44620F7DE50B}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {4BCC5940-586C-42E6-8A06-44620F7DE50B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {4BCC5940-586C-42E6-8A06-44620F7DE50B}.Debug|Any CPU.Build.0 = Debug|Any CPU + {4BCC5940-586C-42E6-8A06-44620F7DE50B}.Release|Any CPU.ActiveCfg = Release|Any CPU + {4BCC5940-586C-42E6-8A06-44620F7DE50B}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {5F396113-65F2-4244-9DB0-172E6E3F74D3} + EndGlobalSection +EndGlobal diff --git a/FRControl/App.config b/FRControl/App.config new file mode 100644 index 0000000..752c406 --- /dev/null +++ b/FRControl/App.config @@ -0,0 +1,63 @@ + + + + +
+ + + + + + + + + Resources/bg.jpg + + + https://www.12309.gov.cn/12309/gj/hub/whsq/whsxzqq/index.shtml?channelLevels=/fb5a41c9247547bca03ae21326c3ad51/e2d8081e3a3640719cf2b3dedfb39725/5371804889d0471396667fd85979ff2d/b5f2513b4b004d059ca6d2cab2429597/2199aa2b013442d4bcef5540f317baa9 + + + Resources/code.png + + + Resources/lawyer.png + + + http://xz.wh.hbjc.gov.cn/ + + + Resources/person.png + + + http://xz.wh.hbjc.gov.cn/ + + + Resources/caseInfo.png + + + Resources/mx_favicon.ico + + + Resources/caseInfo_on.png + + + Resources/person_on.png + + + Resources/lawyer_on.png + + + Resources/close.png + + + 案件信息公开 + + + 预约律师接访 + + + 预约人民监督员接访 + + + + \ No newline at end of file diff --git a/FRControl/FRControl.csproj b/FRControl/FRControl.csproj new file mode 100644 index 0000000..28eb720 --- /dev/null +++ b/FRControl/FRControl.csproj @@ -0,0 +1,122 @@ + + + + + Debug + AnyCPU + {4BCC5940-586C-42E6-8A06-44620F7DE50B} + WinExe + FRControl + FRControl + v4.6.1 + 512 + true + true + + + AnyCPU + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + AnyCPU + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + mx_favicon.ico + + + + + + + + + + + + + + + + + Form + + + Home.cs + + + + + Form + + + WebView.cs + + + Home.cs + + + ResXFileCodeGenerator + Resources.Designer.cs + Designer + + + True + Resources.resx + True + + + WebView.cs + + + SettingsSingleFileGenerator + Settings.Designer.cs + + + True + Settings.settings + True + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/FRControl/Home.Designer.cs b/FRControl/Home.Designer.cs new file mode 100644 index 0000000..651d444 --- /dev/null +++ b/FRControl/Home.Designer.cs @@ -0,0 +1,239 @@ +namespace FRControl +{ + partial class Home + { + /// + /// 必需的设计器变量。 + /// + private System.ComponentModel.IContainer components = null; + + /// + /// 清理所有正在使用的资源。 + /// + /// 如果应释放托管资源,为 true;否则为 false。 + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows 窗体设计器生成的代码 + + /// + /// 设计器支持所需的方法 - 不要修改 + /// 使用代码编辑器修改此方法的内容。 + /// + private void InitializeComponent() + { + this.components = new System.ComponentModel.Container(); + System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Home)); + this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel(); + this.CaseBtn = new System.Windows.Forms.Button(); + this.LawyerBtn = new System.Windows.Forms.Button(); + this.PersonBtn = new System.Windows.Forms.Button(); + this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel(); + this.CodePic = new System.Windows.Forms.PictureBox(); + this.CloseBtn = new System.Windows.Forms.Button(); + this.timer1 = new System.Windows.Forms.Timer(this.components); + this.tableLayoutPanel1.SuspendLayout(); + this.tableLayoutPanel2.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.CodePic)).BeginInit(); + this.SuspendLayout(); + // + // tableLayoutPanel1 + // + this.tableLayoutPanel1.AutoScroll = true; + this.tableLayoutPanel1.BackColor = System.Drawing.Color.Transparent; + this.tableLayoutPanel1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; + this.tableLayoutPanel1.ColumnCount = 7; + this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 4.001886F)); + this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 43.9976F)); + this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 4.001887F)); + this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 41.9977F)); + this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 1.999996F)); + this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 1.999996F)); + this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 2.000944F)); + this.tableLayoutPanel1.Controls.Add(this.CaseBtn, 1, 3); + this.tableLayoutPanel1.Controls.Add(this.LawyerBtn, 1, 5); + this.tableLayoutPanel1.Controls.Add(this.PersonBtn, 3, 5); + this.tableLayoutPanel1.Controls.Add(this.tableLayoutPanel2, 0, 7); + this.tableLayoutPanel1.Controls.Add(this.CloseBtn, 4, 1); + this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill; + this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 0); + this.tableLayoutPanel1.Margin = new System.Windows.Forms.Padding(0); + this.tableLayoutPanel1.MaximumSize = new System.Drawing.Size(1080, 1920); + this.tableLayoutPanel1.MinimumSize = new System.Drawing.Size(608, 1080); + this.tableLayoutPanel1.Name = "tableLayoutPanel1"; + this.tableLayoutPanel1.RowCount = 9; + this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 1.317365F)); + this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 2.227726F)); + this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 22.19806F)); + this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 13.86128F)); + this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 1.980183F)); + this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 13.86128F)); + this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 1.980183F)); + this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 19.80183F)); + this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 22.7721F)); + this.tableLayoutPanel1.Size = new System.Drawing.Size(608, 1080); + this.tableLayoutPanel1.TabIndex = 2; + this.tableLayoutPanel1.Paint += new System.Windows.Forms.PaintEventHandler(this.tableLayoutPanel1_Paint); + // + // CaseBtn + // + this.CaseBtn.BackColor = System.Drawing.Color.Transparent; + this.CaseBtn.BackgroundImage = global::FRControl.Properties.Resources.caseInfo; + this.CaseBtn.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; + this.tableLayoutPanel1.SetColumnSpan(this.CaseBtn, 4); + this.CaseBtn.Dock = System.Windows.Forms.DockStyle.Fill; + this.CaseBtn.FlatAppearance.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); + this.CaseBtn.FlatAppearance.BorderSize = 0; + this.CaseBtn.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Transparent; + this.CaseBtn.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Transparent; + this.CaseBtn.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.CaseBtn.Location = new System.Drawing.Point(24, 277); + this.CaseBtn.Margin = new System.Windows.Forms.Padding(0); + this.CaseBtn.Name = "CaseBtn"; + this.CaseBtn.Size = new System.Drawing.Size(558, 149); + this.CaseBtn.TabIndex = 0; + this.CaseBtn.UseVisualStyleBackColor = false; + this.CaseBtn.Click += new System.EventHandler(this.CaseBtn_Click); + this.CaseBtn.MouseLeave += new System.EventHandler(this.CaseBtn_Leave); + this.CaseBtn.MouseHover += new System.EventHandler(this.CaseBtn_Hover); + // + // LawyerBtn + // + this.LawyerBtn.BackColor = System.Drawing.Color.Transparent; + this.LawyerBtn.BackgroundImage = global::FRControl.Properties.Resources.lawyer; + this.LawyerBtn.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; + this.LawyerBtn.Dock = System.Windows.Forms.DockStyle.Fill; + this.LawyerBtn.FlatAppearance.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); + this.LawyerBtn.FlatAppearance.BorderSize = 0; + this.LawyerBtn.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Transparent; + this.LawyerBtn.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Transparent; + this.LawyerBtn.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.LawyerBtn.Location = new System.Drawing.Point(24, 447); + this.LawyerBtn.Margin = new System.Windows.Forms.Padding(0); + this.LawyerBtn.Name = "LawyerBtn"; + this.LawyerBtn.Size = new System.Drawing.Size(267, 149); + this.LawyerBtn.TabIndex = 1; + this.LawyerBtn.UseVisualStyleBackColor = false; + this.LawyerBtn.Click += new System.EventHandler(this.LawyerBtn_Click); + this.LawyerBtn.MouseLeave += new System.EventHandler(this.LawyerBtn_Leave); + this.LawyerBtn.MouseHover += new System.EventHandler(this.LawyerBtn_Hover); + // + // PersonBtn + // + this.PersonBtn.BackColor = System.Drawing.Color.Transparent; + this.PersonBtn.BackgroundImage = global::FRControl.Properties.Resources.person; + this.PersonBtn.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; + this.tableLayoutPanel1.SetColumnSpan(this.PersonBtn, 2); + this.PersonBtn.Dock = System.Windows.Forms.DockStyle.Fill; + this.PersonBtn.FlatAppearance.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); + this.PersonBtn.FlatAppearance.BorderSize = 0; + this.PersonBtn.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Transparent; + this.PersonBtn.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Transparent; + this.PersonBtn.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.PersonBtn.Location = new System.Drawing.Point(315, 447); + this.PersonBtn.Margin = new System.Windows.Forms.Padding(0); + this.PersonBtn.Name = "PersonBtn"; + this.PersonBtn.Size = new System.Drawing.Size(267, 149); + this.PersonBtn.TabIndex = 2; + this.PersonBtn.UseVisualStyleBackColor = false; + this.PersonBtn.Click += new System.EventHandler(this.PersonBtn_Click); + this.PersonBtn.MouseLeave += new System.EventHandler(this.PersonBtn_Leave); + this.PersonBtn.MouseHover += new System.EventHandler(this.PersonBtn_Hover); + // + // tableLayoutPanel2 + // + this.tableLayoutPanel2.BackColor = System.Drawing.Color.Transparent; + this.tableLayoutPanel2.ColumnCount = 3; + this.tableLayoutPanel1.SetColumnSpan(this.tableLayoutPanel2, 5); + this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 30F)); + this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 40F)); + this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 30F)); + this.tableLayoutPanel2.Controls.Add(this.CodePic, 1, 0); + this.tableLayoutPanel2.Dock = System.Windows.Forms.DockStyle.Fill; + this.tableLayoutPanel2.Location = new System.Drawing.Point(0, 617); + this.tableLayoutPanel2.Margin = new System.Windows.Forms.Padding(0); + this.tableLayoutPanel2.Name = "tableLayoutPanel2"; + this.tableLayoutPanel2.RowCount = 1; + this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); + this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 213F)); + this.tableLayoutPanel2.Size = new System.Drawing.Size(582, 213); + this.tableLayoutPanel2.TabIndex = 3; + // + // CodePic + // + this.CodePic.BackgroundImage = global::FRControl.Properties.Resources.code; + this.CodePic.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; + this.CodePic.Dock = System.Windows.Forms.DockStyle.Fill; + this.CodePic.Location = new System.Drawing.Point(174, 0); + this.CodePic.Margin = new System.Windows.Forms.Padding(0); + this.CodePic.Name = "CodePic"; + this.CodePic.Size = new System.Drawing.Size(232, 213); + this.CodePic.TabIndex = 0; + this.CodePic.TabStop = false; + // + // CloseBtn + // + this.CloseBtn.BackgroundImage = global::FRControl.Properties.Resources.close; + this.CloseBtn.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; + this.tableLayoutPanel1.SetColumnSpan(this.CloseBtn, 2); + this.CloseBtn.Dock = System.Windows.Forms.DockStyle.Fill; + this.CloseBtn.FlatAppearance.BorderSize = 0; + this.CloseBtn.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Transparent; + this.CloseBtn.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Transparent; + this.CloseBtn.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.CloseBtn.Location = new System.Drawing.Point(570, 14); + this.CloseBtn.Margin = new System.Windows.Forms.Padding(0); + this.CloseBtn.Name = "CloseBtn"; + this.CloseBtn.Size = new System.Drawing.Size(24, 24); + this.CloseBtn.TabIndex = 4; + this.CloseBtn.UseVisualStyleBackColor = true; + this.CloseBtn.Click += new System.EventHandler(this.CloseBtn_Click); + this.CloseBtn.MouseDown += new System.Windows.Forms.MouseEventHandler(this.CloseBtn_MouseDown); + // + // timer1 + // + this.timer1.Tick += new System.EventHandler(this.timer1_Tick); + // + // Home + // + this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi; + this.BackgroundImage = global::FRControl.Properties.Resources.bg; + this.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; + this.ClientSize = new System.Drawing.Size(608, 1080); + this.ControlBox = false; + this.Controls.Add(this.tableLayoutPanel1); + this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; + this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); + this.KeyPreview = true; + this.MaximizeBox = false; + this.MinimizeBox = false; + this.Name = "Home"; + this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; + this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Home_KeyDown); + this.tableLayoutPanel1.ResumeLayout(false); + this.tableLayoutPanel2.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)(this.CodePic)).EndInit(); + this.ResumeLayout(false); + + } + + #endregion + + private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1; + private System.Windows.Forms.Button CaseBtn; + private System.Windows.Forms.Button LawyerBtn; + private System.Windows.Forms.Button PersonBtn; + private System.Windows.Forms.TableLayoutPanel tableLayoutPanel2; + private System.Windows.Forms.PictureBox CodePic; + private System.Windows.Forms.Button CloseBtn; + private System.Windows.Forms.Timer timer1; + } +} + diff --git a/FRControl/Home.cs b/FRControl/Home.cs new file mode 100644 index 0000000..bc21ffb --- /dev/null +++ b/FRControl/Home.cs @@ -0,0 +1,144 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Data; +using System.Drawing; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace FRControl +{ + public partial class Home : Form + { + public static string title = ""; + public static string url =""; + public Home() + { + InitializeComponent(); + //this.Icon = Icon.FromHandle(System.IO.Path.GetFullPath(Properties.Settings.Default.iconImg)); + //Icon.FromFile(System.IO.Path.GetFullPath(Properties.Settings.Default.iconImg)); + Size WindowsScreenSize = new Size(Screen.PrimaryScreen.Bounds.Width, Screen.PrimaryScreen.Bounds.Height); + Console.WriteLine(WindowsScreenSize); + int width = Screen.PrimaryScreen.Bounds.Width; + if (width == 1080) + { + this.Size = new Size(1080, 1920); + } + else + { + this.Size = new Size(608, 1080); + } + this.BackgroundImage = Image.FromFile(System.IO.Path.GetFullPath(Properties.Settings.Default.bannerUrl)); + this.CaseBtn.BackgroundImage = Image.FromFile(System.IO.Path.GetFullPath(Properties.Settings.Default.caseImg)); + this.LawyerBtn.BackgroundImage = Image.FromFile(System.IO.Path.GetFullPath(Properties.Settings.Default.lawyerImg)); + this.PersonBtn.BackgroundImage = Image.FromFile(System.IO.Path.GetFullPath(Properties.Settings.Default.personImg)); + this.CodePic.BackgroundImage = Image.FromFile(System.IO.Path.GetFullPath(Properties.Settings.Default.codeImg)); + this.CloseBtn.BackgroundImage = Image.FromFile(System.IO.Path.GetFullPath(Properties.Settings.Default.closeImg)); + } + + private void CaseBtn_Click(object sender, EventArgs e) + { + //this.CaseBtn.BackgroundImage = Image.FromFile(System.IO.Path.GetFullPath(Properties.Settings.Default.caseImgOn)); + //System.Diagnostics.Process.Start(Properties.Settings.Default.caseInformation); + // + WebView webView = new WebView(); + title = Properties.Settings.Default.caseName; + url = Properties.Settings.Default.caseInformation; + //webView.param = Properties.Settings.Default.caseInformation; + webView.Show(); + } + + private void LawyerBtn_Click(object sender, EventArgs e) + { + //this.LawyerBtn.BackgroundImage = Image.FromFile(System.IO.Path.GetFullPath(Properties.Settings.Default.lawyerImgOn)); + //System.Diagnostics.Process.Start(Properties.Settings.Default.lawyerInterview); + WebView webView = new WebView(); + title = Properties.Settings.Default.lawyerName; + url = Properties.Settings.Default.lawyerInterview; + //webView.param = Properties.Settings.Default.caseInformation; + webView.Show(); + } + + private void PersonBtn_Click(object sender, EventArgs e) + { + //this.PersonBtn.BackgroundImage = Image.FromFile(System.IO.Path.GetFullPath(Properties.Settings.Default.personImgOn)); + //System.Diagnostics.Process.Start(Properties.Settings.Default.personInterview); + WebView webView = new WebView(); + title = Properties.Settings.Default.personName; + url = Properties.Settings.Default.personInterview; + //webView.param = Properties.Settings.Default.caseInformation; + webView.Show(); + } + + private void CaseBtn_Hover(object sender, EventArgs e) + { + this.CaseBtn.BackgroundImage = Image.FromFile(System.IO.Path.GetFullPath(Properties.Settings.Default.caseImgOn)); + + } + + private void CaseBtn_Leave(object sender, EventArgs e) + { + this.CaseBtn.BackgroundImage = Image.FromFile(System.IO.Path.GetFullPath(Properties.Settings.Default.caseImg)); + + } + + private void LawyerBtn_Hover(object sender, EventArgs e) + { + this.LawyerBtn.BackgroundImage = Image.FromFile(System.IO.Path.GetFullPath(Properties.Settings.Default.lawyerImgOn)); + + } + + private void LawyerBtn_Leave(object sender, EventArgs e) + { + this.LawyerBtn.BackgroundImage = Image.FromFile(System.IO.Path.GetFullPath(Properties.Settings.Default.lawyerImg)); + + } + + private void PersonBtn_Hover(object sender, EventArgs e) + { + this.PersonBtn.BackgroundImage = Image.FromFile(System.IO.Path.GetFullPath(Properties.Settings.Default.personImgOn)); + + } + + private void PersonBtn_Leave(object sender, EventArgs e) + { + this.PersonBtn.BackgroundImage = Image.FromFile(System.IO.Path.GetFullPath(Properties.Settings.Default.personImg)); + + } + + private void close_Click(object sender, EventArgs e) + { + this.Close(); + } + + private void Home_KeyDown(object sender, KeyEventArgs e) + { + if ((e.KeyCode == Keys.Q) && e.Control) + this.Close(); + } + + private void CloseBtn_Click(object sender, EventArgs e) + { + + } + + private void CloseBtn_MouseDown(object sender, MouseEventArgs e) + { + timer1.Interval = 3000;//timer1_Tick那段代码每3秒执行一次,初始执行,在3秒之后才正式开始 + timer1.Enabled = true;//开启timer3 + + } + + private void tableLayoutPanel1_Paint(object sender, PaintEventArgs e) + { + + } + + private void timer1_Tick(object sender, EventArgs e) + { + this.Close(); + } + } +} diff --git a/FRControl/Home.resx b/FRControl/Home.resx new file mode 100644 index 0000000..e1d1a54 --- /dev/null +++ b/FRControl/Home.resx @@ -0,0 +1,414 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + 181, 35 + + + 28 + + + + + AAABAAEAQEAAAAEAIAAoQgAAFgAAACgAAABAAAAAgAAAAAEAIAAAAAAAAEAAABILAAASCwAAAAAAAAAA + AAAAAAAAAAAAAAAAAAAAAAAAAAAAAP///wD///8G////Nf///4H////B////4/////r///////////// + //////////////////////////////////////////////////////////////////////////////// + //////////////////////////////////////////////////////////////////////////////// + ////////////////////////////////////////////+P///+D///+8////ev///y7///8E////AAAA + AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA////AP///wH///8u////mv///+f////+//////// + //////////////////////////////////////////////////////////////////////////////// + //////////////////////////////////////////////////////////////////////////////// + //////////////////////////////////////////////////////////////////////////////// + //3////i////j////yb///8A////AAAAAAAAAAAAAAAAAAAAAAAAAAAA////AP///wX///9i////4P// + //////////////////////////////////////////////////////////////////////////////// + //////////////////////////////////////////////////////////////////////////////// + //////////////////////////////////////////////////////////////////////////////// + ///////////////////////////////////////X////VP///wP///8AAAAAAAAAAAAAAAAA////AP// + /wX///90////8/////////////////////////////////////////////////////////////////// + //////////////////////////////////////////////////////////////////////////////// + //////////////////////////////////////////////////////////////////////////////// + /////////////////////////////////////////////////////////////////+////9r////A/// + /wAAAAAA////AP///wD///9m////8/////////////////////////////////////////////////// + //////////////////////////////////////////////////////////////////////////////// + //////////////////////////////////////////////////////////////////////////////// + //////////////////////////////////////////////////////////////////////////////// + ////////////7v///1T///8A////AP///wD///81////4v////////////////////////////////// + //////////////////////////////////////////////////////////////////////////////// + //////////////////////////////////////////////////////////////////////////////// + //////////////////////////////////////////////////////////////////////////////// + ///////////////////////////////////////W////J////wD///8H////o/////////////////// + //////////////////////////////////////////////////////////////////////////////// + //////////////////////////////////////////////////////////////////////////////// + //////////////////////////////////////////////////////////////////////////////// + /////////////////////////////////////////////////////////////////5D///8C////Qf// + /+z///////////////////////////////////////////////////////////////////////////// + //////////////////////////////////////////////////////////////////////////////// + //////////////////////////////////////////////////////////////////////////////// + //////////////////////////////////////////////////////////////////////////////// + ///////h////L////5L///////////////////////////////////////////79/f/n2tX/3svE//Tt + 6///////////////////////+PTz/+DPyP/j083//Pr6//Lr6f/n29f/383F/+/m4v/v5uP/49TO/+HQ + yf/49PP/6t7Z/+LRy//7+fn/8ern/+re2v/v5uL/8enm/+bX0v/n2dT/5NTO/+nd2P/j08z/4tHK//Tu + 7P/38/H/4M3G//Hp5v/6+Pf/4dDJ/+zh3f/w5+T/4M3G//Xv7P/l1tH/5tjS//79/f////////////// + /////////////////////////////f///3r////R//////////////////////////////////////// + ////////0rmv/4hEKf+kcFv/8enm////////////+fX0/7WKef+EPSH/wZ6Q//79/f+5kYH/oW1a/4pG + K/+mc1//pXNf/6NvW/+FPyP/zrKn/61/bf+OTTP/8enm/97Mxv+aYUv/kFA2/72Xif+dZE7/oWtW/5ZZ + Qf+qeWb/mF1F/5NUPP+9mIn/5tjT/4dCJ/+8lYb/49TO/4ZAJP+/moz/uZGC/4lFKv/Yw7v/klM6/6h2 + Yv/9/Pv///////////////////////////////////////////////+8////9v////////////////// + //////////////////////////////7+/v/KraH/gzwg/6ZzX//z7ev//Pr6/7mSg/+BOBv/t45+//r3 + 9///////sYNx/6FrVf+MSS//kVM6/5ZbQ/+4kID/gTgb/8KhlP+qemj/ikcs//Dn4//+////p3Zj/4lF + Kv/o29b/nWRN/51lT/+SUzr/p3Rf/5pfSP+WWkH/sYRy//Lr6P+RUjn/q3to/9C1q/+DOx//zrKn/6h3 + Y/+TVj3/2MK6/4hEKf+6k4T/////////////////////////////////////////////////////4P// + //////////////////////////////////////////////v6+f/Ywbn/zK+j/51lT/99MhX/pXNf/7eP + f/+FPyP/klM6/8eom//Qtqv/9O7r/7yWh/+lcV3/jEov/45NM/+VWUH/u5WF/4E5HP/DoZT/qnpo/4pH + LP/w5+P//v///6h3ZP+LRyz/6+Db/51kTv+dZU//klM6/6d0YP+aX0j/llpB/7KFc//t49//m2JL/7qS + g//x6eb/0rmv/61+bP+5kYH/59rU/+re2v+aYEn/u5SE//79/f////////////////////////////// + //////////////////f////////////////////////////////////////////////7+Pj/0rmv/8eo + nP/KrKD/r4Fv/4tJLv+jb1v/yKmd/8mrn//IqZ3/yqyg//Lr6P/UvbX/sod3/4ZAJf+NTDL/s4p6/7+b + jv+BOBv/w6GV/6p6aP+KRyz/8Ofk//v5+f+lcl//ikYr/+bX0v+ibVj/klQ7/4tILv+RUTn/j1A2/49O + NP+2jXz/8+3q/5BROP+bYkv/+vf2/+jd2P+EPSH/sYRy///////ZxLz/fzYZ/72Yif////////////// + //////////////////////////////////////////////////////////////////////////////// + ////////+PXz/8Gfkv+1i3v/tY19/7KHd/+RUjn/jkwy/7CFdP+2jX3/tYx9/7iQgf/t49//2MK5/7OI + d/+COh7/i0ku/7yVhv++moz/gTgb/7+cjv+mdWH/iEMo/+/l4v/j083/kVI5/4I7Hv/BnY//vZeI/6p5 + Zf+YXUX/fzUY/59oUv+peGT/zbCl//////+wg3L/gzwg/+XW0P/q3tr/hUAk/7KFc///////tYx7/4I6 + Hv/gz8j///////////////////////////////////////////////////////////////////////// + //////////////////////////////z7+v/JrKD/t5CA/7mRgv+2jn7/i0gt/4I6Hv+xhXT/uZKD/7iQ + gf/AnpD/9vLw/8ammf+MSS//k1U8/49ONf+TVDv/to18/4E5HP+ga1X/qnlm/6FrVf/hz8j//fz8/6Z1 + Yf+KRiv/69/b/8GekP+bYk3/mmJN/5piTP+aYkz/nWZR/9K5r///////1b20/381GP/FpJf/6t/b/4VA + JP+yhnT/9fDu/5RXPv+ZXkf/9/Px//////////////////////////////////////////////////// + ///////////////////////////////////////////////////8+/r/w6GV/6p6aP+rfGr/rYBv/4xK + L/+FPyT/qnpo/61+bf+qemj/uJGB//fz8f/Rt67/jUwy/7ePgP+qemf/lFhA/7+bjf9+NRf/tIp5/+bY + 0//l1tH/9O7s//Hq6P+cZVD/hT8j/9nEvP+ibFf/kFA3/6NvW/+BOBz/rH1r/4U/I/+7lIX/9O7r/8Cc + jv+DPSH/mF1G/7uVh/+ANxr/nGNM/7uVhf+BORz/mmFK/9fBuP/9/Pz///////////////////////// + /////////////////////////////////////////////////////////////////////////v39/+DQ + yf+yh3f/tIp6/9nDu//bxr//2sa+/9vHwP++moz/rH1r/9W+tf/8+vn/4tLL/8mqnv+whHP/tYt7/82x + pv/VvbT/tYt6/7qSgv/AnI7/v5uN/+bY0v/h0cr/tIp5/7KGdf/IqJz/wp6Q/8Wkl//Ptqz/pnVi/93L + w/+6k4P/0ret//Tt6//RuK//0Lat/9C2rf/Iqp//q31r/7iRgv/Ptaz/0Lat/8+1q//bx8D//fz8//// + //////////////////////////////////////////////////////////////////////////////// + /////////////////////////v39//79/f///////////////////////v7+//39/f///v7///////// + /////////f39//79/f////////////////////////////////////////////////////////////// + /////////v39//z7+//+/v7///////////////////////////////////////79/f/+/v7///////// + //////////////////////////////////////////////////////////////////////////////// + //////////////////////////////////////////////////////////////////////////////// + //////////////////////////////////////////////////////////////////////////////// + //////////////////////////////////////////////////////////////////////////////// + //////////////////////////////////////////////////////////////////////////////// + //////////////////////////////////////////////////////////////////////////////// + //////////////////////////////////////////////////////////////////////////////// + //////////////////////////////////////////////////////////////////////////////// + //////////////////////////////////////////////////////////////////////////////// + //////////////////////////////////////////////////////////////////////////////// + //////////////////////////////////////////////////////////////////////////////// + //////////////////////////////////////////////////////////////////////////////// + //////////////////////////////////////////////////////////////////////////////// + //////////////////////////////////////////////////////////////////////////////// + //////////////////////////////////////////////////////////////////////////////// + /////////////////////////fz8//Tu6//m2NL/3Me//8+0qf/Kq5//0LWr/9zJwf/n2tT/9fDt//79 + /f////////////////////////////////////////////////////////////////////////////// + //////////////////////////////////////////////////////////////////////////////// + //////////////////////////////////////////////////////////////////////////////// + //////////////////////////////7+/v/v5uP/zrGm/6t7aP+TVTz/hkAk/4E4G/9+MxX/fDET/34z + Ff+BOBv/h0Im/5VYQP+vgG7/0riu//Lr6P////7///////////////////////////////////////// + //////////////////////////////////////////////////////////////////////////////// + //////////////////////////////////////////////////////////////////////////////// + /////////////////////////////////////////////+zh3f+7lIT/kFA2/34zFf97LxD/fDAR/3wx + E/99MhT/fTIU/30yFP99MhT/fTIU/3wxE/97MBH/ey8Q/381F/+TVTz/wZ2P//Dn5P////////////// + //////////////////////////////////////////////////////////////////////////////// + //////////////////////////////////////////////////////////////////////////////// + ////////////////////////////////////////////////////////+fX0/8mqnv+QTzb/fDAS/3ww + Ev99MhT/fTIU/30yFP99MhT/fTIU/30yFP98MRP/fDAS/3svEf97LxD/ezAR/3wwEv98MRP/fDAR/3wx + E/+UVj7/0LWq//v5+P////////////////////////////////////////////////////////////// + //////////////////////////////////////////////////////////////////////////////// + ////////////////////////////////////////////////////////////////////////8Ofj/6t7 + aP9/NRj/fDAS/30yFP99MhT/fTIU/30yFP99MhT/fDAR/3svEf+ANhn/iUUq/5JUO/+cY0z/nWVO/5da + Qv+MSS//gjse/3wxEv97LxD/ey8Q/4E4G/+0iHf/8+zq//////////////////////////////////// + //////////////////////////////////////////////////////////////////////////////// + //////////////////////////////////////////////////////////////////////////////// + ////////6NvW/5xjTf98MBL/fTIT/30yFP99MhT/fTIU/30yFP97MBH/fzUX/5VYP/+4j37/18C3/+vf + 2v/07er/+vf2//v49//28e//7uXh/9/Mxf/EopT/oWpV/4Q9If97LxD/fDAS/6VxXP/w6OX///////// + //////////////////////////////////////////////////////////////////////////////// + //////////////////////////////////////////////////////////////////////////////// + ////////////////////////7OHc/5leR/97LxH/fTIU/30yFP99MhT/fTIU/3wxE/99MhT/mV9H/86y + p//07er///7+//////////////////////////////////////////////////r39v/fzMX/q3to/4M7 + Hv96Lg//pG9a//Lq5/////////////////////////////////////////////////////////////// + //////////////////////////////////////////////////////////////////////////////// + ////////////////////////////////////////9e/t/6RwW/97MBH/fTIU/30yFP99MhT/fTIU/3ww + Ev+GQCT/vpmK//Tt6//////////////////////////////////////////////////7+v7/7ev8//7+ + //////////////v5+f/VvbT/lFc+/3suEP+tfmv/+fb0//////////////////////////////////// + //////////////////////////////////////////////////////////////////////////////// + /////////////////////////////////////////////////////////v39/7uUhf99MhT/fTIU/30y + FP99MhT/fTET/3svEP+OTTP/1r+1//79/f////////////////////////////////////////////// + ///r6fz/jIXs/6yn8f///////////////////////////+zh3f+jbln/fjQW/8almP////////////// + //////////////////////////////////////////////////////////////////////////////// + /////////////////////////////////////////////////////////////////////////////97L + xP+GQSX/fDET/30yFP99MhT/ey8R/4I6Hf+qeGX/5dbQ//////////////////////////////////// + //////////////r6/v+/u/T/VEni/zUn3f/U0fj/////////////////////////////////8urn/6Rw + W/+LSS7/59nU//////////////////////////////////////////////////////////////////// + //////////////////////////////////////////////////////////////////////////////// + //////////////r49v+mc17/ey8Q/30yFP98MBL/fjMW/5thSv/Uu7H/+/j3//////////////////// + /////////////////////////////97c+v9+den/LyHc/x0O2f9wZuf/+vr+//////////////////// + ///////////////////w6OT/m2JL/7CCb//9/Pz///////////////////////////////////////// + //////////////////////////////////////////////////////////////////////////////// + ///////////////////////////////////cyMD/gzwf/3wwEv98MBL/kE82/8SilP/TurD/59rU//// + ////////////////////////////////////////8vH9/6Kc7/9DNt//IRLa/yES2v8yJN3/ysb2//// + /////////////////////////////////////////////+HQyf+WWUH/5dbP//////////////////// + //////////////////////////////////////////////////////////////////////////////// + ///////////////////////////////////////////////////+/v7/sYRy/3ksDf+IQyf/sYRy/9vH + vv+zh3b/2cO6//n29f//////////////////////////////////////0c73/2RZ5f8lF9r/IRLa/yMU + 2v8gEdr/eXDo//z7/v//////////////////////////////////////////////////////v5uM/72X + iP////////////////////////////////////////////////////////////////////////////// + ////////////////////////////////////////////////////////////////////////8Ojk/5VY + QP+kb1r/07qw/8almP+5kID/1b60//Pt6v/////////////////////////////////4+P7/p6Hw/zsu + 3v8gEdn/IxTa/yMU2v8iE9r/NSfd/9HO9/////////////////////////////////////////////// + /////////////+/m4v+xg3H/9vHv//////////////////////////////////////////////////// + //////////////////////////////////////////////////////////////////////////////// + /////////////+7k4P/Hppn/3Mi//6p5Zf/Xwbf/y66i/+XW0P////////////////////////////// + ///z8v3/hn3r/ykb2/8hEtr/IxTa/yMU2v8jFNr/IBHa/3hv6P/u7Pz//fz///////////////////// + ////////////////////////////////////////yKib/+TVz/////////////////////////////// + //////////////////////////////////////////////////////////////////////////////// + ///////////////////////////////////p3dj/vpiJ/7+ai//dycH/xKKU/8Kfkf/UurD///////// + ///////////////////08/3/fXTp/yQV2v8iE9r/IxTa/yMU2v8jFNr/IhPa/zEj3P/Nyff/uLTz/5OM + 7f/o5/v//////////////////////////////////////////////////////+XW0P/axLv///////// + //////////////////////////////////////////////////////////////////////////////// + ///////////////////////////////////////////////////9/Pz/wp+R/+HPyP/Hp5r/x6aZ/7mR + gf/p3Nf//f38////////////////////////////mZLu/yES2v8gEdr/IxTa/yMU2v8jFNr/IxTa/yAR + 2f9qYOb/+/r+/+bk+/9IPOD/TUHh/7iz8//6+v7///////////////////////////////////////// + ///28e//28e///////////////////////////////////////////////////////////////////// + /////////////////////////////////////////////////////////////////////////////+LS + y/+zh3X/yquf/8yuov/Zw7r/sYVz//r39v//////////////////////4N76/1hN4/9nXeb/cWfn/yUW + 2v8jFNr/IxTa/yMU2v8nGdv/tbDy////////////lo7t/x8Q2f8tHtz/hn7r/+7t/P////////////// + /////////////////////////fv7/+bX0f/+/f3///////////////////////////////////////// + //////////////////////////////////////////////////////////////////////////////// + //////////////z6+f/hz8j/yque/9/Nxf+yhXT/zbGl/+re2f/+/fz//////////////////////+/u + /P/i4Pr//Pz//8fE9v8qHNv/IxTa/yMU2v8hEtr/SDzg/+ro+////////////9za+f88L97/IBHa/yIT + 2v9tY+b/7u38///////////////////////////////////+/v/49fP///7+//////////////////// + //////////////////////////////////////////////////////////////////////////////// + ///////////////////////////////////8+/r/1r+1/8yvo/+ugG3/5dbQ/7+bjP/q3dj///////// + //////////////////////////////////+1sPL/Jhfa/yMU2v8jFNr/IBDZ/3ty6f////////////// + ///9/f//eG7o/yAR2f8jFNr/IxTa/4R76v/5+f7///////////////////////////////////////// + //////////////////////////////////////////////////////////////////////////////// + /////////////////////////////////////////////////////////Pv6/7iQf//VvbT/1Lux/76Y + if/BnpD/4M7H////////////////////////////////////////////g3vq/yAR2v8jFNr/IxTa/yQV + 2v+tp/H//////////////////////7249P8pG9v/IxTa/yIT2v8rHNv/sqzy//////////////////// + //////////////////////////////////////////////////////////////////////////////// + //////////////////////////////////////////////////////////////////////////////// + ///y6uf/soVz/8+zp//GpZj/4c/I/8utof/+/fz/////////////////////////////////19T4/z4w + 3v8hEtr/IxTa/yIT2v81J93/19X4///////////////////////s6/z/Sz/h/yER2v8jFNr/IBHa/0xA + 4f/m5Pv///////////////////////////////////////////////////////////////////////// + //////////////////////////////////////////////////////////////////////////////// + ////////////////////////7ePf/9C1qv/Tua//wJyN/7yVhv/v5uP//v39//////////////////// + ////////8vH9/2th5v8hEtr/IxTa/yMU2v8gEdn/WU7j//X0/f///////////////////////////4J5 + 6v8gEdn/IxTa/yMU2v8iE9r/kovt//////////////////////////////////////////////////// + //////////////////////////////////////////////////////////////////////////////// + //////////////////////////////////////////////Hp5v/Ywbj/q3pn/+HQyf/IqJv/1byy//// + ////////////////////////9fX9/4R76v8lFtr/IxTa/yMU2v8jFNr/IRLa/5SN7f////////////// + ///////////////////CvvX/Kx3b/yIT2v8jFNr/IRLa/z4w3v/a1/n///////////////////////// + //////////////////////////////////////////////////////////////////////////////// + ///////////////////////////////////////////////////////////////////w6OX/0bar/+DO + x/+ziHb/y6yg/8qrnv/38vD/////////////////7+78/4J56v8mF9r/IhPa/yMU2v8jFNr/IhPa/zYo + 3f/V0vj/////////////////////////////////8/L9/1tQ4/8gEdn/IxTa/yMU2v8hEdr/fnbp//z7 + /v////////////////////////////////////////////////////////////////////////////// + //////////////////////////////////////////////////////////////////////////////// + /////////////8mqnf/EopT/y62h/9/Nxf+yhXT/07qw///////9/f//zsv3/2JX5f8kFdr/IhPa/yMU + 2v8jFNr/IxTa/yAR2f97cun//Pz+//////////////////////////////////////+yrfL/KRrb/yIT + 2v8jFNr/IhPa/zAi3P/BvPT///////////////////////////////////////////////////////// + //////////////////////////////////////////////////////////////////////////////// + ///////////////////////////////////q39r/yquf/8+zp/+tfmz/5dbP/8enmP/Qx+T/hHzr/zYp + 3f8gEdr/IxTa/yMU2v8jFNr/IxTa/yAQ2f9IPOD/3Nn5//////////////////////////////////// + ////////9fX9/2xi5v8gEdn/IxTa/yMU2v8gEdr/U0fi/+Xj+/////////////////////////////// + //////////////////////////////////////////////////////////////////////////////// + /////////////////////////////////////////////////////////v38/7yWh//VvLL/17+0/7WQ + if9yUZr/NSPN/yES2/8iE9r/IxTa/yMU2v8jFNr/IRLa/yAR2v9NQeH/y8f2//////////////////// + ///////////////////////////////////Z1/n/Rzvg/yAR2v8jFNr/IxTa/yES2v9zaef/8vL9//// + //////////////////////////////////////////////////////////////////////////////// + //////////////////////////////////////////////////////////////////////////////// + ///28O7/uY98/7OUoP9MLKL/Jxjc/yET2/8jFNr/IhPa/yES2v8gENn/IRLa/zgr3v+Ceur/4d/6//// + /////////////////////////////////////////////////////////////8O+9f88L97/IBHa/yMU + 2v8jFNr/JRba/3926v/x8P3///////////////////////////////////////////////////////// + //////////////////////////////////////////////////////////////////////////////// + //////////////////////////79/7Ocuv9JNsz/IhTe/yES3P8hE9z/IhLW/y0e2/8/Mt//Ylfl/5qT + 7v/Y1vn//Pz+//////////////////////////////////////////////////////////////////// + ////////yMT2/05C4f8hEdr/IhPa/yIT2v8kFdr/cGbn/+fm+/////////////////////////////// + //////////////////////////////////////////////////////////////////////////////// + /////////////////////////////////////////////83J9/9JPeP/HxDa/zAh1/9AJbT/ak+w/5N7 + uf+8rtj/5OL6//j4/v////////////////////////////////////////////////////////////// + ///////////////////////////////////i4Pr/gHfq/zMm3f8gEdn/IBHa/yES2v9bT+P/09D4//// + //////////////////////////////////////////////////////////////////////////////// + /////////////////////////////////////////////////////////////8rG9v9RReL/V0zj/5iQ + 6v+sk7D/wqSh/82vof/eyLz/rXxm//Xv7f///v7///////////////////////////////////////// + //////////////////////////////////////////////////////////////v7/v/PzPf/hXzq/0o+ + 4f8sHtv/Hg/Z/z0w3v+uqfH/+Pj+//////////////////////////////////////////////////// + ////////////+f////j///////////////////////////////////////////////////////////Hw + /f+tp/H/yMT2//Tz/f//////+fTy//r39f+0iXj/y66i/9S7sv/Qtar/5tjT//v5+P////////////// + //////////////////////////////////////////////////////////////////////////////// + //////////////7+///s6/z/x8T2/5uU7v9xaOf/ZFnl/7u29P////////////////////////////// + /////////////////////////////////+L////W//////////////////////////////////////// + ///////////////////8/P///f3/////////////////////////////7uXh/8enmv/Hp5r/t45+/+jb + 1f+5kID/7OHd//////////////////////////////////////////////////////////////////// + /////////////////////////////////////////////////////////f3///f2/v/39/7///////// + ///////////////////////////////////////////////////////B////m/////////////////// + //////////////////////////////////////////////////////////////////////////////// + ///hz8j/6d3Y/8+zqP+0iHf/0LWq/9W8sv/Zw7r/6dzX//7+/v/8+/r///////////////////////// + //////////////z7+v///v7///////////////////////////////////////////////////////// + ///////////////////////////////////////////////////////////////////////+////gf// + /0n////v//////////////////////////////////////////////////////////////////////// + ///////////////////////////////////u5OD/2sW8/+DPyP+pd2T/3crC/8mqnf/Osab/3cnB//Do + 5P/fzcb/7+bi//bw7v/n2tT/2cO7/+bY0v/7+fj//v7+//////////////////////////////////// + //////////////////////////////////////////////////////////////////////////////// + ////////////5v///zX///8L////rv////////////////////////////////////////////////// + //////////////////////////////////////////////////////////////v5+P/28O7/8enl/9/N + xv/Osqb/1b20/+LSy/+xhHL/18C3/9/Nxv/fzMX/yKib/+nc1//18O7///////////////////////// + //////////////////////////////////////////////////////////////////////////////// + /////////////////////////////////5r///8F////AP///z/////q//////////////////////// + //////////////////////////////////////////////////////////////////////////////// + ///////////////////9/Pz///7+//38/P/59vX/8enm//37+//59vX//fz7//////////////////// + //////////////////////////////////////////////////////////////////////////////// + /////////////////////////////////////////////////9////8v////AP///wD///8C////df// + //n///////////////////////////////////////////////////////////////////////////// + //////////////////////////////////////////////////////////////////////////////// + //////////////////////////////////////////////////////////////////////////////// + //////////////////////////////////////////////////////////////////P///9j////AP// + /wAAAAAA////AP///wr///+N////+f////////////////////////////////////////////////// + //////////////////////////////////////////////////////////////////////////////// + //////////////////////////////////////////////////////////////////////////////// + //////////////////////////////////////////////////////////////////////////////// + //P///90////Bf///wAAAAAAAAAAAAAAAAD///8A////C////3X////q//////////////////////// + //////////////////////////////////////////////////////////////////////////////// + //////////////////////////////////////////////////////////////////////////////// + //////////////////////////////////////////////////////////////////////////////// + /////////////////+P///9m////Bf///wAAAAAAAAAAAAAAAAAAAAAAAAAAAP///wD///8D////Pv// + /67////w//////////////////////////////////////////////////////////////////////// + //////////////////////////////////////////////////////////////////////////////// + //////////////////////////////////////////////////////////////////////////////// + ////////////////////////////7f///6T///80////Af///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA + AAAAAAAAAAAAAP///wD///8L////SP///5v////W////+f////////////////////////////////// + //////////////////////////////////////////////////////////////////////////////// + //////////////////////////////////////////////////////////////////////////////// + //////////////////////////////////b////S////kv///0D///8I////AAAAAAAAAAAAAAAAAAAA + AAAAAAAA/AAAAAAAAD/wAAAAAAAAH+AAAAAAAAAHwAAAAAAAAAPAAAAAAAAAA4AAAAAAAAABAAAAAAAA + AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA + AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA + AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA + AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA + AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA + AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA + AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAAAAAAAAAAYAA + AAAAAAADwAAAAAAAAAPgAAAAAAAAB/AAAAAAAAAP/AAAAAAAAD8= + + + \ No newline at end of file diff --git a/FRControl/Program.cs b/FRControl/Program.cs new file mode 100644 index 0000000..626be45 --- /dev/null +++ b/FRControl/Program.cs @@ -0,0 +1,22 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace FRControl +{ + static class Program + { + /// + /// 应用程序的主入口点。 + /// + [STAThread] + static void Main() + { + Application.EnableVisualStyles(); + Application.SetCompatibleTextRenderingDefault(false); + Application.Run(new Home()); + } + } +} diff --git a/FRControl/Properties/AssemblyInfo.cs b/FRControl/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..2bc7715 --- /dev/null +++ b/FRControl/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// 有关程序集的一般信息由以下 +// 控制。更改这些特性值可修改 +// 与程序集关联的信息。 +[assembly: AssemblyTitle("FRControl")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("FRControl")] +[assembly: AssemblyCopyright("Copyright © 2019")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// 将 ComVisible 设置为 false 会使此程序集中的类型 +//对 COM 组件不可见。如果需要从 COM 访问此程序集中的类型 +//请将此类型的 ComVisible 特性设置为 true。 +[assembly: ComVisible(false)] + +// 如果此项目向 COM 公开,则下列 GUID 用于类型库的 ID +[assembly: Guid("4bcc5940-586c-42e6-8a06-44620f7de50b")] + +// 程序集的版本信息由下列四个值组成: +// +// 主版本 +// 次版本 +// 生成号 +// 修订号 +// +// 可以指定所有值,也可以使用以下所示的 "*" 预置版本号和修订号 +// 方法是按如下所示使用“*”: : +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/FRControl/Properties/Resources.Designer.cs b/FRControl/Properties/Resources.Designer.cs new file mode 100644 index 0000000..3742c2e --- /dev/null +++ b/FRControl/Properties/Resources.Designer.cs @@ -0,0 +1,163 @@ +//------------------------------------------------------------------------------ +// +// 此代码由工具生成。 +// 运行时版本:4.0.30319.42000 +// +// 对此文件的更改可能会导致不正确的行为,并且如果 +// 重新生成代码,这些更改将会丢失。 +// +//------------------------------------------------------------------------------ + +namespace FRControl.Properties { + using System; + + + /// + /// 一个强类型的资源类,用于查找本地化的字符串等。 + /// + // 此类是由 StronglyTypedResourceBuilder + // 类通过类似于 ResGen 或 Visual Studio 的工具自动生成的。 + // 若要添加或移除成员,请编辑 .ResX 文件,然后重新运行 ResGen + // (以 /str 作为命令选项),或重新生成 VS 项目。 + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "15.0.0.0")] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + internal class Resources { + + private static global::System.Resources.ResourceManager resourceMan; + + private static global::System.Globalization.CultureInfo resourceCulture; + + [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] + internal Resources() { + } + + /// + /// 返回此类使用的缓存的 ResourceManager 实例。 + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Resources.ResourceManager ResourceManager { + get { + if (object.ReferenceEquals(resourceMan, null)) { + global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("FRControl.Properties.Resources", typeof(Resources).Assembly); + resourceMan = temp; + } + return resourceMan; + } + } + + /// + /// 重写当前线程的 CurrentUICulture 属性 + /// 重写当前线程的 CurrentUICulture 属性。 + /// + [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] + internal static global::System.Globalization.CultureInfo Culture { + get { + return resourceCulture; + } + set { + resourceCulture = value; + } + } + + /// + /// 查找 System.Drawing.Bitmap 类型的本地化资源。 + /// + internal static System.Drawing.Bitmap _return { + get { + object obj = ResourceManager.GetObject("return", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// 查找 System.Drawing.Bitmap 类型的本地化资源。 + /// + internal static System.Drawing.Bitmap bg { + get { + object obj = ResourceManager.GetObject("bg", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// 查找 System.Drawing.Bitmap 类型的本地化资源。 + /// + internal static System.Drawing.Bitmap caseInfo { + get { + object obj = ResourceManager.GetObject("caseInfo", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// 查找 System.Drawing.Bitmap 类型的本地化资源。 + /// + internal static System.Drawing.Bitmap close { + get { + object obj = ResourceManager.GetObject("close", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// 查找 System.Drawing.Bitmap 类型的本地化资源。 + /// + internal static System.Drawing.Bitmap code { + get { + object obj = ResourceManager.GetObject("code", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// 查找 System.Drawing.Bitmap 类型的本地化资源。 + /// + internal static System.Drawing.Bitmap jhlogo { + get { + object obj = ResourceManager.GetObject("jhlogo", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// 查找 System.Drawing.Bitmap 类型的本地化资源。 + /// + internal static System.Drawing.Bitmap lawyer { + get { + object obj = ResourceManager.GetObject("lawyer", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// 查找 System.Drawing.Bitmap 类型的本地化资源。 + /// + internal static System.Drawing.Bitmap mx_favicon { + get { + object obj = ResourceManager.GetObject("mx_favicon", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// 查找 System.Drawing.Bitmap 类型的本地化资源。 + /// + internal static System.Drawing.Bitmap person { + get { + object obj = ResourceManager.GetObject("person", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// 查找 System.Drawing.Bitmap 类型的本地化资源。 + /// + internal static System.Drawing.Bitmap return1 { + get { + object obj = ResourceManager.GetObject("return1", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + } +} diff --git a/FRControl/Properties/Resources.resx b/FRControl/Properties/Resources.resx new file mode 100644 index 0000000..d4fe9c4 --- /dev/null +++ b/FRControl/Properties/Resources.resx @@ -0,0 +1,151 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + + ..\bin\Release\Resources\return.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\person.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\bin\Release\Resources\close.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\code.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\jhlogo.ico;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\mx_favicon.ico;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\lawyer.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\bg.jpg;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\caseInfo.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\bin\Release\Resources\return.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + \ No newline at end of file diff --git a/FRControl/Properties/Settings.Designer.cs b/FRControl/Properties/Settings.Designer.cs new file mode 100644 index 0000000..2fc3398 --- /dev/null +++ b/FRControl/Properties/Settings.Designer.cs @@ -0,0 +1,221 @@ +//------------------------------------------------------------------------------ +// +// 此代码由工具生成。 +// 运行时版本:4.0.30319.42000 +// +// 对此文件的更改可能会导致不正确的行为,并且如果 +// 重新生成代码,这些更改将会丢失。 +// +//------------------------------------------------------------------------------ + +namespace FRControl.Properties { + + + [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "15.9.0.0")] + internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase { + + private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); + + public static Settings Default { + get { + return defaultInstance; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("Resources/bg.jpg")] + public string bannerUrl { + get { + return ((string)(this["bannerUrl"])); + } + set { + this["bannerUrl"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("https://www.12309.gov.cn/12309/gj/hub/whsq/whsxzqq/index.shtml?channelLevels=/fb5" + + "a41c9247547bca03ae21326c3ad51/e2d8081e3a3640719cf2b3dedfb39725/5371804889d047139" + + "6667fd85979ff2d/b5f2513b4b004d059ca6d2cab2429597/2199aa2b013442d4bcef5540f317baa" + + "9")] + public string caseInformation { + get { + return ((string)(this["caseInformation"])); + } + set { + this["caseInformation"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("Resources/code.png")] + public string codeImg { + get { + return ((string)(this["codeImg"])); + } + set { + this["codeImg"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("Resources/lawyer.png")] + public string lawyerImg { + get { + return ((string)(this["lawyerImg"])); + } + set { + this["lawyerImg"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("http://xz.wh.hbjc.gov.cn/")] + public string lawyerInterview { + get { + return ((string)(this["lawyerInterview"])); + } + set { + this["lawyerInterview"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("Resources/person.png")] + public string personImg { + get { + return ((string)(this["personImg"])); + } + set { + this["personImg"] = value; + } + } + + [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 { + return ((string)(this["caseImg"])); + } + set { + this["caseImg"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("Resources/mx_favicon.ico")] + public string iconImg { + get { + return ((string)(this["iconImg"])); + } + set { + this["iconImg"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("Resources/caseInfo_on.png")] + public string caseImgOn { + get { + return ((string)(this["caseImgOn"])); + } + set { + this["caseImgOn"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("Resources/person_on.png")] + public string personImgOn { + get { + return ((string)(this["personImgOn"])); + } + set { + this["personImgOn"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("Resources/lawyer_on.png")] + public string lawyerImgOn { + get { + return ((string)(this["lawyerImgOn"])); + } + set { + this["lawyerImgOn"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("Resources/close.png")] + public string closeImg { + get { + return ((string)(this["closeImg"])); + } + set { + this["closeImg"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("案件信息公开")] + public string caseName { + get { + return ((string)(this["caseName"])); + } + set { + this["caseName"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("预约律师接访")] + public string lawyerName { + get { + return ((string)(this["lawyerName"])); + } + set { + this["lawyerName"] = value; + } + } + + [global::System.Configuration.UserScopedSettingAttribute()] + [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] + [global::System.Configuration.DefaultSettingValueAttribute("预约人民监督员接访")] + public string personName { + get { + return ((string)(this["personName"])); + } + set { + this["personName"] = value; + } + } + } +} diff --git a/FRControl/Properties/Settings.settings b/FRControl/Properties/Settings.settings new file mode 100644 index 0000000..baef64d --- /dev/null +++ b/FRControl/Properties/Settings.settings @@ -0,0 +1,54 @@ + + + + + + Resources/bg.jpg + + + https://www.12309.gov.cn/12309/gj/hub/whsq/whsxzqq/index.shtml?channelLevels=/fb5a41c9247547bca03ae21326c3ad51/e2d8081e3a3640719cf2b3dedfb39725/5371804889d0471396667fd85979ff2d/b5f2513b4b004d059ca6d2cab2429597/2199aa2b013442d4bcef5540f317baa9 + + + Resources/code.png + + + Resources/lawyer.png + + + http://xz.wh.hbjc.gov.cn/ + + + Resources/person.png + + + http://xz.wh.hbjc.gov.cn/ + + + Resources/caseInfo.png + + + Resources/mx_favicon.ico + + + Resources/caseInfo_on.png + + + Resources/person_on.png + + + Resources/lawyer_on.png + + + Resources/close.png + + + 案件信息公开 + + + 预约律师接访 + + + 预约人民监督员接访 + + + \ No newline at end of file diff --git a/FRControl/Resources/bg.jpg b/FRControl/Resources/bg.jpg new file mode 100644 index 0000000..b9ff9af --- /dev/null +++ b/FRControl/Resources/bg.jpg diff --git a/FRControl/Resources/caseInfo.png b/FRControl/Resources/caseInfo.png new file mode 100644 index 0000000..2351581 --- /dev/null +++ b/FRControl/Resources/caseInfo.png diff --git a/FRControl/Resources/code.png b/FRControl/Resources/code.png new file mode 100644 index 0000000..4e5222d --- /dev/null +++ b/FRControl/Resources/code.png diff --git a/FRControl/Resources/jhlogo.ico b/FRControl/Resources/jhlogo.ico new file mode 100644 index 0000000..5c3190f --- /dev/null +++ b/FRControl/Resources/jhlogo.ico diff --git a/FRControl/Resources/lawyer.png b/FRControl/Resources/lawyer.png new file mode 100644 index 0000000..17cacd3 --- /dev/null +++ b/FRControl/Resources/lawyer.png diff --git a/FRControl/Resources/mx_favicon.ico b/FRControl/Resources/mx_favicon.ico new file mode 100644 index 0000000..a1c3c77 --- /dev/null +++ b/FRControl/Resources/mx_favicon.ico diff --git a/FRControl/Resources/person.png b/FRControl/Resources/person.png new file mode 100644 index 0000000..f09448b --- /dev/null +++ b/FRControl/Resources/person.png diff --git a/FRControl/WebView.Designer.cs b/FRControl/WebView.Designer.cs new file mode 100644 index 0000000..0e193b1 --- /dev/null +++ b/FRControl/WebView.Designer.cs @@ -0,0 +1,154 @@ +namespace FRControl +{ + partial class WebView + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.webBrowser1 = new System.Windows.Forms.WebBrowser(); + this.BodyPanel = new System.Windows.Forms.TableLayoutPanel(); + this.TitlePanel = new System.Windows.Forms.TableLayoutPanel(); + this.TitleLab = new System.Windows.Forms.Label(); + this.ReturnBtn = new System.Windows.Forms.Button(); + this.BodyPanel.SuspendLayout(); + this.TitlePanel.SuspendLayout(); + this.SuspendLayout(); + // + // webBrowser1 + // + this.BodyPanel.SetColumnSpan(this.webBrowser1, 3); + this.webBrowser1.Dock = System.Windows.Forms.DockStyle.Fill; + this.webBrowser1.IsWebBrowserContextMenuEnabled = false; + this.webBrowser1.Location = new System.Drawing.Point(0, 27); + this.webBrowser1.Margin = new System.Windows.Forms.Padding(0); + this.webBrowser1.Name = "webBrowser1"; + this.webBrowser1.ScriptErrorsSuppressed = true; + this.webBrowser1.Size = new System.Drawing.Size(608, 1053); + this.webBrowser1.TabIndex = 0; + this.webBrowser1.Url = new System.Uri("http://www.baidu.com", System.UriKind.Absolute); + this.webBrowser1.DocumentCompleted += new System.Windows.Forms.WebBrowserDocumentCompletedEventHandler(this.webBrowser1_DocumentCompleted_1); + // + // BodyPanel + // + this.BodyPanel.BackColor = System.Drawing.Color.Transparent; + this.BodyPanel.ColumnCount = 3; + this.BodyPanel.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 16F)); + this.BodyPanel.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 80F)); + this.BodyPanel.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 4F)); + this.BodyPanel.Controls.Add(this.webBrowser1, 0, 1); + this.BodyPanel.Controls.Add(this.TitlePanel, 0, 0); + this.BodyPanel.Location = new System.Drawing.Point(0, 0); + this.BodyPanel.Margin = new System.Windows.Forms.Padding(0); + this.BodyPanel.MaximumSize = new System.Drawing.Size(1080, 1920); + this.BodyPanel.MinimumSize = new System.Drawing.Size(608, 1080); + this.BodyPanel.Name = "BodyPanel"; + this.BodyPanel.RowCount = 2; + this.BodyPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 2.5F)); + this.BodyPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 97.5F)); + this.BodyPanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F)); + this.BodyPanel.Size = new System.Drawing.Size(608, 1080); + this.BodyPanel.TabIndex = 0; + this.BodyPanel.Paint += new System.Windows.Forms.PaintEventHandler(this.tableLayoutPanel1_Paint); + // + // TitlePanel + // + this.TitlePanel.ColumnCount = 5; + this.BodyPanel.SetColumnSpan(this.TitlePanel, 3); + this.TitlePanel.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 1F)); + this.TitlePanel.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 26F)); + this.TitlePanel.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 67.8F)); + this.TitlePanel.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 4.2F)); + this.TitlePanel.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 1F)); + this.TitlePanel.Controls.Add(this.TitleLab, 1, 0); + this.TitlePanel.Controls.Add(this.ReturnBtn, 3, 0); + this.TitlePanel.Dock = System.Windows.Forms.DockStyle.Fill; + this.TitlePanel.Location = new System.Drawing.Point(0, 0); + this.TitlePanel.Margin = new System.Windows.Forms.Padding(0); + this.TitlePanel.Name = "TitlePanel"; + this.TitlePanel.RowCount = 1; + this.TitlePanel.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); + this.TitlePanel.Size = new System.Drawing.Size(608, 27); + this.TitlePanel.TabIndex = 1; + // + // TitleLab + // + this.TitleLab.AutoSize = true; + this.TitleLab.Dock = System.Windows.Forms.DockStyle.Fill; + this.TitleLab.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.TitleLab.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.TitleLab.ForeColor = System.Drawing.Color.White; + this.TitleLab.Location = new System.Drawing.Point(6, 1); + this.TitleLab.Margin = new System.Windows.Forms.Padding(0, 1, 0, 1); + this.TitleLab.Name = "TitleLab"; + this.TitleLab.Size = new System.Drawing.Size(158, 25); + this.TitleLab.TabIndex = 0; + this.TitleLab.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // ReturnBtn + // + this.ReturnBtn.BackgroundImage = global::FRControl.Properties.Resources.return1; + this.ReturnBtn.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom; + this.ReturnBtn.Dock = System.Windows.Forms.DockStyle.Fill; + this.ReturnBtn.FlatAppearance.BorderSize = 0; + this.ReturnBtn.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Transparent; + this.ReturnBtn.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Transparent; + this.ReturnBtn.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.ReturnBtn.Location = new System.Drawing.Point(576, 1); + this.ReturnBtn.Margin = new System.Windows.Forms.Padding(0, 1, 0, 1); + this.ReturnBtn.Name = "ReturnBtn"; + this.ReturnBtn.Size = new System.Drawing.Size(25, 25); + this.ReturnBtn.TabIndex = 1; + this.ReturnBtn.UseVisualStyleBackColor = true; + this.ReturnBtn.Click += new System.EventHandler(this.ReturnBtn_Click); + // + // WebView + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(608, 1080); + this.Controls.Add(this.BodyPanel); + this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; + this.MaximumSize = new System.Drawing.Size(1080, 1920); + this.MinimumSize = new System.Drawing.Size(608, 1038); + this.Name = "WebView"; + this.Text = "WebView"; + this.Load += new System.EventHandler(this.WebView_Load); + this.BodyPanel.ResumeLayout(false); + this.TitlePanel.ResumeLayout(false); + this.TitlePanel.PerformLayout(); + this.ResumeLayout(false); + + } + + #endregion + + private System.Windows.Forms.WebBrowser webBrowser1; + private System.Windows.Forms.TableLayoutPanel BodyPanel; + private System.Windows.Forms.TableLayoutPanel TitlePanel; + private System.Windows.Forms.Label TitleLab; + private System.Windows.Forms.Button ReturnBtn; + } +} \ No newline at end of file diff --git a/FRControl/WebView.cs b/FRControl/WebView.cs new file mode 100644 index 0000000..086f495 --- /dev/null +++ b/FRControl/WebView.cs @@ -0,0 +1,86 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Data; +using System.Drawing; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace FRControl +{ + public partial class WebView : Form + { + public WebView() + { + + InitializeComponent(); + Size WindowsScreenSize = new Size(Screen.PrimaryScreen.Bounds.Width, Screen.PrimaryScreen.Bounds.Height); + Console.WriteLine(WindowsScreenSize); + int width = Screen.PrimaryScreen.Bounds.Width; + if (width == 1080) + { + this.Size = new Size(1080, 1920); + this.BodyPanel.Size = new Size(1080, 1920); + this.ReturnBtn.Size = new Size(35,35); + this.TitleLab.Font = new System.Drawing.Font("微软雅黑", 20F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + } + else + { + this.Size = new Size(608, 1080); + this.BodyPanel.Size = new Size(608, 1080); + this.ReturnBtn.Size = new Size(25, 25); + } + } + private void WebView_Load(object sender, EventArgs e) + { + //webBrowser1.Document.Body.Style = "zoom:0.5"; + this.TitlePanel.BackColor = Color.FromArgb(37, 122, 187); + this.webBrowser1.Url = new Uri(Home.url); + this.TitleLab.Text = Home.title; + this.webBrowser1.ScriptErrorsSuppressed = true; + this.webBrowser1.ScrollBarsEnabled = false; + + } + private void webBrowser1_DocumentCompleted_1(object sender, WebBrowserDocumentCompletedEventArgs e) + { + + this.webBrowser1.Document.Window.Error += new HtmlElementErrorEventHandler(Window_Error); + //获取网页的最大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);//水平方向缩小比例 + int ybili = (int)((float)sz.Height / (float)szba.Height * 100);//垂直方向缩小比例 + 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) + { + e.Handled = true; + } + private void webBrowser1_DocumentCompleted(object sender, WebBrowserDocumentCompletedEventArgs e) + { + + } + private void tableLayoutPanel1_Paint(object sender, PaintEventArgs e) + { + + } + private void ReturnBtn_Click(object sender, EventArgs e) + { + this.Close(); + } + private void webBrowser1_DocumentCompleted_2(object sender, WebBrowserDocumentCompletedEventArgs e) + { + + } + private void TitleLab_Click(object sender, EventArgs e) + { + + } + } +} diff --git a/FRControl/WebView.resx b/FRControl/WebView.resx new file mode 100644 index 0000000..1af7de1 --- /dev/null +++ b/FRControl/WebView.resx @@ -0,0 +1,120 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/FRControl/favicon.ico b/FRControl/favicon.ico new file mode 100644 index 0000000..1421c50 --- /dev/null +++ b/FRControl/favicon.ico diff --git a/FRControl/jhlogo.ico b/FRControl/jhlogo.ico new file mode 100644 index 0000000..5c3190f --- /dev/null +++ b/FRControl/jhlogo.ico diff --git a/FRControl/mx_favicon.ico b/FRControl/mx_favicon.ico new file mode 100644 index 0000000..a1c3c77 --- /dev/null +++ b/FRControl/mx_favicon.ico