Páginas

domingo, 1 de febrero de 2015

"User Control micro switches array VB.NET"

Hi everybody,

Here is another new page where I've been working to make an user control "micro switches array" for Visual Basic .NET".




It's an usefull control that many times it uses in many GUI (graphical user interface) electronic applications for working with electronic cards or microcontrollers and want to manage the inputs or outputs ports . This kind of this control sometimes we don't have in none control toolboxes in the IDE Software (integrated development environment).


This picture show the aspect of the Array micro Switches.






Here I show you a video where the user contol array micro switches have been used in an example application.




  • How to use the user control Array micro Switches from the .dll compiled library .

Here, attached the .dll library for user control "Array micro Switches"

.dll Library for User Control Array micro Switches


In order to use it, you should follow the next steps:

1.Create a new proyect.


 2. Choose the tipical project: Windows Forms



3. Go to the toolbox and there, select the general tab and over there click with the right button mouse  to open the emergent menu.




4. Select the option "Select elements". Here, click over tab "Components .NET Framework" and click over button. A new windows dialog box are shown. You should look for the user contol Array micro Switches file .dll that you should have if you have downloaded from the link indicated before.








5. If the "user control array micro Switches" have been loaded succesfully, you can use it as you can see in the next picture. Exactly in the tab general you can find the new user control.






 6. Select the new user control with the mouse and drag and drop over the window form and this appear drawn. This control can be setup as whatever other control with his properties window. For this example I've drag and drop three controls for making three different ports.





7. Finally, include this code and run the code with F5. A picture like this would be shown.






That's all! , Just now, we have an application with our new user control array micro switches.




You can too, resize all controls to hide the properties. Something like this, for that show a better appearance:




  • Example application that use the user control Array micro Switches.

I've developed a small application that shown how can be setup this user control. Its appearance is shown you in this picture.





It's enough for show you how the control works and its characteristics. I've added a checkbox to run a small demo about what can you do with it.

I hope that you like it!

.dll Library and .exe for "User Control Array micro Switches"

(Remember, copy the .dll file in the same path where is the executable file .exe)



Click over this link to download the source code for "User Control Array micro-Switches" .

Source Code for User Control "Array micro Switches"




A greeting. 

-----------------------------------------------------------------------------------------------------------------------------------------------------
Please, if you liked this blog, has helped you or have you seen any interesting project or you've been able to download some documentation please leave a comment. Thank you. 



------------------------------------------------------------------------------------------------------------------------------------------------------

No hay comentarios:

Publicar un comentario

Deja tu comentario