Tech
Forums
Jobs
Books
Events
Videos
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Contribute
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
1
Answer
How to create custom controls in visual studio 2015
Tchala B
7y
311
1
Reply
I found saw some interesting control in someones code that is not in visual studio 2015 designer tool box and am wondering how someone was able to create it.
Here is how it looks
this
.control1 =
new
Mycontrol();
this
.control1.AutoSize =
true
;
this
.control1.BackColor = Color.White;
this
.control1.BackgroundImage = (Image) Resources.background1;
this
.control1.BackgroundImageLayout = ImageLayout.Stretch;
this
.control1.Location =
new
Point(-2, 100);
this
.control1.MainMenu = 0;
this
.control1.MainMenuName = (
object
[])
null
;
this
.control1.Margin =
new
Padding(0);
this
.control1.Name =
"control1"
;
Post
Reset
Cancel
Answers (
1
)
Next Recommended Forum
Query in Result
How to solve datatable warning cannot reinitialise datatable