Design Time issue of Windows Control?
-
I am developing windows application in .NET 1.1 using C#. I have developed a custom control for text editing in my application. Whenever i drop that control from toolbox to the form, it does not show the control on form on design time. When I run thaat form, it works pretty fine and it shows that control at run time. But at design time, the Visual Studio is not showing the control. What is the Problem that the control is not shoiwn at design time?
Thanks, Sandeep S. Sekhon
-
I am developing windows application in .NET 1.1 using C#. I have developed a custom control for text editing in my application. Whenever i drop that control from toolbox to the form, it does not show the control on form on design time. When I run thaat form, it works pretty fine and it shows that control at run time. But at design time, the Visual Studio is not showing the control. What is the Problem that the control is not shoiwn at design time?
Thanks, Sandeep S. Sekhon
If you have something in the design of the control that you do with some variable code then this occurs. For example you may be showing something that the control can only reach when the executable just runs. Something which can only have an appropriate value in runtime etc. Look for such things. You most probably have some code in control's initialize method.
-
If you have something in the design of the control that you do with some variable code then this occurs. For example you may be showing something that the control can only reach when the executable just runs. Something which can only have an appropriate value in runtime etc. Look for such things. You most probably have some code in control's initialize method.
But running the application for one time, I closed the Visual Studio. I again opened that same application, but this time the control was shown on the form.
Thanks, Sandeep S. Sekhon