private void FrmLogin_Paint(object sender, PaintEventArgs e)标签:自定义,边框,Width,Graphics,Height,DrawRectangle,Winform From: https://blog.51cto.com/51souta/5805047
{
///自定义绘制边框颜色
//e.Graphics.DrawRectangle(Pens.DarkOliveGreen, 0, 0, this.Width - 1, this.Height - 1);
e.Graphics.DrawRectangle(Common.FromCustomStyle.CustomFormBorder(), 0, 0, this.Width - 1, this.Height - 1);
}