How do i create new user control with only create new files on current project (i mean we do not have to create new class library project)?
1 Answer
Right click on the current project and select "Add->New Item". Select "Visual C# Items" and then "User Control".
5 Comments
Bình Nguyên
Thanks you, how about component? i already created a component but how can i place it in to form?
akhisp
Same thing, but use Add->Existing Item
Bình Nguyên
I mean i have created a component in my project and how can use this component?
atiyar
@BìnhNguyên: If you think this post answers your question helpfully, you should mark it as accepted answer.
atiyar
@BìnhNguyên: If you have created a component in your project, you should have it available at the top in the toolbox. Drag it from there.