public SkillButton CreateSkillButton(Bitmap normal, Bitmap hover, Bitmap clicked, string name) { SkillButton button = new SkillButton(); button.Name = name; button.SetButtonImages(normal, hover, clicked); //button.BackgroundImageLayout = ImageLayout.Stretch; //button.FlatStyle = FlatStyle.Flat; //button.FlatAppearance.BorderSize = 0; //button.FlatAppearance.CheckedBackColor = Color.Black; //button.FlatAppearance.MouseDownBackColor = Color.Black; //button.FlatAppearance.MouseOverBackColor = Color.Black; return(button); }
public SkillButton CreateSkillButton(Bitmap normal, Bitmap hover, Bitmap clicked, string name) { SkillButton button = new SkillButton(); button.Name = name; button.SetButtonImages(normal, hover, clicked); //button.BackgroundImageLayout = ImageLayout.Stretch; //button.FlatStyle = FlatStyle.Flat; //button.FlatAppearance.BorderSize = 0; //button.FlatAppearance.CheckedBackColor = Color.Black; //button.FlatAppearance.MouseDownBackColor = Color.Black; //button.FlatAppearance.MouseOverBackColor = Color.Black; return button; }