This is a known and previously reported problem and promised to be fixed in the "NEXT" version of Visual Studio over and over again. What we need is all developers racking up to the issue I created at Microsoft Connect and start pushing the number of approvals high enough so the VS team can get off their ass and fix this things once and for all.
Come on guys, go to the issue and vote for it to be fixed and confirm that you can reproduce this bug.
I am trying to create an infrastructure library to be used by all my projects where one of the project in that library contains the base forms for different things like ViewBase, EditBase, SearchBase & DialogBase. They all are inherited from a Base form which contains a toolstrip control with 3 common buttons for OK, Close & About.
Now depending on the type of base form I would like to add few more buttons and controls on the toolstrip during the design time. For example the SearchBase would have a Search, Clear buttons and so forth and so on.
It it worth noting that I change the modifier of the toolstrip to Protected. None of the inherited form allows me to add a new button or anything on the toolstrip. So I made the modifier public and the same behaviour. All the properties of the toolstrip control are disabled. Why is this? This is kind of a show stopper as I can't rely on the standard controls provided and have to look for third party controls.
Steps to reproduce this.
Create a new blank solution
Add a new project of type class library
Delete the default Class1 file
Add a Windows Form named "FormBase"
Add a ToolStrip control on the form and set the modifier to "Protected"
Add a button and a label (Don't have to but this is for visual testing)
Compile the solution
Now add an Inherited Windows Form named "FormSearchBase" and inherit it from the "FormBase"
I have posted this to Microsoft Connect as a bug but if it gets more support and approval then there is a higher chance of it being fixed.
Hello,
There were some claims he was involved in the malware scene in Montréal in the 00's, but I don't think they were ever substantiated.
Regards,
Aryeh Goretsky
i had to pay 20. Only because my PS4 wouldn't transfer it to PS5. Then it would get to 24% when using the disc and fail. So, I bought the online version only.
Microsoft Edge comes pre-installed with Windows 11 and it's a great browser, so why not use it? Not everyone is trying to run away from Google, sometimes people just want convenience and less friction.
Question
wrack
Hi,
This is a known and previously reported problem and promised to be fixed in the "NEXT" version of Visual Studio over and over again. What we need is all developers racking up to the issue I created at Microsoft Connect and start pushing the number of approvals high enough so the VS team can get off their ass and fix this things once and for all.
Come on guys, go to the issue and vote for it to be fixed and confirm that you can reproduce this bug.
Microsoft Connect : http://connect.microsoft.com/VisualStudio/feedback/details/552017/visual-inheritance-of-a-toolstrip
I am trying to create an infrastructure library to be used by all my projects where one of the project in that library contains the base forms for different things like ViewBase, EditBase, SearchBase & DialogBase. They all are inherited from a Base form which contains a toolstrip control with 3 common buttons for OK, Close & About.
Now depending on the type of base form I would like to add few more buttons and controls on the toolstrip during the design time. For example the SearchBase would have a Search, Clear buttons and so forth and so on.
It it worth noting that I change the modifier of the toolstrip to Protected. None of the inherited form allows me to add a new button or anything on the toolstrip. So I made the modifier public and the same behaviour. All the properties of the toolstrip control are disabled. Why is this? This is kind of a show stopper as I can't rely on the standard controls provided and have to look for third party controls.
Steps to reproduce this.
Create a new blank solution
Add a new project of type class library
Delete the default Class1 file
Add a Windows Form named "FormBase"
Add a ToolStrip control on the form and set the modifier to "Protected"
Add a button and a label (Don't have to but this is for visual testing)
Compile the solution
Now add an Inherited Windows Form named "FormSearchBase" and inherit it from the "FormBase"
I have posted this to Microsoft Connect as a bug but if it gets more support and approval then there is a higher chance of it being fixed.
Cheers :)
Link to comment
https://www.neowin.net/forum/topic/893544-visual-inheritance-of-a-toolstrip/Share on other sites
3 answers to this question
Recommended Posts