Click here to Skip to main content
15,902,636 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
QuestionProcess::Start doesn't Pin
Phyxion15-Oct-07 10:43
Phyxion15-Oct-07 10:43 
AnswerRe: Process::Start doesn't Pin
Dave Kreskowiak15-Oct-07 12:27
mveDave Kreskowiak15-Oct-07 12:27 
QuestionSSL - I'm Desperate Now Pin
#realJSOP15-Oct-07 6:29
professional#realJSOP15-Oct-07 6:29 
AnswerRe: SSL - I'm Desperate Now Pin
led mike15-Oct-07 8:34
led mike15-Oct-07 8:34 
AnswerRe: SSL - I'm Desperate Now Pin
Mike Dimmick15-Oct-07 13:10
Mike Dimmick15-Oct-07 13:10 
GeneralRe: SSL - I'm Desperate Now Pin
#realJSOP16-Oct-07 6:08
professional#realJSOP16-Oct-07 6:08 
QuestionOverwrite default DLL settings Pin
Luka Grabarevic15-Oct-07 0:35
Luka Grabarevic15-Oct-07 0:35 
QuestionToolStripMenuItem.Owner vs ContextMenuStrip Pin
cybertone14-Oct-07 23:14
cybertone14-Oct-07 23:14 
Yesterday i've received an interesting "feature"(or bug?).
My form has context menu (ContextMenuStrip) with two levels:

menuItem_1
-> menuItem_1_1
-> menuItem_1_2
menuItem_2

every menu item has Click event handler:
<br />
void MenuItem_Click(object sender, EventArgs e)<br />
{<br />
   ToolStripMenuItem item = (ToolStripMenuItem)sender;<br />
   ContextMenuStrip menu = item.Owner as ContextMenuStrip;<br />
   MessageBox.Show(menu == null ? "false" : "true");<br />
}<br />

I've got:
menuItem_1 click => true
menuItem_1_1 click => false
menuItem_1_2 click => false
menuItem_2 click => true
So, ToolStripMenuItem's Owner on 2+ level is not a ContextMenuStrip!!! Eek! | :eek: Is it normal? I bet - not...
And how I can receive the reference to the ContextMenuStrip to which the 2+ level menu item belongs? Confused | :confused:
AnswerRe: ToolStripMenuItem.Owner vs ContextMenuStrip Pin
chaiguy133715-Oct-07 8:23
chaiguy133715-Oct-07 8:23 
GeneralRe: ToolStripMenuItem.Owner vs ContextMenuStrip Pin
cybertone15-Oct-07 14:01
cybertone15-Oct-07 14:01 
QuestionI used nant to build ASP .NET application Pin
balpanbh14-Oct-07 18:37
balpanbh14-Oct-07 18:37 
GeneralRe: I used nant to build ASP .NET application Pin
Paul Conrad31-Dec-07 9:27
professionalPaul Conrad31-Dec-07 9:27 
QuestionJavascript Question Pin
ryan1114-Oct-07 18:21
ryan1114-Oct-07 18:21 
AnswerRe: Javascript Question Pin
ryan1114-Oct-07 18:42
ryan1114-Oct-07 18:42 
AnswerRe: Javascript Question Pin
Pete O'Hanlon15-Oct-07 1:28
mvePete O'Hanlon15-Oct-07 1:28 
Questionquestion about ADO Disconnect mode Pin
meromake14-Oct-07 5:14
meromake14-Oct-07 5:14 
AnswerRe: question about ADO Disconnect mode Pin
pmarfleet14-Oct-07 10:32
pmarfleet14-Oct-07 10:32 
QuestionDrawing international (e.g. Chinese) characters Pin
chaiguy133713-Oct-07 18:49
chaiguy133713-Oct-07 18:49 
AnswerRe: Drawing international (e.g. Chinese) characters Pin
lmoelleb13-Oct-07 21:31
lmoelleb13-Oct-07 21:31 
GeneralRe: Drawing international (e.g. Chinese) characters Pin
chaiguy133714-Oct-07 6:19
chaiguy133714-Oct-07 6:19 
GeneralRe: Drawing international (e.g. Chinese) characters Pin
lmoelleb14-Oct-07 6:29
lmoelleb14-Oct-07 6:29 
GeneralRe: Drawing international (e.g. Chinese) characters Pin
chaiguy133714-Oct-07 8:25
chaiguy133714-Oct-07 8:25 
GeneralRe: Drawing international (e.g. Chinese) characters Pin
lmoelleb14-Oct-07 22:35
lmoelleb14-Oct-07 22:35 
GeneralRe: Drawing international (e.g. Chinese) characters Pin
chaiguy133715-Oct-07 5:50
chaiguy133715-Oct-07 5:50 
GeneralRe: Drawing international (e.g. Chinese) characters Pin
lmoelleb15-Oct-07 5:58
lmoelleb15-Oct-07 5:58 

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.