Forum Discussion
SachsenHessi
Nov 21, 2022Copper Contributor
Visual Studio and problems with custom controls
Hello @all, to first: sorry for my bad english ! And now to my problem: I have for some time with VisualStudio 2019 the following problem: In a project have custom controls. For example, a cu...
JohnSmith11z
Mar 30, 2023Copper Contributor
Hi,
Hope this code helps:
// This code defines a custom class called CustomBtn that inherits from the Button class.
public class CustomBtn : Button
{
// This property allows the maximum number of images that can be used by the button to be set.
[Browsable(true)]
public int MaxImgNumber { get; set; }
// This property allows the minimum number of images that can be used by the button to be set.
public int MinImgNumber { get; set; }
}
// If using this code does not solve your issue, please refer to the provided details for further information.
If you still experience issues after implementing this code, please refer to the accompanying details for more information on how to resolve your issue. (external link removed by moderator)