|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
User controls in VS 2005Im creating a user control that contains multiple check boxes. I go project Add --> New usercontrol I get a blank class no inherits of system.windows.usercontrols, just Public Class MyUsercontrol End class I add my checkboxes and code to handle the relevant check events and a public custom event. Once again no code appears to add the checkbox controls in the code file. Im thinkin 2005 might do it different When Im finished, my control is in the project. I cant drag my new control on to a form or into the tool box or use it in any way. Does anyone know what have I done wrong ? I dont want to commpile the user control into a separate dll as its a project specific control I wont use anywhere else. Any help would be appreciated mudguts362004-nosh***@yahoo.com.au wrote in news:1161054977.045394.286020
@b28g2000cwb.googlegroups.com: > I add my checkboxes and code to handle the relevant check events and a ..NET 2005 supports partial classes.> public custom event. Once again no code appears to add the checkbox > controls in the code file. Im thinkin 2005 might do it different If you want to view the designer generated classes, click the "show hidden files" button on the solution explorer toolbar. > When Im finished, my control is in the project. I cant drag my new You need to recompile.> control on to a form or into the tool box or use it in any way. Does > anyone know what have I done wrong ? > I dont want to commpile the user control into a separate dll as its a Just recompile the solution - your user control will show up in your > project specific control I wont use anywhere else. Any help would be > appreciated toolbox.
VB.NET Datagrid with pictures
VB equivalent of this C# code Why no patch for the anoying Visual Basic compiler problem What framework is running in this scenario? Not CLS-compliant warning... Pause and Stop Search Help System .chm linking problem Help understanding user created Delegates Arrow on a button control Cointains: ??? files, ??? folders |
|||||||||||||||||||||||