Skip to content

Commit

Permalink
Merge pull request #1 from jackb-dropbox/master
Browse files Browse the repository at this point in the history
Version 2 release 2/26/2016
  • Loading branch information
chadduffey committed Feb 26, 2016
2 parents e103cf2 + 7a99faa commit 4d87ea6
Show file tree
Hide file tree
Showing 397 changed files with 18,121 additions and 3,883 deletions.
Binary file added DfBAdminToolkit-v2/.vs/DfBAdminToolkit/v14/.suo
Binary file not shown.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
namespace DfBAdminToolkit.Common.Component
{
namespace DfBAdminToolkit.Common.Component {

using System.ComponentModel;
using System.Drawing;

public enum Theme
{
public enum Theme {
MSOffice2010_Blue = 1,
MSOffice2010_White = 2,
MSOffice2010_Red = 3,
Expand All @@ -17,63 +16,56 @@ public enum Theme
#region COLOR TABLE

[TypeConverter(typeof(ExpandableObjectConverter))]
public class ColorTable
{
public class ColorTable {

#region Static Color Tables

private static Office2010Blue office2010blu = new Office2010Blue();

[DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
public static ColorTable Office2010Blue
{
public static ColorTable Office2010Blue {
get { return office2010blu; }
}

private static Office2010Green office2010gr = new Office2010Green();

[DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
public static ColorTable Office2010Green
{
public static ColorTable Office2010Green {
get { return office2010gr; }
}

private static Office2010Red office2010rd = new Office2010Red();

[DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
public static ColorTable Office2010Red
{
public static ColorTable Office2010Red {
get { return office2010rd; }
}

private static Office2010Pink office2010pk = new Office2010Pink();

[DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
public static ColorTable Office2010Pink
{
public static ColorTable Office2010Pink {
get { return office2010pk; }
}

private static Office2010Yellow office2010yl = new Office2010Yellow();

[DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
public static ColorTable Office2010Yellow
{
public static ColorTable Office2010Yellow {
get { return office2010yl; }
}

private static Office2010White office2010wt = new Office2010White();

[DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
public static ColorTable Office2010White
{
public static ColorTable Office2010White {
get { return office2010wt; }
}

private static Office2010Publisher office2010pb = new Office2010Publisher();

[DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
public static ColorTable Office2010Publisher
{
public static ColorTable Office2010Publisher {
get { return office2010pb; }
}

Expand All @@ -88,36 +80,31 @@ public static ColorTable Office2010Publisher
private Color innerborderColor = Color.FromArgb(68, 135, 228);

[DesignerSerializationVisibility(DesignerSerializationVisibility.Visible)]
public virtual Color TextColor
{
public virtual Color TextColor {
get { return textColor; }
set { textColor = value; }
}

[DesignerSerializationVisibility(DesignerSerializationVisibility.Visible)]
public virtual Color SelectedTextColor
{
public virtual Color SelectedTextColor {
get { return selectedTextColor; }
set { selectedTextColor = value; }
}

[DesignerSerializationVisibility(DesignerSerializationVisibility.Visible)]
public virtual Color HoverTextColor
{
public virtual Color HoverTextColor {
get { return OverTextColor; }
set { OverTextColor = value; }
}

[DesignerSerializationVisibility(DesignerSerializationVisibility.Visible)]
public virtual Color BorderColor1
{
public virtual Color BorderColor1 {
get { return borderColor; }
set { borderColor = value; }
}

[DesignerSerializationVisibility(DesignerSerializationVisibility.Visible)]
public virtual Color BorderColor2
{
public virtual Color BorderColor2 {
get { return innerborderColor; }
set { innerborderColor = value; }
}
Expand All @@ -132,29 +119,25 @@ public virtual Color BorderColor2
private Color buttonNormalEnd = Color.FromArgb(62, 125, 219);

[DesignerSerializationVisibility(DesignerSerializationVisibility.Visible)]
public virtual Color ButtonNormalColor1
{
public virtual Color ButtonNormalColor1 {
get { return buttonNormalBegin; }
set { buttonNormalBegin = value; }
}

[DesignerSerializationVisibility(DesignerSerializationVisibility.Visible)]
public virtual Color ButtonNormalColor2
{
public virtual Color ButtonNormalColor2 {
get { return buttonNormalMiddleBegin; }
set { buttonNormalMiddleBegin = value; }
}

[DesignerSerializationVisibility(DesignerSerializationVisibility.Visible)]
public virtual Color ButtonNormalColor3
{
public virtual Color ButtonNormalColor3 {
get { return buttonNormalMiddleEnd; }
set { buttonNormalMiddleEnd = value; }
}

[DesignerSerializationVisibility(DesignerSerializationVisibility.Visible)]
public virtual Color ButtonNormalColor4
{
public virtual Color ButtonNormalColor4 {
get { return buttonNormalEnd; }
set { buttonNormalEnd = value; }
}
Expand All @@ -169,29 +152,25 @@ public virtual Color ButtonNormalColor4
private Color buttonSelectedEnd = Color.FromArgb(255, 216, 107);

[DesignerSerializationVisibility(DesignerSerializationVisibility.Visible)]
public virtual Color ButtonSelectedColor1
{
public virtual Color ButtonSelectedColor1 {
get { return buttonSelectedBegin; }
set { buttonSelectedBegin = value; }
}

[DesignerSerializationVisibility(DesignerSerializationVisibility.Visible)]
public virtual Color ButtonSelectedColor2
{
public virtual Color ButtonSelectedColor2 {
get { return buttonSelectedMiddleBegin; }
set { buttonSelectedMiddleBegin = value; }
}

[DesignerSerializationVisibility(DesignerSerializationVisibility.Visible)]
public virtual Color ButtonSelectedColor3
{
public virtual Color ButtonSelectedColor3 {
get { return buttonSelectedMiddleEnd; }
set { buttonSelectedMiddleEnd = value; }
}

[DesignerSerializationVisibility(DesignerSerializationVisibility.Visible)]
public virtual Color ButtonSelectedColor4
{
public virtual Color ButtonSelectedColor4 {
get { return buttonSelectedEnd; }
set { buttonSelectedEnd = value; }
}
Expand All @@ -206,29 +185,25 @@ public virtual Color ButtonSelectedColor4
private Color buttonMouseOverEnd = Color.FromArgb(251, 249, 224);

[DesignerSerializationVisibility(DesignerSerializationVisibility.Visible)]
public virtual Color ButtonMouseOverColor1
{
public virtual Color ButtonMouseOverColor1 {
get { return buttonMouseOverBegin; }
set { buttonMouseOverBegin = value; }
}

[DesignerSerializationVisibility(DesignerSerializationVisibility.Visible)]
public virtual Color ButtonMouseOverColor2
{
public virtual Color ButtonMouseOverColor2 {
get { return buttonMouseOverMiddleBegin; }
set { buttonMouseOverMiddleBegin = value; }
}

[DesignerSerializationVisibility(DesignerSerializationVisibility.Visible)]
public virtual Color ButtonMouseOverColor3
{
public virtual Color ButtonMouseOverColor3 {
get { return buttonMouseOverMiddleEnd; }
set { buttonMouseOverMiddleEnd = value; }
}

[DesignerSerializationVisibility(DesignerSerializationVisibility.Visible)]
public virtual Color ButtonMouseOverColor4
{
public virtual Color ButtonMouseOverColor4 {
get { return buttonMouseOverEnd; }
set { buttonMouseOverEnd = value; }
}
Expand All @@ -240,10 +215,9 @@ public virtual Color ButtonMouseOverColor4

#region Office 2010 Blue

public class Office2010Blue : ColorTable
{
public Office2010Blue()
{
public class Office2010Blue : ColorTable {

public Office2010Blue() {
// Border Color

this.BorderColor1 = Color.FromArgb(31, 72, 161);
Expand Down Expand Up @@ -277,8 +251,7 @@ public Office2010Blue()
this.ButtonSelectedColor4 = Color.FromArgb(255, 216, 107);
}

public override string ToString()
{
public override string ToString() {
return "Office2010Blue";
}
}
Expand All @@ -287,10 +260,9 @@ public override string ToString()

#region Office 2010 GREEN

public class Office2010Green : ColorTable
{
public Office2010Green()
{
public class Office2010Green : ColorTable {

public Office2010Green() {
// Border Color

this.BorderColor1 = Color.FromArgb(31, 72, 161);
Expand Down Expand Up @@ -324,8 +296,7 @@ public Office2010Green()
this.ButtonSelectedColor4 = Color.FromArgb(255, 216, 107);
}

public override string ToString()
{
public override string ToString() {
return "Office2010Green";
}
}
Expand All @@ -334,10 +305,9 @@ public override string ToString()

#region Office 2010 Red

public class Office2010Red : ColorTable
{
public Office2010Red()
{
public class Office2010Red : ColorTable {

public Office2010Red() {
// Border Color

this.BorderColor1 = Color.FromArgb(31, 72, 161);
Expand Down Expand Up @@ -371,8 +341,7 @@ public Office2010Red()
this.ButtonSelectedColor4 = Color.FromArgb(255, 216, 107);
}

public override string ToString()
{
public override string ToString() {
return "Office2010Red";
}
}
Expand All @@ -381,10 +350,9 @@ public override string ToString()

#region Office 2010 Pink

public class Office2010Pink : ColorTable
{
public Office2010Pink()
{
public class Office2010Pink : ColorTable {

public Office2010Pink() {
// Border Color

this.BorderColor1 = Color.FromArgb(31, 72, 161);
Expand Down Expand Up @@ -418,8 +386,7 @@ public Office2010Pink()
this.ButtonSelectedColor4 = Color.FromArgb(255, 216, 107);
}

public override string ToString()
{
public override string ToString() {
return "Office2010Pink";
}
}
Expand All @@ -428,10 +395,9 @@ public override string ToString()

#region Office 2010 White

public class Office2010White : ColorTable
{
public Office2010White()
{
public class Office2010White : ColorTable {

public Office2010White() {
// Border Color

this.BorderColor1 = Color.FromArgb(31, 72, 161);
Expand Down Expand Up @@ -465,8 +431,7 @@ public Office2010White()
this.ButtonSelectedColor4 = Color.FromArgb(255, 216, 107);
}

public override string ToString()
{
public override string ToString() {
return "Office2010White";
}
}
Expand All @@ -475,10 +440,9 @@ public override string ToString()

#region Office 2010 Yellow

public class Office2010Yellow : ColorTable
{
public Office2010Yellow()
{
public class Office2010Yellow : ColorTable {

public Office2010Yellow() {
// Border Color

this.BorderColor1 = Color.FromArgb(31, 72, 161);
Expand Down Expand Up @@ -512,8 +476,7 @@ public Office2010Yellow()
this.ButtonSelectedColor4 = Color.FromArgb(255, 216, 107);
}

public override string ToString()
{
public override string ToString() {
return "Office2010Yellow";
}
}
Expand All @@ -522,10 +485,9 @@ public override string ToString()

#region Office 2010 Publisher

public class Office2010Publisher : ColorTable
{
public Office2010Publisher()
{
public class Office2010Publisher : ColorTable {

public Office2010Publisher() {
// Border Color

this.BorderColor1 = Color.FromArgb(31, 72, 161);
Expand Down Expand Up @@ -559,8 +521,7 @@ public Office2010Publisher()
this.ButtonSelectedColor4 = Color.FromArgb(255, 216, 107);
}

public override string ToString()
{
public override string ToString() {
return "Office2010Publisher";
}
}
Expand Down
Loading

0 comments on commit 4d87ea6

Please sign in to comment.