Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using Microsoft.VisualBasic;
- using System;
- using System.Collections;
- using System.Collections.Generic;
- using System.Data;
- using System.Diagnostics;
- //This theme has been created by hav0c1995 (www.hackforums.net)
- //Credits goes to me for coding it, Aeonhack for his themebase and xZ3ROxPROJ3CTx for the top-button
- //Give proper credits wherever you use it
- class v2BlackTheme : ThemeContainer151
- {
- public v2BlackTheme()
- {
- Font = new Font("Verdana", 8, FontStyle.Regular);
- SetColor("BackColor", 71, 71, 71);
- SetColor("BorderColor", 44, 44, 44);
- SetColor("PanelBorder", 26, 26, 26);
- SetColor("PanelBackColor", 50, 51, 51);
- SetColor("SecondBorderColor", 90, 90, 90);
- SetColor("TextColor", 255, 255, 255);
- }
- protected override void ColorHook()
- {
- C1 = GetColor("BackColor");
- P1 = new Pen(GetColor("BorderColor"));
- P2 = new Pen(GetColor("PanelBorder"));
- P3 = new Pen(GetColor("SecondBorderColor"));
- SB1 = new SolidBrush(GetColor("PanelBackColor"));
- SB2 = new SolidBrush(GetColor("TextColor"));
- }
- private Color C1;
- private Pen P1;
- private Pen P2;
- private Pen P3;
- private SolidBrush SB1;
- private SolidBrush SB2;
- protected override void PaintHook()
- {
- G.Clear(C1);
- G.FillRectangle(SB1, 10, 30, Width - 21, Height - 41);
- G.DrawRectangle(P2, 10, 30, Width - 21, Height - 41);
- DrawText(SB2, HorizontalAlignment.Left, 8, 5);
- DrawBorders(P1);
- DrawBorders(P3, 1, 1, Width - 2, Height - 2);
- }
- }
- class v2BlackButton : ThemeControl151
- {
- public v2BlackButton()
- {
- Blend.Positions = new float[] {
- 0,
- 1
- };
- Blend2.Positions = new float[] {
- 0,
- 1
- };
- SetColor("Blend1", 85, 83, 83);
- SetColor("Blend2", 62, 64, 62);
- SetColor("Border1", 120, 120, 120);
- SetColor("Border2", 0, 0, 0);
- SetColor("ButtonText", 240, 240, 240);
- }
- protected override void ColorHook()
- {
- P1 = new Pen(GetColor("Border1"));
- P2 = new Pen(GetColor("Border2"));
- SB1 = new SolidBrush(GetColor("ButtonText"));
- Blend.Colors = new Color[] {
- GetColor("Blend1"),
- GetColor("Blend2")
- };
- Blend2.Colors = new Color[] {
- GetColor("Blend2"),
- GetColor("Blend1")
- };
- }
- private Blend;
- private ColorBlend Blend2 = new ColorBlend();
- private Pen P1;
- private Pen P2;
- private SolidBrush SB1;
- protected override void PaintHook()
- {
- DrawGradient(Blend, 2, 2, Width - 4, Height - 4);
- if (State == MouseState.Down) {
- DrawGradient(Blend2, 2, 2, Width - 4, Height - 4);
- }
- DrawText(SB1, HorizontalAlignment.Center, 0, 0);
- DrawBorders(P2);
- DrawBorders(P1, 1, 1, Width - 2, Height - 2);
- }
- }
- class v2BlackTopButton : ThemeControl151
- {
- public v2BlackTopButton()
- {
- SetColor("BackColor", 71, 71, 71);
- SetColor("BackColor2", 50, 51, 51);
- SetColor("BorderColor", 150, 150, 150);
- Size = new Size(14, 7);
- }
- protected override void ColorHook()
- {
- C1 = GetColor("BackColor");
- C2 = GetColor("BackColor2");
- P1 = new Pen(GetColor("BorderColor"));
- }
- private Color C1;
- private Color C2;
- private Pen P1;
- protected override void PaintHook()
- {
- DrawGradient(C1, C2, 0, 0, Width, Height);
- if (State == MouseState.Down) {
- DrawGradient(C2, C1, 0, 0, Width, Height);
- }
- DrawBorders(P1);
- DrawCorners(C1);
- }
- }
- class v2BlackLabel : Label
- {
- public v2BlackLabel()
- {
- Font = new Font("Verdana", 8, FontStyle.Regular);
- ForeColor = Color.FromArgb(220, 220, 220);
- BackColor = Color.Transparent;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment