Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class AddButton : ImageButton
- {
- public AddButton():base()
- {
- ImageUrl = "https://ссылка_на_картинку";
- ToolTip = "Добавить";
- AlternateText = "Добавить";
- }
- }
- public MyPanel()
- {
- Controls.Add(new AddButton());
- }
Add Comment
Please, Sign In to add comment