Click here to Skip to main content
15,909,747 members
Home / Discussions / C#
   

C#

 
AnswerRe: How to reliably exit Outlook using Interop.Outlook? Pin
Gerry Schmitz31-Aug-20 4:50
mveGerry Schmitz31-Aug-20 4:50 
AnswerRe: How to reliably exit Outlook using Interop.Outlook? Pin
Dave Kreskowiak31-Aug-20 12:12
mveDave Kreskowiak31-Aug-20 12:12 
AnswerRe: How to reliably exit Outlook using Interop.Outlook? Pin
Mycroft Holmes31-Aug-20 12:15
professionalMycroft Holmes31-Aug-20 12:15 
Questionfind TIMES in string of text Pin
free-pizza30-Aug-20 13:52
free-pizza30-Aug-20 13:52 
AnswerRe: find TIMES in string of text Pin
Richard Andrew x6430-Aug-20 15:03
professionalRichard Andrew x6430-Aug-20 15:03 
GeneralRe: find TIMES in string of text Pin
free-pizza30-Aug-20 16:26
free-pizza30-Aug-20 16:26 
AnswerRe: find TIMES in string of text Pin
OriginalGriff30-Aug-20 19:47
mveOriginalGriff30-Aug-20 19:47 
JokeRe: find TIMES in string of text Pin
Peter_in_278030-Aug-20 19:59
professionalPeter_in_278030-Aug-20 19:59 
GeneralRe: find TIMES in string of text Pin
OriginalGriff30-Aug-20 20:08
mveOriginalGriff30-Aug-20 20:08 
GeneralRe: find TIMES in string of text Pin
OriginalGriff30-Aug-20 20:11
mveOriginalGriff30-Aug-20 20:11 
GeneralRe: find TIMES in string of text Pin
Peter_in_278030-Aug-20 20:43
professionalPeter_in_278030-Aug-20 20:43 
GeneralRe: find TIMES in string of text Pin
free-pizza31-Aug-20 3:52
free-pizza31-Aug-20 3:52 
GeneralRe: find TIMES in string of text Pin
OriginalGriff31-Aug-20 4:08
mveOriginalGriff31-Aug-20 4:08 
QuestionWinforms Inherited form - Resources Pin
MarkB12327-Aug-20 1:19
MarkB12327-Aug-20 1:19 
AnswerRe: Winforms Inherited form - Resources Pin
GenJerDan27-Aug-20 1:50
GenJerDan27-Aug-20 1:50 
GeneralRe: Winforms Inherited form - Resources Pin
MarkB12327-Aug-20 1:51
MarkB12327-Aug-20 1:51 
GeneralRe: Winforms Inherited form - Resources Pin
MarkB12327-Aug-20 2:41
MarkB12327-Aug-20 2:41 
AnswerRe: Winforms Inherited form - Resources Pin
OriginalGriff27-Aug-20 2:42
mveOriginalGriff27-Aug-20 2:42 
GeneralRe: Winforms Inherited form - Resources Pin
MarkB12327-Aug-20 2:48
MarkB12327-Aug-20 2:48 
GeneralRe: Winforms Inherited form - Resources Pin
OriginalGriff27-Aug-20 3:04
mveOriginalGriff27-Aug-20 3:04 
GeneralRe: Winforms Inherited form - Resources Pin
MarkB12327-Aug-20 3:53
MarkB12327-Aug-20 3:53 
Running across multiple assemblies.
I think I may have got to the bottom it. I created a brand new inherited form from the base form and it behaved correctly. On comparing the designer.cs code of the new form with one of my original (problematic) inherited forms, it looks like a load of extra code has been inserted into the code behind the designers.
For Example:

//
// bsiAdd
//
this.bsiAdd.ImageOptions.Image = ((System.Drawing.Image)(resources.GetObject("bsiAdd.ImageOptions.Image")));

This seems to have also pushed the images into the resx file. If I remove all the bits of code for about 50 menu items then remove the images manually from the resx file then the inheritance seems to work properly.
The only thing I can think of which might have caused this is I put a DevExpress SharedImageCollection onto my main window form and I'm thinking that the nature of this control has perhaps caused this.

Issue I have now is I have to apply my manual fix to several hundred forms!

modified 27-Aug-20 10:07am.

GeneralRe: Winforms Inherited form - Resources Pin
OriginalGriff27-Aug-20 4:22
mveOriginalGriff27-Aug-20 4:22 
GeneralRe: Winforms Inherited form - Resources Pin
MarkB12327-Aug-20 4:40
MarkB12327-Aug-20 4:40 
AnswerRe: Winforms Inherited form - Resources Pin
Mycroft Holmes27-Aug-20 12:09
professionalMycroft Holmes27-Aug-20 12:09 
GeneralRe: Winforms Inherited form - Resources Pin
MarkB12327-Aug-20 22:29
MarkB12327-Aug-20 22:29 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.