mirror of
https://github.com/chylex/TweetDuck.git
synced 2024-11-24 20:42:49 +01:00
17 lines
420 B
C#
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);
|
|
}
|
|
}
|
|
}
|