2014-07-08 12:58:53 +00:00
|
|
|
|
using System;
|
|
|
|
|
using System.Windows.Forms;
|
|
|
|
|
|
2015-01-13 18:29:11 +00:00
|
|
|
|
namespace xClient.Core.Elevation
|
2014-07-08 12:58:53 +00:00
|
|
|
|
{
|
|
|
|
|
public class CommandButton : Button
|
|
|
|
|
{
|
|
|
|
|
public CommandButton()
|
|
|
|
|
{
|
|
|
|
|
this.FlatStyle = FlatStyle.System;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
protected override CreateParams CreateParams
|
|
|
|
|
{
|
|
|
|
|
get
|
|
|
|
|
{
|
|
|
|
|
CreateParams cParams = base.CreateParams;
|
|
|
|
|
if (Environment.OSVersion.Version.Major >= 6)
|
|
|
|
|
cParams.Style |= 14;
|
|
|
|
|
return cParams;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
2015-04-21 18:27:52 +00:00
|
|
|
|
}
|