26 lines
768 B
C#
26 lines
768 B
C#
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
using System.Drawing;
|
|||
|
using System.Linq;
|
|||
|
using System.Text;
|
|||
|
using System.Threading.Tasks;
|
|||
|
using System.Windows.Forms;
|
|||
|
|
|||
|
namespace GeBoShi.UI
|
|||
|
{
|
|||
|
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.Ge;
|
|||
|
frm.ShowIcon = true;
|
|||
|
//frm.ForeColor = Color.White;
|
|||
|
//frm.MouseMove += Main_MouseMove;
|
|||
|
//frm.MouseLeave += Main_Leave; // 有控件在边缘时,处理一下更好一些
|
|||
|
}
|
|||
|
}
|
|||
|
}
|