I have tried to create a form in my project called BaseForm.
I put the scroll bars and the form and the pannel and i got it all working.
Then i compiled my application and went to create a new form using the
inherit from base form template.
i then selected the BaseForm from the list.
When the form then displays i get the following error i have passed below.
Does any one know where i am going wrong?
Should i be developing my base form in a seporat application?
The designer could not be shown for this file because none of the
classes within it can be designed. The designer inspected the following
classes in the file: Form1 --- The base class 'SquareForm.Bas eForm' could
not be loaded. Ensure the assembly has been referenced and that all projects
have been built.
Hide
at
System.Componen tModel.Design.S erialization.Co deDomDesignerLo ader.EnsureDocu ment(IDesignerS erializationMan ager
manager)
at
System.Componen tModel.Design.S erialization.Co deDomDesignerLo ader.PerformLoa d(IDesignerSeri alizationManage r
manager)
at
Microsoft.Visua lStudio.Design. Serialization.C odeDom.VSCodeDo mDesignerLoader .PerformLoad(ID esignerSerializ ationManager
serializationMa nager)
at
Microsoft.Visua lStudio.Design. Serialization.C odeDom.VSCodeDo mDesignerLoader .DeferredLoadHa ndler.Microsoft .VisualStudio.T extManager.Inte rop.IVsTextBuff erDataEvents.On LoadCompleted(I nt32
fReload)
Thnaks
ink
"iKiLL" <iK***@NotMyEma il.comwrote in message
news:eN******** ******@TK2MSFTN GP02.phx.gbl...
This is exactly what i was hoping i could do.
but i am not sure i know how. I have been trying using the information at
this web site.
http://samples.gotdotnet.com/quickst...scrolling.aspx
To create the control.
Any sugestions?
Thanks
ink
"<ctacke/>" <ctacke[@]opennetcf[dot]comwrote in message
news:OK******** ******@TK2MSFTN GP05.phx.gbl...
>Why not just use a base form with the panel and SIP (and any other common
items) and derive all other Forms from that? Inheritance. Learn it.
Live it. Love it.
--
Chris Tacke - Embedded MVP
OpenNETCF Consulting
Managed Code in the Embedded World
www.opennetcf.com
--
"iKiLL" <iK***@NotMyEma il.comwrote in message
news:ug******* *******@TK2MSFT NGP04.phx.gbl.. .
>>Hi All
I am Developing in C# with VS2005. I am Developing a Windows Mobile
Forms Application with the CF2
My problem is that when the Input panel is displayed my screen does not
scroll.
I have found some code using an Panel and a scroll bar that will make
the screen scroll when necessary.
What I would like to know is how hard would it be to create an Windows
control for the CF that I can just stick on my form so that I don't have
to keep copping and pasting the code and the controls and laying them
out all the time.
And If any one has already done this some advice would be welcome.
Thanks
ink