From 1389906581dacf4a55536cff06f7d11b8b310b67 Mon Sep 17 00:00:00 2001
From: lu <99954486@qq.com>
Date: 星期一, 31 三月 2025 09:53:35 +0800
Subject: [PATCH] 字体大小
---
DevApp/Gs.DevApp/DevFrm/Work/Frm_WorkStart.resx | 120 ++++++++
DevApp/Gs.DevApp/Resources/fontsizeincrease_32x321.png | 0
DevApp/Gs.DevApp/UserControl/SelectFont.resx | 120 ++++++++
DevApp/Gs.DevApp/DevFrm/Work/Frm_Work01.Designer.cs | 50 +++
DevApp/Gs.DevApp/Resources/fontsizeincrease_16x161.png | 0
DevApp/Gs.DevApp/Resources/subreport_32x32.png | 0
DevApp/Gs.DevApp/DevFrm/Work/Frm_Work01.resx | 120 ++++++++
DevApp/Gs.DevApp/Resources/calculatenow.svg | 11
DevApp/Gs.DevApp/UserControl/SelectFont.Designer.cs | 97 ++++++
DevApp/Gs.DevApp/Resources/operatingsystem_32x32.png | 0
DevApp/Gs.DevApp/Resources/fontsizeincrease_32x32.png | 0
DevApp/Gs.DevApp/UserControl/SelectFont.cs | 42 +++
DevApp/Gs.DevApp/DevFrm/Work/Frm_Work01.cs | 21 +
DevApp/Gs.DevApp/Resources/user_16x162.png | 0
DevApp/Gs.DevApp/Resources/operatingsystem_16x16.png | 0
DevApp/Gs.DevApp/Resources/subreport_16x16.png | 0
DevApp/Gs.DevApp/DevFrm/Work/Frm_WorkStart.Designer.cs | 142 ++++++++++
DevApp/Gs.DevApp/Resources/fontsizeincrease_16x16.png | 0
DevApp/Gs.DevApp/DevFrm/Work/Frm_WorkStart.cs | 60 ++++
19 files changed, 783 insertions(+), 0 deletions(-)
diff --git a/DevApp/Gs.DevApp/DevFrm/Work/Frm_Work01.Designer.cs b/DevApp/Gs.DevApp/DevFrm/Work/Frm_Work01.Designer.cs
new file mode 100644
index 0000000..1796851
--- /dev/null
+++ b/DevApp/Gs.DevApp/DevFrm/Work/Frm_Work01.Designer.cs
@@ -0,0 +1,50 @@
+锘縩amespace Gs.DevApp.DevFrm.Work
+{
+ partial class Frm_Work01
+ {
+ /// <summary>
+ /// Required designer variable.
+ /// </summary>
+ private System.ComponentModel.IContainer components = null;
+
+ /// <summary>
+ /// Clean up any resources being used.
+ /// </summary>
+ /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
+ protected override void Dispose(bool disposing)
+ {
+ if (disposing && (components != null))
+ {
+ components.Dispose();
+ }
+ base.Dispose(disposing);
+ }
+
+ #region Windows Form Designer generated code
+
+ /// <summary>
+ /// Required method for Designer support - do not modify
+ /// the contents of this method with the code editor.
+ /// </summary>
+ private void InitializeComponent()
+ {
+ this.SuspendLayout();
+ //
+ // Frm_Work01
+ //
+ this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 18F);
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.ClientSize = new System.Drawing.Size(947, 735);
+ this.IconOptions.Image = global::Gs.DevApp.Properties.Resources.logo_png_black;
+ this.MinimizeBox = false;
+ this.Name = "Frm_Work01";
+ this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
+ this.Text = "鎶曞叆銆佺粓妫�";
+ this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
+ this.ResumeLayout(false);
+
+ }
+
+ #endregion
+ }
+}
\ No newline at end of file
diff --git a/DevApp/Gs.DevApp/DevFrm/Work/Frm_Work01.cs b/DevApp/Gs.DevApp/DevFrm/Work/Frm_Work01.cs
new file mode 100644
index 0000000..5c06181
--- /dev/null
+++ b/DevApp/Gs.DevApp/DevFrm/Work/Frm_Work01.cs
@@ -0,0 +1,21 @@
+锘縰sing DevExpress.XtraEditors;
+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 Gs.DevApp.DevFrm.Work
+{
+ public partial class Frm_Work01 : DevExpress.XtraEditors.XtraForm
+ {
+ public Frm_Work01()
+ {
+ InitializeComponent();
+ }
+ }
+}
\ No newline at end of file
diff --git a/DevApp/Gs.DevApp/DevFrm/Work/Frm_Work01.resx b/DevApp/Gs.DevApp/DevFrm/Work/Frm_Work01.resx
new file mode 100644
index 0000000..1af7de1
--- /dev/null
+++ b/DevApp/Gs.DevApp/DevFrm/Work/Frm_Work01.resx
@@ -0,0 +1,120 @@
+锘�<?xml version="1.0" encoding="utf-8"?>
+<root>
+ <!--
+ Microsoft ResX Schema
+
+ Version 2.0
+
+ The primary goals of this format is to allow a simple XML format
+ that is mostly human readable. The generation and parsing of the
+ various data types are done through the TypeConverter classes
+ associated with the data types.
+
+ Example:
+
+ ... ado.net/XML headers & schema ...
+ <resheader name="resmimetype">text/microsoft-resx</resheader>
+ <resheader name="version">2.0</resheader>
+ <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
+ <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
+ <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
+ <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
+ <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
+ <value>[base64 mime encoded serialized .NET Framework object]</value>
+ </data>
+ <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
+ <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
+ <comment>This is a comment</comment>
+ </data>
+
+ There are any number of "resheader" rows that contain simple
+ name/value pairs.
+
+ Each data row contains a name, and value. The row also contains a
+ type or mimetype. Type corresponds to a .NET class that support
+ text/value conversion through the TypeConverter architecture.
+ Classes that don't support this are serialized and stored with the
+ mimetype set.
+
+ The mimetype is used for serialized objects, and tells the
+ ResXResourceReader how to depersist the object. This is currently not
+ extensible. For a given mimetype the value must be set accordingly:
+
+ Note - application/x-microsoft.net.object.binary.base64 is the format
+ that the ResXResourceWriter will generate, however the reader can
+ read any of the formats listed below.
+
+ mimetype: application/x-microsoft.net.object.binary.base64
+ value : The object must be serialized with
+ : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
+ : and then encoded with base64 encoding.
+
+ mimetype: application/x-microsoft.net.object.soap.base64
+ value : The object must be serialized with
+ : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
+ : and then encoded with base64 encoding.
+
+ mimetype: application/x-microsoft.net.object.bytearray.base64
+ value : The object must be serialized into a byte array
+ : using a System.ComponentModel.TypeConverter
+ : and then encoded with base64 encoding.
+ -->
+ <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
+ <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
+ <xsd:element name="root" msdata:IsDataSet="true">
+ <xsd:complexType>
+ <xsd:choice maxOccurs="unbounded">
+ <xsd:element name="metadata">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="value" type="xsd:string" minOccurs="0" />
+ </xsd:sequence>
+ <xsd:attribute name="name" use="required" type="xsd:string" />
+ <xsd:attribute name="type" type="xsd:string" />
+ <xsd:attribute name="mimetype" type="xsd:string" />
+ <xsd:attribute ref="xml:space" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="assembly">
+ <xsd:complexType>
+ <xsd:attribute name="alias" type="xsd:string" />
+ <xsd:attribute name="name" type="xsd:string" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="data">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+ <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
+ </xsd:sequence>
+ <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
+ <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
+ <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
+ <xsd:attribute ref="xml:space" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="resheader">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+ </xsd:sequence>
+ <xsd:attribute name="name" type="xsd:string" use="required" />
+ </xsd:complexType>
+ </xsd:element>
+ </xsd:choice>
+ </xsd:complexType>
+ </xsd:element>
+ </xsd:schema>
+ <resheader name="resmimetype">
+ <value>text/microsoft-resx</value>
+ </resheader>
+ <resheader name="version">
+ <value>2.0</value>
+ </resheader>
+ <resheader name="reader">
+ <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+ </resheader>
+ <resheader name="writer">
+ <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+ </resheader>
+</root>
\ No newline at end of file
diff --git a/DevApp/Gs.DevApp/DevFrm/Work/Frm_WorkStart.Designer.cs b/DevApp/Gs.DevApp/DevFrm/Work/Frm_WorkStart.Designer.cs
new file mode 100644
index 0000000..211d3e4
--- /dev/null
+++ b/DevApp/Gs.DevApp/DevFrm/Work/Frm_WorkStart.Designer.cs
@@ -0,0 +1,142 @@
+锘縩amespace Gs.DevApp.DevFrm.Work
+{
+ partial class Frm_WorkStart
+ {
+ /// <summary>
+ /// Required designer variable.
+ /// </summary>
+ private System.ComponentModel.IContainer components = null;
+
+ /// <summary>
+ /// Clean up any resources being used.
+ /// </summary>
+ /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
+ protected override void Dispose(bool disposing)
+ {
+ if (disposing && (components != null))
+ {
+ components.Dispose();
+ }
+ base.Dispose(disposing);
+ }
+
+ #region Windows Form Designer generated code
+
+ /// <summary>
+ /// Required method for Designer support - do not modify
+ /// the contents of this method with the code editor.
+ /// </summary>
+ private void InitializeComponent()
+ {
+ this.panelControl1 = new DevExpress.XtraEditors.PanelControl();
+ this.label1 = new System.Windows.Forms.Label();
+ this.label2 = new System.Windows.Forms.Label();
+ this.btnLogin = new DevExpress.XtraEditors.SimpleButton();
+ this.txt_gx = new DevExpress.XtraEditors.ComboBoxEdit();
+ this.txt_bc = new DevExpress.XtraEditors.ComboBoxEdit();
+ ((System.ComponentModel.ISupportInitialize)(this.panelControl1)).BeginInit();
+ this.panelControl1.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.txt_gx.Properties)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.txt_bc.Properties)).BeginInit();
+ this.SuspendLayout();
+ //
+ // panelControl1
+ //
+ this.panelControl1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
+ | System.Windows.Forms.AnchorStyles.Left)
+ | System.Windows.Forms.AnchorStyles.Right)));
+ this.panelControl1.Controls.Add(this.btnLogin);
+ this.panelControl1.Controls.Add(this.txt_gx);
+ this.panelControl1.Controls.Add(this.label2);
+ this.panelControl1.Controls.Add(this.txt_bc);
+ this.panelControl1.Controls.Add(this.label1);
+ this.panelControl1.Location = new System.Drawing.Point(162, 116);
+ this.panelControl1.Name = "panelControl1";
+ this.panelControl1.Size = new System.Drawing.Size(366, 249);
+ this.panelControl1.TabIndex = 0;
+ //
+ // label1
+ //
+ this.label1.AutoSize = true;
+ this.label1.Location = new System.Drawing.Point(45, 35);
+ this.label1.Name = "label1";
+ this.label1.Size = new System.Drawing.Size(50, 24);
+ this.label1.TabIndex = 0;
+ this.label1.Text = "鐝";
+ //
+ // label2
+ //
+ this.label2.AutoSize = true;
+
+ this.label2.Location = new System.Drawing.Point(45, 99);
+ this.label2.Name = "label2";
+ this.label2.Size = new System.Drawing.Size(50, 24);
+ this.label2.TabIndex = 2;
+ this.label2.Text = "宸ュ簭";
+ //
+ // btnLogin
+ //
+ this.btnLogin.Appearance.BackColor = DevExpress.LookAndFeel.DXSkinColors.FillColors.Primary;
+ this.btnLogin.Appearance.Options.UseBackColor = true;
+ this.btnLogin.Appearance.Options.UseFont = true;
+ this.btnLogin.ImageOptions.Image = global::Gs.DevApp.Properties.Resources.user_16x162;
+ this.btnLogin.Location = new System.Drawing.Point(59, 162);
+ this.btnLogin.Name = "btnLogin";
+ this.btnLogin.Size = new System.Drawing.Size(180, 40);
+ this.btnLogin.TabIndex = 4;
+ this.btnLogin.Text = "纭畾";
+ //
+ // txt_gx
+ //
+ this.txt_gx.Location = new System.Drawing.Point(114, 96);
+ this.txt_gx.Name = "txt_gx";
+ this.txt_gx.Properties.Appearance.Options.UseFont = true;
+ this.txt_gx.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
+ new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
+ this.txt_gx.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor;
+ this.txt_gx.Size = new System.Drawing.Size(125, 30);
+ this.txt_gx.TabIndex = 3;
+ //
+ // txt_bc
+ //
+ this.txt_bc.EditValue = "鐧界彮";
+ this.txt_bc.Location = new System.Drawing.Point(114, 32);
+ this.txt_bc.Name = "txt_bc";
+ this.txt_bc.Properties.Appearance.Options.UseFont = true;
+ this.txt_bc.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
+ new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
+ this.txt_bc.Properties.Items.AddRange(new object[] {
+ "鐧界彮",
+ "澶滅彮"});
+ this.txt_bc.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor;
+ this.txt_bc.Size = new System.Drawing.Size(125, 30);
+ this.txt_bc.TabIndex = 1;
+ //
+ // Frm_WorkStart
+ //
+ this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 18F);
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.ClientSize = new System.Drawing.Size(749, 553);
+ this.Controls.Add(this.panelControl1);
+ this.Name = "Frm_WorkStart";
+ this.Text = "宸ュ簭閲囬泦鍚姩椤�";
+ this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
+ ((System.ComponentModel.ISupportInitialize)(this.panelControl1)).EndInit();
+ this.panelControl1.ResumeLayout(false);
+ this.panelControl1.PerformLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.txt_gx.Properties)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.txt_bc.Properties)).EndInit();
+ this.ResumeLayout(false);
+
+ }
+
+ #endregion
+
+ private DevExpress.XtraEditors.PanelControl panelControl1;
+ private DevExpress.XtraEditors.ComboBoxEdit txt_bc;
+ private System.Windows.Forms.Label label1;
+ private DevExpress.XtraEditors.ComboBoxEdit txt_gx;
+ private System.Windows.Forms.Label label2;
+ private DevExpress.XtraEditors.SimpleButton btnLogin;
+ }
+}
\ No newline at end of file
diff --git a/DevApp/Gs.DevApp/DevFrm/Work/Frm_WorkStart.cs b/DevApp/Gs.DevApp/DevFrm/Work/Frm_WorkStart.cs
new file mode 100644
index 0000000..51ec7ea
--- /dev/null
+++ b/DevApp/Gs.DevApp/DevFrm/Work/Frm_WorkStart.cs
@@ -0,0 +1,60 @@
+锘縰sing DevExpress.XtraEditors;
+using Gs.DevApp.Entity;
+using Gs.DevApp.ToolBox;
+using Newtonsoft.Json;
+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 Gs.DevApp.DevFrm.Work
+{
+ public partial class Frm_WorkStart : DevExpress.XtraEditors.XtraForm
+ {
+ public Frm_WorkStart()
+ {
+ InitializeComponent();
+
+ _getListJyxm();
+ btnLogin.Click += BtnLogin_Click;
+ }
+
+ private void BtnLogin_Click(object sender, EventArgs e)
+ {
+ Frm_Work01 frm = new Frm_Work01();
+ frm.ShowDialog();
+ }
+
+
+ /// <summary>
+ /// 璇诲彇宸ュ簭涓嬫媺
+ /// </summary>
+ private void _getListJyxm()
+ {
+ var pgq = new PageQueryModel(1, 999999, "a.processNo", "asc", "", "");
+ var json = JsonConvert.SerializeObject(pgq);
+ try
+ {
+ var strReturn = UtilityHelper.HttpPost("", "WorkPro/GetListPage", json);
+ var dd = UtilityHelper.ReturnToTablePage(strReturn);
+ DataTable dt = dd.rtnData.list;
+ txt_gx.Properties.Items.Add("-璇烽�夋嫨-");
+ foreach (DataRow dr in dt.Rows)
+ {
+ txt_gx.Properties.Items.Add(dr["processNo"].ToString()+":"+ dr["processName"].ToString());
+ }
+ txt_gx.Focus();
+ txt_gx.SelectedIndex = 0;
+ }
+ catch (Exception ex)
+ {
+ MsgHelper.Warning("鎻愮ず锛�" + ex.Message);
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/DevApp/Gs.DevApp/DevFrm/Work/Frm_WorkStart.resx b/DevApp/Gs.DevApp/DevFrm/Work/Frm_WorkStart.resx
new file mode 100644
index 0000000..1af7de1
--- /dev/null
+++ b/DevApp/Gs.DevApp/DevFrm/Work/Frm_WorkStart.resx
@@ -0,0 +1,120 @@
+锘�<?xml version="1.0" encoding="utf-8"?>
+<root>
+ <!--
+ Microsoft ResX Schema
+
+ Version 2.0
+
+ The primary goals of this format is to allow a simple XML format
+ that is mostly human readable. The generation and parsing of the
+ various data types are done through the TypeConverter classes
+ associated with the data types.
+
+ Example:
+
+ ... ado.net/XML headers & schema ...
+ <resheader name="resmimetype">text/microsoft-resx</resheader>
+ <resheader name="version">2.0</resheader>
+ <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
+ <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
+ <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
+ <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
+ <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
+ <value>[base64 mime encoded serialized .NET Framework object]</value>
+ </data>
+ <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
+ <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
+ <comment>This is a comment</comment>
+ </data>
+
+ There are any number of "resheader" rows that contain simple
+ name/value pairs.
+
+ Each data row contains a name, and value. The row also contains a
+ type or mimetype. Type corresponds to a .NET class that support
+ text/value conversion through the TypeConverter architecture.
+ Classes that don't support this are serialized and stored with the
+ mimetype set.
+
+ The mimetype is used for serialized objects, and tells the
+ ResXResourceReader how to depersist the object. This is currently not
+ extensible. For a given mimetype the value must be set accordingly:
+
+ Note - application/x-microsoft.net.object.binary.base64 is the format
+ that the ResXResourceWriter will generate, however the reader can
+ read any of the formats listed below.
+
+ mimetype: application/x-microsoft.net.object.binary.base64
+ value : The object must be serialized with
+ : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
+ : and then encoded with base64 encoding.
+
+ mimetype: application/x-microsoft.net.object.soap.base64
+ value : The object must be serialized with
+ : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
+ : and then encoded with base64 encoding.
+
+ mimetype: application/x-microsoft.net.object.bytearray.base64
+ value : The object must be serialized into a byte array
+ : using a System.ComponentModel.TypeConverter
+ : and then encoded with base64 encoding.
+ -->
+ <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
+ <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
+ <xsd:element name="root" msdata:IsDataSet="true">
+ <xsd:complexType>
+ <xsd:choice maxOccurs="unbounded">
+ <xsd:element name="metadata">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="value" type="xsd:string" minOccurs="0" />
+ </xsd:sequence>
+ <xsd:attribute name="name" use="required" type="xsd:string" />
+ <xsd:attribute name="type" type="xsd:string" />
+ <xsd:attribute name="mimetype" type="xsd:string" />
+ <xsd:attribute ref="xml:space" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="assembly">
+ <xsd:complexType>
+ <xsd:attribute name="alias" type="xsd:string" />
+ <xsd:attribute name="name" type="xsd:string" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="data">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+ <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
+ </xsd:sequence>
+ <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
+ <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
+ <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
+ <xsd:attribute ref="xml:space" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="resheader">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+ </xsd:sequence>
+ <xsd:attribute name="name" type="xsd:string" use="required" />
+ </xsd:complexType>
+ </xsd:element>
+ </xsd:choice>
+ </xsd:complexType>
+ </xsd:element>
+ </xsd:schema>
+ <resheader name="resmimetype">
+ <value>text/microsoft-resx</value>
+ </resheader>
+ <resheader name="version">
+ <value>2.0</value>
+ </resheader>
+ <resheader name="reader">
+ <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+ </resheader>
+ <resheader name="writer">
+ <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+ </resheader>
+</root>
\ No newline at end of file
diff --git a/DevApp/Gs.DevApp/Resources/calculatenow.svg b/DevApp/Gs.DevApp/Resources/calculatenow.svg
new file mode 100644
index 0000000..6b9acc9
--- /dev/null
+++ b/DevApp/Gs.DevApp/Resources/calculatenow.svg
@@ -0,0 +1,11 @@
+锘�<?xml version='1.0' encoding='UTF-8'?>
+<svg x="0px" y="0px" viewBox="0 0 32 32" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" id="Calculate_Now" style="enable-background:new 0 0 32 32">
+ <style type="text/css">
+ .Black{fill:#727272;}
+ .Blue{fill:#1177D7;}
+ .Yellow{fill:#FFB115;}
+</style>
+ <rect x="8" y="6" width="16" height="6" class="Blue" />
+ <rect x="20" y="14" width="4" height="4" class="Yellow" />
+ <path d="M29,0H3C2.4,0,2,0.4,2,1v28c0,0.6,0.4,1,1,1h26c0.6,0,1-0.4,1-1V1C30,0.4,29.6,0,29,0z M28,28H4V2h24V28z M12,14H8v4h4V14z M18,14h-4v4h4V14z M12,20H8v4h4V20z M18,20h-4v4h4V20z M24,20h-4v4h4V20z" class="Black" />
+</svg>
\ No newline at end of file
diff --git a/DevApp/Gs.DevApp/Resources/fontsizeincrease_16x16.png b/DevApp/Gs.DevApp/Resources/fontsizeincrease_16x16.png
new file mode 100644
index 0000000..949fff4
--- /dev/null
+++ b/DevApp/Gs.DevApp/Resources/fontsizeincrease_16x16.png
Binary files differ
diff --git a/DevApp/Gs.DevApp/Resources/fontsizeincrease_16x161.png b/DevApp/Gs.DevApp/Resources/fontsizeincrease_16x161.png
new file mode 100644
index 0000000..949fff4
--- /dev/null
+++ b/DevApp/Gs.DevApp/Resources/fontsizeincrease_16x161.png
Binary files differ
diff --git a/DevApp/Gs.DevApp/Resources/fontsizeincrease_32x32.png b/DevApp/Gs.DevApp/Resources/fontsizeincrease_32x32.png
new file mode 100644
index 0000000..ddd51f3
--- /dev/null
+++ b/DevApp/Gs.DevApp/Resources/fontsizeincrease_32x32.png
Binary files differ
diff --git a/DevApp/Gs.DevApp/Resources/fontsizeincrease_32x321.png b/DevApp/Gs.DevApp/Resources/fontsizeincrease_32x321.png
new file mode 100644
index 0000000..ddd51f3
--- /dev/null
+++ b/DevApp/Gs.DevApp/Resources/fontsizeincrease_32x321.png
Binary files differ
diff --git a/DevApp/Gs.DevApp/Resources/operatingsystem_16x16.png b/DevApp/Gs.DevApp/Resources/operatingsystem_16x16.png
new file mode 100644
index 0000000..2e0c7be
--- /dev/null
+++ b/DevApp/Gs.DevApp/Resources/operatingsystem_16x16.png
Binary files differ
diff --git a/DevApp/Gs.DevApp/Resources/operatingsystem_32x32.png b/DevApp/Gs.DevApp/Resources/operatingsystem_32x32.png
new file mode 100644
index 0000000..7247599
--- /dev/null
+++ b/DevApp/Gs.DevApp/Resources/operatingsystem_32x32.png
Binary files differ
diff --git a/DevApp/Gs.DevApp/Resources/subreport_16x16.png b/DevApp/Gs.DevApp/Resources/subreport_16x16.png
new file mode 100644
index 0000000..df4be25
--- /dev/null
+++ b/DevApp/Gs.DevApp/Resources/subreport_16x16.png
Binary files differ
diff --git a/DevApp/Gs.DevApp/Resources/subreport_32x32.png b/DevApp/Gs.DevApp/Resources/subreport_32x32.png
new file mode 100644
index 0000000..ed770b0
--- /dev/null
+++ b/DevApp/Gs.DevApp/Resources/subreport_32x32.png
Binary files differ
diff --git a/DevApp/Gs.DevApp/Resources/user_16x162.png b/DevApp/Gs.DevApp/Resources/user_16x162.png
new file mode 100644
index 0000000..a683dec
--- /dev/null
+++ b/DevApp/Gs.DevApp/Resources/user_16x162.png
Binary files differ
diff --git a/DevApp/Gs.DevApp/UserControl/SelectFont.Designer.cs b/DevApp/Gs.DevApp/UserControl/SelectFont.Designer.cs
new file mode 100644
index 0000000..7b6784b
--- /dev/null
+++ b/DevApp/Gs.DevApp/UserControl/SelectFont.Designer.cs
@@ -0,0 +1,97 @@
+锘縩amespace Gs.DevApp.UserControl
+{
+ partial class SelectFont
+ {
+ /// <summary>
+ /// Required designer variable.
+ /// </summary>
+ private System.ComponentModel.IContainer components = null;
+
+ /// <summary>
+ /// Clean up any resources being used.
+ /// </summary>
+ /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
+ protected override void Dispose(bool disposing)
+ {
+ if (disposing && (components != null))
+ {
+ components.Dispose();
+ }
+ base.Dispose(disposing);
+ }
+
+ #region Windows Form Designer generated code
+
+ /// <summary>
+ /// Required method for Designer support - do not modify
+ /// the contents of this method with the code editor.
+ /// </summary>
+ private void InitializeComponent()
+ {
+ this.comboBoxEdit1 = new DevExpress.XtraEditors.ComboBoxEdit();
+ this.simpleButton1 = new DevExpress.XtraEditors.SimpleButton();
+ this.label1 = new System.Windows.Forms.Label();
+ ((System.ComponentModel.ISupportInitialize)(this.comboBoxEdit1.Properties)).BeginInit();
+ this.SuspendLayout();
+ //
+ // comboBoxEdit1
+ //
+ this.comboBoxEdit1.EditValue = "--璇烽�夋嫨--";
+ this.comboBoxEdit1.Location = new System.Drawing.Point(73, 80);
+ this.comboBoxEdit1.Name = "comboBoxEdit1";
+ this.comboBoxEdit1.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
+ new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
+ this.comboBoxEdit1.Properties.Items.AddRange(new object[] {
+ "--璇烽�夋嫨--",
+ "瀹嬩綋,9",
+ "瀹嬩綋,10",
+ "瀹嬩綋,12"});
+ this.comboBoxEdit1.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor;
+ this.comboBoxEdit1.Size = new System.Drawing.Size(125, 24);
+ this.comboBoxEdit1.TabIndex = 0;
+ //
+ // simpleButton1
+ //
+ this.simpleButton1.Location = new System.Drawing.Point(73, 146);
+ this.simpleButton1.Name = "simpleButton1";
+ this.simpleButton1.Size = new System.Drawing.Size(125, 29);
+ this.simpleButton1.TabIndex = 1;
+ this.simpleButton1.Text = "纭畾";
+ this.simpleButton1.Click += new System.EventHandler(this.simpleButton1_Click);
+ //
+ // label1
+ //
+ this.label1.AutoSize = true;
+ this.label1.Location = new System.Drawing.Point(71, 25);
+ this.label1.Name = "label1";
+ this.label1.Size = new System.Drawing.Size(128, 18);
+ this.label1.TabIndex = 2;
+ this.label1.Text = "璇烽�夋嫨鍚堥�傜殑瀛椾綋";
+ //
+ // SelectFont
+ //
+ this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 18F);
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.ClientSize = new System.Drawing.Size(279, 260);
+ this.Controls.Add(this.label1);
+ this.Controls.Add(this.simpleButton1);
+ this.Controls.Add(this.comboBoxEdit1);
+ this.IconOptions.Image = global::Gs.DevApp.Properties.Resources.logo_png_black;
+ this.MaximizeBox = false;
+ this.MinimizeBox = false;
+ this.Name = "SelectFont";
+ this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
+ this.Text = "璁剧疆瀛椾綋";
+ ((System.ComponentModel.ISupportInitialize)(this.comboBoxEdit1.Properties)).EndInit();
+ this.ResumeLayout(false);
+ this.PerformLayout();
+
+ }
+
+ #endregion
+
+ private DevExpress.XtraEditors.ComboBoxEdit comboBoxEdit1;
+ private DevExpress.XtraEditors.SimpleButton simpleButton1;
+ private System.Windows.Forms.Label label1;
+ }
+}
\ No newline at end of file
diff --git a/DevApp/Gs.DevApp/UserControl/SelectFont.cs b/DevApp/Gs.DevApp/UserControl/SelectFont.cs
new file mode 100644
index 0000000..beb1eaf
--- /dev/null
+++ b/DevApp/Gs.DevApp/UserControl/SelectFont.cs
@@ -0,0 +1,42 @@
+锘縰sing DevExpress.XtraEditors;
+using Gs.DevApp.Properties;
+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 Gs.DevApp.UserControl
+{
+ public partial class SelectFont : DevExpress.XtraEditors.XtraForm
+ {
+ public SelectFont()
+ {
+ InitializeComponent();
+ }
+
+ private void simpleButton1_Click(object sender, EventArgs e)
+ {
+ if (comboBoxEdit1.SelectedIndex <= 0)
+ {
+ Gs.DevApp.ToolBox.MsgHelper.ShowInformation("璇烽�夋嫨瀛椾綋澶у皬锛�");
+ return;
+ }
+ string strFont = comboBoxEdit1.Text.Trim();
+ Settings.Default.fontSizeName = strFont;
+ Settings.Default.Save();
+ string[] ary = strFont.Split(',');
+ float _ft = float.Parse(ary[1]);
+ #region 璁剧疆榛樿瀛椾綋銆佹棩鏈熸牸寮忋�佹眽鍖杁ev
+ DevExpress.Utils.AppearanceObject.DefaultFont = new System.Drawing.Font(ary[0], _ft);
+ DevExpress.XtraEditors.WindowsFormsSettings.DefaultFont = new System.Drawing.Font(ary[0], _ft);
+ DevExpress.XtraEditors.WindowsFormsSettings.DefaultMenuFont = new System.Drawing.Font(ary[0], _ft);
+ DevExpress.XtraEditors.WindowsFormsSettings.DefaultPrintFont = new System.Drawing.Font(ary[0], _ft);
+ #endregion
+ }
+ }
+}
\ No newline at end of file
diff --git a/DevApp/Gs.DevApp/UserControl/SelectFont.resx b/DevApp/Gs.DevApp/UserControl/SelectFont.resx
new file mode 100644
index 0000000..1af7de1
--- /dev/null
+++ b/DevApp/Gs.DevApp/UserControl/SelectFont.resx
@@ -0,0 +1,120 @@
+锘�<?xml version="1.0" encoding="utf-8"?>
+<root>
+ <!--
+ Microsoft ResX Schema
+
+ Version 2.0
+
+ The primary goals of this format is to allow a simple XML format
+ that is mostly human readable. The generation and parsing of the
+ various data types are done through the TypeConverter classes
+ associated with the data types.
+
+ Example:
+
+ ... ado.net/XML headers & schema ...
+ <resheader name="resmimetype">text/microsoft-resx</resheader>
+ <resheader name="version">2.0</resheader>
+ <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
+ <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
+ <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
+ <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
+ <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
+ <value>[base64 mime encoded serialized .NET Framework object]</value>
+ </data>
+ <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
+ <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
+ <comment>This is a comment</comment>
+ </data>
+
+ There are any number of "resheader" rows that contain simple
+ name/value pairs.
+
+ Each data row contains a name, and value. The row also contains a
+ type or mimetype. Type corresponds to a .NET class that support
+ text/value conversion through the TypeConverter architecture.
+ Classes that don't support this are serialized and stored with the
+ mimetype set.
+
+ The mimetype is used for serialized objects, and tells the
+ ResXResourceReader how to depersist the object. This is currently not
+ extensible. For a given mimetype the value must be set accordingly:
+
+ Note - application/x-microsoft.net.object.binary.base64 is the format
+ that the ResXResourceWriter will generate, however the reader can
+ read any of the formats listed below.
+
+ mimetype: application/x-microsoft.net.object.binary.base64
+ value : The object must be serialized with
+ : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
+ : and then encoded with base64 encoding.
+
+ mimetype: application/x-microsoft.net.object.soap.base64
+ value : The object must be serialized with
+ : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
+ : and then encoded with base64 encoding.
+
+ mimetype: application/x-microsoft.net.object.bytearray.base64
+ value : The object must be serialized into a byte array
+ : using a System.ComponentModel.TypeConverter
+ : and then encoded with base64 encoding.
+ -->
+ <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
+ <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
+ <xsd:element name="root" msdata:IsDataSet="true">
+ <xsd:complexType>
+ <xsd:choice maxOccurs="unbounded">
+ <xsd:element name="metadata">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="value" type="xsd:string" minOccurs="0" />
+ </xsd:sequence>
+ <xsd:attribute name="name" use="required" type="xsd:string" />
+ <xsd:attribute name="type" type="xsd:string" />
+ <xsd:attribute name="mimetype" type="xsd:string" />
+ <xsd:attribute ref="xml:space" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="assembly">
+ <xsd:complexType>
+ <xsd:attribute name="alias" type="xsd:string" />
+ <xsd:attribute name="name" type="xsd:string" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="data">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+ <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
+ </xsd:sequence>
+ <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
+ <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
+ <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
+ <xsd:attribute ref="xml:space" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="resheader">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+ </xsd:sequence>
+ <xsd:attribute name="name" type="xsd:string" use="required" />
+ </xsd:complexType>
+ </xsd:element>
+ </xsd:choice>
+ </xsd:complexType>
+ </xsd:element>
+ </xsd:schema>
+ <resheader name="resmimetype">
+ <value>text/microsoft-resx</value>
+ </resheader>
+ <resheader name="version">
+ <value>2.0</value>
+ </resheader>
+ <resheader name="reader">
+ <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+ </resheader>
+ <resheader name="writer">
+ <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+ </resheader>
+</root>
\ No newline at end of file
--
Gitblit v1.9.3