Click here to Skip to main content
15,902,189 members
Home / Discussions / C#
   

C#

 
GeneralRe: All in one exe? Pin
nhqlbaislwfiikqraqnm24-Sep-09 8:59
nhqlbaislwfiikqraqnm24-Sep-09 8:59 
GeneralRe: All in one exe? Pin
PIEBALDconsult24-Sep-09 9:53
mvePIEBALDconsult24-Sep-09 9:53 
AnswerRe: All in one exe? Pin
Luc Pattyn24-Sep-09 9:58
sitebuilderLuc Pattyn24-Sep-09 9:58 
AnswerRe: All in one exe? Pin
Mirko198024-Sep-09 21:46
Mirko198024-Sep-09 21:46 
Questionhow to add costum control to custom control via designer. [modified] Pin
Natural_Demon24-Sep-09 8:10
Natural_Demon24-Sep-09 8:10 
AnswerRe: how to add costum control to custom control via designer. Pin
Henry Minute24-Sep-09 12:09
Henry Minute24-Sep-09 12:09 
GeneralRe: how to add costum control to custom control via designer. Pin
Natural_Demon25-Sep-09 1:16
Natural_Demon25-Sep-09 1:16 
GeneralRe: how to add costum control to custom control via designer. Pin
Henry Minute25-Sep-09 2:59
Henry Minute25-Sep-09 2:59 
Well, you are deriving your own class from MenuStrip, so you are in control of what happens in there. All you have to do is override any methods/events where a MenuItem is added/inserted/deleted. That is a lot of work, though.

Alternatively you can just create your own OwnerDraw_Test_3.cToolStripMenuItem(), as you are doing. What else you need to do will depend on whether you are only going to add them in code, or if you need design time support.

For design time support, look up the documentation for the ToolStripItemDesignerAvailability attribute. From there you should find links that will help you in designing the cToolStripMenuItem.

For code only implementation, it is surely only a matter of casting to cToolStripMenuItem wherever there is interaction with your control.

Sorry not to be more help, but my internet connection is playing up, and it takes about 5 mins to get a google search up at the moment, otherwise I would have given you more specific links. Smile | :)

Henry Minute

Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”

GeneralRe: how to add costum control to custom control via designer. Pin
Natural_Demon25-Sep-09 11:55
Natural_Demon25-Sep-09 11:55 
Questionhow to get "add web reference" option in windowsapplication.. Pin
priyareguri24-Sep-09 8:08
priyareguri24-Sep-09 8:08 
AnswerRe: how to get "add web reference" option in windowsapplication.. Pin
Manas Bhardwaj24-Sep-09 8:24
professionalManas Bhardwaj24-Sep-09 8:24 
GeneralRe: how to get "add web reference" option in windowsapplication.. Pin
.NET Source Code11-Apr-11 16:20
.NET Source Code11-Apr-11 16:20 
QuestionRe: how to get "add web reference" option in windowsapplication.. Pin
Arun190628-Sep-10 2:31
Arun190628-Sep-10 2:31 
AnswerRe: how to get "add web reference" option in windowsapplication.. Pin
Karthik. A28-Sep-10 5:39
Karthik. A28-Sep-10 5:39 
QuestionDataGridView combobox column problem Pin
TimWallace24-Sep-09 6:29
TimWallace24-Sep-09 6:29 
Answer[SOLVED] DataGridView combobox column problem Pin
TimWallace25-Sep-09 10:00
TimWallace25-Sep-09 10:00 
QuestionHow can make FullScreen and Top Form? Pin
hamid reza mansouri24-Sep-09 5:39
professionalhamid reza mansouri24-Sep-09 5:39 
AnswerRe: How can make FullScreen and Top Form? PinPopular
DaveyM6924-Sep-09 5:47
professionalDaveyM6924-Sep-09 5:47 
AnswerRe: How can make FullScreen and Top Form? Pin
musefan24-Sep-09 5:50
musefan24-Sep-09 5:50 
GeneralRe: How can make FullScreen and Top Form? Pin
EliottA24-Sep-09 6:58
EliottA24-Sep-09 6:58 
GeneralRe: How can make FullScreen and Top Form? Pin
Richard MacCutchan24-Sep-09 9:44
mveRichard MacCutchan24-Sep-09 9:44 
GeneralRe: How can make FullScreen and Top Form? Pin
musefan24-Sep-09 21:54
musefan24-Sep-09 21:54 
AnswerRe: How can make FullScreen and Top Form? Pin
Richard MacCutchan24-Sep-09 7:04
mveRichard MacCutchan24-Sep-09 7:04 
AnswerRe: How can make FullScreen and Top Form? Pin
PIEBALDconsult24-Sep-09 8:41
mvePIEBALDconsult24-Sep-09 8:41 
Questionownerdraw MenuStrip Adobe Cs4 lookalike, any voluntairs? Pin
Natural_Demon24-Sep-09 5:27
Natural_Demon24-Sep-09 5:27 

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.