private void panel1_Paint(object sender, PaintEventArgs e) { if (GlobalVars.UserConfiguration.LauncherStyle == Settings.Style.Stylish) { GlobalFuncs.DrawBorderSimple(e.Graphics, panel1.DisplayRectangle, Color.Black, ButtonBorderStyle.Solid, 1); } }
void splashLabelStylish_Paint(object sender, PaintEventArgs e) { GlobalFuncs.DrawBorderSimple(e.Graphics, splashLabelStylish.DisplayRectangle, Color.White, ButtonBorderStyle.Solid, 1); }