Re: Casting

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Analizer1 wrote:
Hi, I have 3 or so windows
they have 6 chkboxes ,
These Checkboxes Represent The Serial Port Signals,
CD,CTS,DSR,DTR,RTC,RI I dont want to write the same code , in 3 or 4
or more places .. ;



Make a UserControl.

Add the 6 checkboxes.

Add the code to go with them.

Drop that UserControl onto each of your Forms.


.



Relevant Pages

  • Re: Casting
    ... These Checkboxes Represent The Serial Port Signals, ... CD,CTS,DSR,DTR,RTC,RI I dont want to write the same code, in 3 or 4 ... Drop that UserControl onto each of your Forms. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Casting
    ... they have 6 chkboxes, ... These Checkboxes Represent The Serial Port Signals, CD,CTS,DSR,DTR,RTC,RI ... none of us mind answering your questions. ...
    (microsoft.public.dotnet.languages.csharp)
  • Tell me this isnt a bug. (Databinding inside of a datagrid)
    ... These checkboxes would not retain state. ... Create a usercontrol. ... (DataList1) ... To the item template, ...
    (microsoft.public.dotnet.framework)
  • Tell me this isnt a bug. (databinding inside a usercontrol...)
    ... These checkboxes would not retain state. ... Create a usercontrol. ... (DataList1) ... To the item template, ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Forms - not recieving all input information
    ... ....i actually got the text box to work (dont ask me how) ... select 2 or more checkboxes as my answer the results just ... >Have you made sure that both text boxes and the check ... >> html file ...
    (microsoft.public.frontpage.client)