Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Windows Forms / Design Time / January 2006

Tip: Looking for answers? Try searching our database.

Design time ability of Inherited Form in VS2005 (Final Release)

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Binoy Patel - 12 Dec 2005 09:33 GMT
Hi there,

I still not understand this behaviour of VS2005 Windows Forms Designer. It
is a normal practice that we create a base form and then master form and
then final form. I mean let say I create BaseForm.cs which is my base form
(just derived form System.Windows.Forms) then I create MasterForm in wich I
put toolbar and datagridview control (with public modifiers). And then I
finally create EmployForm.cs in which I add few more things and fetch
dataset and show it in datagridview control. These works absolutely fine in
VS2003 at design time and runtime but with VS2005 I cannot do this at design
time. When I click on dataviewgrid control in final form (employeform.cs),
all properties turn in gray and read-only. WHY WHY WHY????

Same thing If I want to add few more buttons in my menuStrip control, I
cannot do it in final form which is derived from my master form.

I reported this problem at Beta2 stage and Microsoft said that it requres
extensive engineering efforts and cannot be accomplished in this release
(And I thought Microsoft will solve in the final release but still not
there)

I checked with few other vendors (like DevExpress), and they have now
released their latest components so that I can use them in derived forms (I
am using XtraGrid now in my derived forms and it just working fine at design
time!).

Is there any work around to solve the problem???

Thanks,
Binoy
Frank Fang - 20 Dec 2005 23:57 GMT
Binoy,
Have you tried to rebuild the project before doing things from the Inherited
Forms?
Frank
Miha Markic [MVP C#] - 06 Jan 2006 19:53 GMT
This is by design - go figure. I can't understand the MS' decision either.
http://cs.rthand.com/blogs/blog_with_righthand/archive/2005/11/10/186.aspx
At least the fine folks at DevExpress made a workaround - their stuff works
as usual in visual inheritance scenario.

Signature

Miha Markic [MVP C#]
RightHand .NET consulting & development www.rthand.com
Blog: http://cs.rthand.com/blogs/blog_with_righthand/

> Hi there,
>
[quoted text clipped - 27 lines]
> Thanks,
> Binoy

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.