mirror of
https://github.com/chylex/TweetDuck.git
synced 2024-11-14 17:42:47 +01:00
17 lines
365 B
C#
17 lines
365 B
C#
using System;
|
|
using System.Windows.Forms;
|
|
|
|
namespace TweetDuck.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);
|
|
}
|
|
}
|
|
}
|