Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
去掉所有的 LicenseManager.Validate
  • Loading branch information
iccb1013 committed May 25, 2017
1 parent eec74c3 commit b69d1c7
Show file tree
Hide file tree
Showing 20 changed files with 1,102 additions and 1,123 deletions.
4 changes: 2 additions & 2 deletions Sheng.Winform.Controls.Demo/FormShengAdressBar.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion Sheng.Winform.Controls/ShengAdvComboBox.cs
Expand Up @@ -35,7 +35,6 @@ public ShengAdvComboBoxDropdownBase DropUserControl

public ShengAdvComboBox()
{
LicenseManager.Validate(typeof(ShengAdvComboBox));

SetStyle(ControlStyles.DoubleBuffer, true);
SetStyle(ControlStyles.ResizeRedraw, true);
Expand Down
1 change: 0 additions & 1 deletion Sheng.Winform.Controls/ShengAdvLabel.cs
Expand Up @@ -364,7 +364,6 @@ private Rectangle DrawStringRectangle
/// </summary>
public ShengAdvLabel()
{
LicenseManager.Validate(typeof(ShengAdvLabel));

EnableDoubleBuffering();

Expand Down
1 change: 0 additions & 1 deletion Sheng.Winform.Controls/ShengColorChooseComboBox.cs
Expand Up @@ -45,7 +45,6 @@ public Form OwnerForm

public ShengColorChooseComboBox()
{
LicenseManager.Validate(typeof(ShengColorChooseComboBox));

InitializeComponent();

Expand Down
2 changes: 0 additions & 2 deletions Sheng.Winform.Controls/ShengColorChooseComboBoxDropDown.cs
Expand Up @@ -112,8 +112,6 @@ public string SelectedColorName

public ShengColorChooseComboBoxDropDown()
{
//死循环
//LicenseManager.Validate(typeof(SEColorChooseComboBoxDropDown));

InitializeComponent();

Expand Down
1 change: 0 additions & 1 deletion Sheng.Winform.Controls/ShengComboBox.cs
Expand Up @@ -53,7 +53,6 @@ public string WaterText

public ShengComboBox()
{
LicenseManager.Validate(typeof(ShengComboBox));
}

#endregion
Expand Down
Expand Up @@ -13,7 +13,6 @@ public class ShengDataGridViewCheckBoxColumn : DataGridViewCheckBoxColumn
{
public ShengDataGridViewCheckBoxColumn()
{
LicenseManager.Validate(typeof(ShengDataGridViewCheckBoxColumn));

this.CellTemplate = new SEDataGridViewCheckBoxCell();
}
Expand All @@ -33,7 +32,6 @@ public override object Clone()

public SEDataGridViewCheckBoxCell()
{
LicenseManager.Validate(typeof(SEDataGridViewCheckBoxCell));
}

protected override void Paint(Graphics graphics, Rectangle clipBounds, Rectangle cellBounds,
Expand Down
1 change: 0 additions & 1 deletion Sheng.Winform.Controls/ShengFlatButton.cs
Expand Up @@ -124,7 +124,6 @@ public string ShowText

public ShengFlatButton()
{
LicenseManager.Validate(typeof(ShengFlatButton));

InitializeComponent();

Expand Down
1 change: 0 additions & 1 deletion Sheng.Winform.Controls/ShengGroupBox.cs
Expand Up @@ -15,7 +15,6 @@ public class ShengGroupBox : GroupBox, IShengValidate

public ShengGroupBox()
{
LicenseManager.Validate(typeof(ShengGroupBox));
}

#endregion
Expand Down

0 comments on commit b69d1c7

Please sign in to comment.