Skip to content

Commit 838b742

Browse files
author
Gábor Zavarkó
committed
cleanup
1 parent 5cc3a36 commit 838b742

File tree

205 files changed

+2790
-4286
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

205 files changed

+2790
-4286
lines changed

Demo.Testing/Form1.cs

-5
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,6 @@
11
using System;
22
using System.Collections.Generic;
3-
using System.ComponentModel;
4-
using System.Data;
5-
using System.Drawing;
6-
using System.Linq;
73
using System.Text;
8-
using System.Threading.Tasks;
94
using System.Windows.Forms;
105
using GMap.NET;
116
using GMap.NET.MapProviders;

Demo.Testing/Program.cs

-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
using System;
22
using System.Collections.Generic;
3-
using System.Linq;
4-
using System.Threading.Tasks;
53
using System.Windows.Forms;
64

75
namespace Demo.Testing

Demo.Testing/Properties/AssemblyInfo.cs

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
using System.Reflection;
2-
using System.Runtime.CompilerServices;
32
using System.Runtime.InteropServices;
43

54
// General Information about an assembly is controlled through the following

Demo/Demo.WindowsForms/BSE.Windows.Forms/XPander/ColorSchemeChangeEventArgs.cs

+6-9
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
using System;
1+
using System;
22
using System.Collections.Generic;
33
using System.Text;
44

