Monday, September 30, 2013

How to Place your reusable code into Toolbox in Visual Studio?

This is very important and small tips for all VS users. Sometimes we need a small piece of code in many places of our application or in some different application. What we do? We just copy the code from one page and paste it to the destination page.
 Visual Studio having a great feature, that you can place your code snippet inside the toolbox. For that you need to just select the code snippet and drag the selected snippet on to the general Tab.
 DragnDrop How to Place your reusable code into Toolbox in Visual Studio?
You can rename the selected snippet, by just right clicking on snippet and click on Rename.
Rename How to Place your reusable code into Toolbox in Visual Studio?
Now, you can use it anywhere in your application or in any VS Application by just drag and drop of the selected snippet.

No comments:

Post a Comment

Thank you for visiting my blog

Kubernetes

Prerequisites We assume anyone who wants to understand Kubernetes should have an understating of how the Docker works, how the Docker images...