private void FrmLogin_Paint(object sender, PaintEventArgs e)
{
///自定义绘制边框颜色
//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);
}
{
///自定义绘制边框颜色
//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);
}