| | |
| | | using System.Net; |
| | | using System.Reflection; |
| | | using System.Text; |
| | | using System.Threading.Tasks; |
| | | using Gs.DevApp.ToolBox; |
| | | using System.Resources; |
| | | using System.Drawing; |
| | | using Newtonsoft.Json; |
| | | using Gs.DevApp.Models; |
| | | using System.Windows.Forms; |
| | | |
| | | namespace Gs.DevApp.ToolBox |
| | | { |
| | |
| | | rto.rtnData = json["rtnData"]; |
| | | return rto; |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 设置系统字体大小,目前并不通用 |
| | | /// </summary> |
| | | public static float GetFontSize =10; |
| | | public static void SetFont(Control control) { |
| | | float size = GetFontSize; |
| | | foreach (Control childControl in control.Controls) |
| | | { |
| | | childControl.Font = new Font(childControl.Font.FontFamily, size, childControl.Font.Style); |
| | | SetFont(childControl); |
| | | } |
| | | } |
| | | } |
| | | } |