1
0
mirror of https://github.com/chylex/TweetDuck.git synced 2024-11-23 17:42:46 +01:00
TweetDuck/Core/Controls/FlatButton.cs
2017-08-28 18:46:14 +02:00

17 lines
420 B
C#

using System;
using System.Windows.Forms;
namespace TweetDuck.Core.Controls{
sealed class FlatButton : Button{
protected override bool ShowFocusCues => false;
public FlatButton(){
GotFocus += FlatButton_GotFocus;
}
private void FlatButton_GotFocus(object sender, EventArgs e){ // removes extra border when focused
NotifyDefault(false);
}
}
}