narsil/Tanshu.Common.KeyboardControl/UnselectableButton.cs

19 lines
379 B
C#
Raw Normal View History

2011-01-06 07:17:00 +00:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace Tanshu.Common.KeyboardControl
{
public partial class UnselectableButton : Button
{
public UnselectableButton()
{
InitializeComponent();
this.SetStyle(ControlStyles.Selectable, false);
}
}
}