-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbtnbase.cs
25 lines (24 loc) · 864 Bytes
/
btnbase.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Drawing;
namespace MundoMusical.CUSTOM_CONTROLS
{
public class btnbase:Button
{
public btnbase()
{
this.BackColor = System.Drawing.Color.Transparent;
this.FlatStyle = FlatStyle.Flat;
//this.FlatAppearance.BorderColor = System.Drawing.Color.Transparent;
this.FlatAppearance.BorderSize = 0;
this.FlatAppearance.CheckedBackColor = System.Drawing.Color.Transparent;
this.FlatAppearance.MouseDownBackColor = System.Drawing.Color.Transparent;
this.FlatAppearance.MouseOverBackColor = System.Drawing.Color.Transparent;
this.Cursor = Cursors.Hand;
}
}
}