@@ -7,7 +7,7 @@ namespace BSE.Windows.Forms
77
/// <summary>
88
/// Provides data for the ColorSchemeChange event.
99
/// </summary>
10-
/// <copyright>Copyright © 2006-2008 Uwe Eichkorn
10+
/// <copyright>Copyright © 2006-2008 Uwe Eichkorn
1111
/// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY
1212
/// KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
1313
/// IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR
@@ -18,18 +18,15 @@ public class ColorSchemeChangeEventArgs : EventArgs
1818
{
1919
#region FieldsPrivate
2020

21-
private ColorScheme m_eColorSchema;
22-
2321
#endregion
2422

2523
#region Properties
24+
2625
/// <summary>
2726
/// Gets the color schema which is used for the panel.
2827
/// </summary>
29-
public ColorScheme ColorSchema
30-
{
31-
get { return m_eColorSchema; }
32-
}
28+
public ColorScheme ColorSchema { get; }
29+
3330
#endregion
3431

3532
#region MethodsPublic
@@ -39,7 +36,7 @@ public ColorScheme ColorSchema
3936
/// <param name="eColorSchema">The color schema which is used for the panel.</param>
4037
public ColorSchemeChangeEventArgs(ColorScheme eColorSchema)
4138
{
42-
m_eColorSchema = eColorSchema;
39+
ColorSchema = eColorSchema;
4340
}
4441

4542
#endregion

Demo/Demo.WindowsForms/BSE.Windows.Forms/XPander/DisplayInformation.cs

-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
using System.Text;
44
using Microsoft.Win32;
55
using System.Runtime.InteropServices;
6-
using System.Windows.Forms;
76
using System.Windows.Forms.VisualStyles;
87
using System.IO;
98
using System.Text.RegularExpressions;

Demo/Demo.WindowsForms/BSE.Windows.Forms/XPander/HoverStateChangeEventArgs.cs

+5-6
Original file line numberDiff line numberDiff line change
@@ -17,17 +17,16 @@ namespace BSE.Windows.Forms
1717
public class HoverStateChangeEventArgs : EventArgs
1818
{
1919
#region FieldsPrivate
20-
private HoverState m_hoverState;
20+
2121
#endregion
2222

2323
#region Properties
24+
2425
/// <summary>
2526
/// Gets the HoverState.
2627
/// </summary>
27-
public HoverState HoverState
28-
{
29-
get { return m_hoverState; }
30-
}
28+
public HoverState HoverState { get; }
29+
3130
#endregion
3231

3332
#region MethodsPublic
@@ -37,7 +36,7 @@ public HoverState HoverState
3736
/// <param name="hoverState">The <see cref="HoverState"/> values.</param>
3837
public HoverStateChangeEventArgs(HoverState hoverState)
3938
{
40-
m_hoverState = hoverState;
39+
HoverState = hoverState;
4140
}
4241
#endregion
4342
}

Demo/Demo.WindowsForms/BSE.Windows.Forms/XPander/IPanel.cs

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
1-
using System;
1+
using System;
22
using System.Collections.Generic;
33
using System.Text;
4-
using System.Drawing;
54

65
namespace BSE.Windows.Forms
76
{
87
/// <summary>
98
/// Used to group collections of controls.
109
/// </summary>
11-
/// <copyright>Copyright © 2006-2008 Uwe Eichkorn
10+
/// <copyright>Copyright © 2006-2008 Uwe Eichkorn
1211
/// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY
1312
/// KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
1413
/// IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR

Demo/Demo.WindowsForms/BSE.Windows.Forms/XPander/Panel.cs

+1-28
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ public partial class Panel : BasePanel
4444
private Image _imageClosePanel;
4545
private CustomPanelColors _customColors;
4646
private Image _imgHoverBackground;
47-
private System.Windows.Forms.Splitter _associatedSplitter;
4847

4948
#endregion
5049

@@ -57,17 +56,7 @@ public partial class Panel : BasePanel
5756
/// <value>The associated <see cref="Splitter" /></value>
5857
[Description("The associated Splitter.")]
5958
[Category("Behavior")]
60-
public virtual System.Windows.Forms.Splitter AssociatedSplitter
61-
{
62-
get
63-
{
64-
return _associatedSplitter;
65-
}
66-
set
67-
{
68-
_associatedSplitter = value;
69-
}
70-
}
59+
public virtual System.Windows.Forms.Splitter AssociatedSplitter { get; set; }
7160

7261
/// <summary>
7362
/// Gets the custom colors which are used for the panel.
@@ -845,22 +834,6 @@ internal class PanelDesigner : ParentControlDesigner
845834

846835
#region MethodsPublic
847836

848-
/// <summary>
849-
/// Initializes a new instance of the PanelDesigner class.
850-
/// </summary>
851-
public PanelDesigner()
852-
{
853-
}
854-
855-
/// <summary>
856-
/// Initializes the designer with the specified component.
857-
/// </summary>
858-
/// <param name="component"></param>
859-
public override void Initialize(IComponent component)
860-
{
861-
base.Initialize(component);
862-
}
863-
864837
/// <summary>
865838
/// Gets the design-time action lists supported by the component associated with the designer.
866839
/// </summary>

Demo/Demo.WindowsForms/BSE.Windows.Forms/XPander/PanelColors.cs

-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
using System.Text;
44
using System.Drawing;
55
using System.Windows.Forms;
6-
using System.Diagnostics;
76

87
namespace BSE.Windows.Forms
98
{

Demo/Demo.WindowsForms/BSE.Windows.Forms/XPander/PanelColorsBlack.cs

+4-5
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,14 @@
1-
using System;
1+
using System;
22
using System.Collections.Generic;
33
using System.Text;
44
using System.Drawing;
5-
using System.Windows.Forms;
65

76
namespace BSE.Windows.Forms
87
{
98
/// <summary>
109
/// Provide black theme colors for a Panel or XPanderPanel display element.
1110
/// </summary>
12-
/// <copyright>Copyright © 2006-2008 Uwe Eichkorn
11+
/// <copyright>Copyright © 2006-2008 Uwe Eichkorn
1312
/// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY
1413
/// KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
1514
/// IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR
@@ -29,9 +28,9 @@ public class PanelColorsBlack : PanelColorsBse
2928
/// Initialize a new instance of the PanelColorsBlack class.
3029
/// </summary>
3130
public PanelColorsBlack()
32-
: base()
33-
{
31+
{
3432
}
33+
3534
/// <summary>
3635
/// Initialize a new instance of the PanelColorsBlack class.
3736
/// </summary>

Demo/Demo.WindowsForms/BSE.Windows.Forms/XPander/PanelColorsBlue.cs

+3-5
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,14 @@
1-
using System;
1+
using System;
22
using System.Collections.Generic;
33
using System.Text;
44
using System.Drawing;
5-
using System.Windows.Forms;
65

76
namespace BSE.Windows.Forms
87
{
98
/// <summary>
109
/// Provide black theme colors for a Panel or XPanderPanel display element.
1110
/// </summary>
12-
/// <copyright>Copyright © 2008 Uwe Eichkorn
11+
/// <copyright>Copyright © 2008 Uwe Eichkorn
1312
/// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY
1413
/// KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
1514
/// IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR
@@ -29,8 +28,7 @@ public class PanelColorsBlue : PanelColorsBse
2928
/// Initialize a new instance of the PanelColorsBlack class.
3029
/// </summary>
3130
public PanelColorsBlue()
32-
: base()
33-
{
31+
{
3432
}
3533
/// <summary>
3634
/// Initialize a new instance of the PanelColorsBlack class.

Demo/Demo.WindowsForms/BSE.Windows.Forms/XPander/PanelColorsBse.cs

+1-2
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,7 @@ public override PanelStyle PanelStyle
3232
/// Initialize a new instance of the PanelColorsBse class.
3333
/// </summary>
3434
public PanelColorsBse()
35-
: base()
36-
{
35+
{
3736
}
3837
/// <summary>
3938
/// Initialize a new instance of the PanelColorsBse class.

Demo/Demo.WindowsForms/BSE.Windows.Forms/XPander/PanelColorsOffice.cs

+1-2
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,7 @@ public override PanelStyle PanelStyle
3232
/// Initialize a new instance of the PanelColorsOffice class.
3333
/// </summary>
3434
public PanelColorsOffice()
35-
: base()
36-
{
35+
{
3736
}
3837
/// <summary>
3938
/// Initialize a new instance of the PanelColorsOffice class.

Demo/Demo.WindowsForms/BSE.Windows.Forms/XPander/PanelColorsOffice2007Black.cs

+3-5
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,14 @@
1-
using System;
1+
using System;
22
using System.Collections.Generic;
33
using System.Text;
44
using System.Drawing;
5-
using System.Windows.Forms;
65

76
namespace BSE.Windows.Forms
87
{
98
/// <summary>
109
/// Provide Office 2007 Black theme colors
1110
/// </summary>
12-
/// <copyright>Copyright © 2006-2008 Uwe Eichkorn
11+
/// <copyright>Copyright © 2006-2008 Uwe Eichkorn
1312
/// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY
1413
/// KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
1514
/// IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR
@@ -23,8 +22,7 @@ public class PanelColorsOffice2007Black : PanelColorsOffice
2322
/// Initialize a new instance of the PanelColorsOffice2007Black class.
2423
/// </summary>
2524
public PanelColorsOffice2007Black()
26-
: base()
27-
{
25+
{
2826
}
2927
/// <summary>
3028
/// Initialize a new instance of the PanelColorsOffice2007Black class.

Demo/Demo.WindowsForms/BSE.Windows.Forms/XPander/PanelColorsOffice2007Blue.cs

+3-5
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,14 @@
1-
using System;
1+
using System;
22
using System.Collections.Generic;
33
using System.Text;
44
using System.Drawing;
5-
using System.Windows.Forms;
65

76
namespace BSE.Windows.Forms
87
{
98
/// <summary>
109
/// Provide Office 2007 Blue Theme colors
1110
/// </summary>
12-
/// <copyright>Copyright © 2006-2008 Uwe Eichkorn
11+
/// <copyright>Copyright © 2006-2008 Uwe Eichkorn
1312
/// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY
1413
/// KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
1514
/// IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR
@@ -29,8 +28,7 @@ public class PanelColorsOffice2007Blue : PanelColorsOffice
2928
/// Initialize a new instance of the Office2007Colors class.
3029
/// </summary>
3130
public PanelColorsOffice2007Blue()
32-
: base()
33-
{
31+
{
3432
}
3533
/// <summary>
3634
/// Initialize a new instance of the Office2007Colors class.

Demo/Demo.WindowsForms/BSE.Windows.Forms/XPander/PanelColorsOffice2007Silver.cs

+3-5
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,14 @@
1-
using System;
1+
using System;
22
using System.Collections.Generic;
33
using System.Text;
44
using System.Drawing;
5-
using System.Windows.Forms;
65

76
namespace BSE.Windows.Forms
87
{
98
/// <summary>
109
/// Provide Office 2007 silver theme colors
1110
/// </summary>
12-
/// <copyright>Copyright © 2006-2008 Uwe Eichkorn
11+
/// <copyright>Copyright © 2006-2008 Uwe Eichkorn
1312
/// THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY
1413
/// KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
1514
/// IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR
@@ -23,8 +22,7 @@ public class PanelColorsOffice2007Silver : PanelColorsOffice
2322
/// Initialize a new instance of the PanelColorsOffice2007Silver class.
2423
/// </summary>
2524
public PanelColorsOffice2007Silver()
26-
: base()
27-
{
25+
{
2826
}
2927
/// <summary>
3028
/// Initialize a new instance of the PanelColorsOffice2007Silver class.

Demo/Demo.WindowsForms/BSE.Windows.Forms/XPander/PanelColorsRed.cs

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
1-
using System;
1+
using System;
22
using System.Collections.Generic;
33
using System.Text;
4-
using System.Drawing;
5-
using System.Windows.Forms;
64

75
namespace BSE.Windows.Forms
86
{
@@ -16,7 +14,7 @@ namespace BSE.Windows.Forms
1614
///// PURPOSE. IT CAN BE DISTRIBUTED FREE OF CHARGE AS LONG AS THIS HEADER
1715
///// REMAINS UNCHANGED.
1816
///// </remarks>
19-
///// <copyright>Copyright © 2006-2008 Uwe Eichkorn</copyright>
17+
///// <copyright>Copyright © 2006-2008 Uwe Eichkorn</copyright>
2018
//public class PanelColorsRed : PanelColors
2119
//{
2220
// #region FieldsPrivate

0 commit comments

Comments
 (0)