|
1234567891011121314151617181920212223242526272829303132333435 |
- using MaiMuControl.SysStatusMgr.UserMgr;
- using System;
- using System.Collections.Generic;
- using System.Drawing;
- using System.Linq;
- using System.Runtime.InteropServices;
- using System.Text;
- using System.Threading.Tasks;
- using System.Windows.Forms;
-
- namespace MaiMuAOI.SysUI
- {
- public class UIStyle
- {
- public static void SetUIStyle(Form frm)
- {
- frm.BackColor = Color.FromArgb(8, 31, 120);
- frm.FormBorderStyle = FormBorderStyle.None;
- frm.StartPosition = FormStartPosition.CenterScreen;
- frm.Icon = Properties.Resources.e1;
- frm.ShowIcon = true;
- //frm.ForeColor = Color.White;
- //frm.MouseMove += Main_MouseMove;
- //frm.MouseLeave += Main_Leave; // 有控件在边缘时,处理一下更好一些
- }
-
- #region 弃用-拖拽调整窗体大小
-
- #endregion
-
-
-
-
- }
- }
|