Thanks for that.
Chris
Thanks for that.
Chris
Thanks for that.
Chris
Thanks for that really helpful
Chris
yes somebody already said that
Chris
yes spotted that as i press post
Chris
thanks for that
Chris
Hi i'm new to Asp.net. What i want to do is add a put to the web page that when click on directs it to another page using c#. Is there a simple way to do this Thanks Chris
Chris
Hi i'm new to Asp.net. What i want to do is add a put to the web page that when click on directs it to another page using c#. Is there a simple way to do this Thanks Chris
Chris
ok Thanks in advance Chris
Chris
Yes thats what i'm trying to do. I have wrote a set of controls for an HMI. the idea is to remove as much of the need for code as possibel so that some of my fellow engineers can do simple changes to the screens. It would be really anoying if all controls did this but we just want the ones we have designed.
Chris
hi No i havent developed my own designer. Just that i want to be promted to input the controls name
Chris
Hi I have a libary with some user controls which are used on different projects. What i want to do is when one of these controls are place on a form, you have to set the controls name before its added to the project. Is this possible at all. Thanks Chris
Chris
kevinnicol I'm compiling it to a windows CE device. but even in visula studio the user controls are not visible
Chris
Hi Im developing a windows CE app. I have inherited user controls which i use as screens which i can switch between. All working fine. One thing i'd like to do is set the system clock on the CE device. To do this i need to do [DllImport("coredll.dll")]. When i do this i can no longer get access to the designer screen and get the following messgae <html><head><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8"><title></title><style>.ErrorStyle { font-family: tahoma; font-size: 11 pt; text-align: left}.DetailsStyle { font-family: tahoma; font-size: 10pt; text-align: left;text-indent: 0; word-spacing: 0; line-height: 100%; float: left; margin-top: 0; margin-bottom: 0}.StackStyleVisible { font-family: tahoma; font-size: 10pt; text-align: left; margin-left: 20; text-indent: 0}.StackStyleHidden { display:none; font-family: tahoma; font-size: 10pt; text-align: left; margin-left: 20; text-indent: 0}</style></head><body><DIV class="DetailsStyle" width="100%"><table border="0" width="100%" id="table1" height="100%" cellspacing="0" cellpadding="0"><tr><td height="40" bgcolor="#FF9999" width="8%" style="letter-spacing: 0" align="center"><img border="0" src="C:\Documents and Settings\Chris Clarke.PIPECOIL\Local Settings\Temp\13113A5.tmp" width="35" height="35" alt="ErrorImage" ></td><td height="40" bgcolor="#FF9999" width="91%" style="vertical-align: top; letter-spacing: 0" align="left"><b><font size="2" face="Arial" fontsize="70%">One or more errors encountered while loading the designer. The errors are listed below. Some errors can be fixed by rebuilding your project, while others may require code changes.</font><font size="2" face="Arial"></font></b></td></tr><tr><td colspan="2" align="left" valign="top"><DIV id="div1" class="ErrorStyle" width="100%"><span style="font-weight: 600"><br>The type 'Microsoft.CompactFramework.Design.UnsafeUserControl' has no property named 'Colour'. </span><br><a href="" id="details0">Hide</a><font color="#0000FF">  </font><a href="" id="task0">Edit</a><font color="#0000FF"></font></span></DIV> </td> </tr> <tr><td colspan="2" align="left" valign="top"><DIV id="div20" class="StackStyleVisible" width="100%"><br> at System.ComponentModel.Design.Serialization.CodeD
Hi Thanks for that. That could be very usefull but it only gives you access to standard windows form properties.
Chris
Hi TheFoz Yes I no this would be the easiest way but would require some code to be added the form everytime you used the control. What i was trying to do was have have enum on the main form. When the user control is droped on the form for it o read the enum and add it to a property of the user control. This way i could have multiple copies of the user control on the form and one of the properties of the user control would allow me to select from the forms enum.
Chris
Hi Tony Thanks for the help. The Parents propertiy it not something i have come accross before. Looking at a few points of the web and msdn. I've manged to get the name of the control that the user control is on but not access the properties.
Chris
Hi I've created a number of user controls to use on forms. What i need to do now is get a enum of variables from the form onto the user controls. I am trying to write the code in the user control that just looks for a Enum with a fixed name on the form. Any ideas? The problem i want to be able to reuse these controls on any form aslong as the Enum is there.
Chris