Click here to Skip to main content
15,891,253 members
Home / Discussions / C#
   

C#

 
QuestionHow to set an item in a object's property(of array type) using Reflection Pin
here2learn6-Oct-09 22:12
here2learn6-Oct-09 22:12 
AnswerRe: How to set an item in a object's property(of array type) using Reflection Pin
Nissim Salomon6-Oct-09 22:41
Nissim Salomon6-Oct-09 22:41 
GeneralRe: How to set an item in a object's property(of array type) using Reflection Pin
here2learn6-Oct-09 22:46
here2learn6-Oct-09 22:46 
AnswerRe: How to set an item in a object's property(of array type) using Reflection Pin
Mirko19806-Oct-09 23:47
Mirko19806-Oct-09 23:47 
GeneralRe: How to set an item in a object's property(of array type) using Reflection Pin
here2learn7-Oct-09 2:08
here2learn7-Oct-09 2:08 
GeneralRe: How to set an item in a object's property(of array type) using Reflection Pin
Mirko19807-Oct-09 2:48
Mirko19807-Oct-09 2:48 
QuestionHow to get item clicked event for ContextMenus Dropdown item clicked Pin
AhmedMasum6-Oct-09 21:50
AhmedMasum6-Oct-09 21:50 
AnswerRe: How to get item clicked event for ContextMenus Dropdown item clicked Pin
Saksida Bojan6-Oct-09 22:10
Saksida Bojan6-Oct-09 22:10 
1st.:
Don't add event on top level item

2nd:
Yust add event handler for each sub menu

ToolStripMenuItem subItem = new ToolStripMenuItem(CenterTables[i]);
subItem.Click += new System.EventHandler(subItem_Click);
firstItem.DropDownItems.Add(subItem);


Also there is no Select Event, but Click.

3rd: You can get item in Event Handelr

This code is in event handler and gets ToolStripMenuItem from Object that is passet into event handler. So every SubItem with a can use same event handler and can be distinguished betwen them

ToolStripMenuItem mnu = sender as ToolStripMenuItem;

GeneralRe: How to get item clicked event for ContextMenus Dropdown item clicked Pin
AhmedMasum7-Oct-09 2:07
AhmedMasum7-Oct-09 2:07 
QuestionQuery Exchange Server 2003 Question [modified] Pin
Programm3r6-Oct-09 20:16
Programm3r6-Oct-09 20:16 
QuestionRe: Query Exchange Server 2003 Question Pin
Programm3r6-Oct-09 21:46
Programm3r6-Oct-09 21:46 
AnswerRe: Query Exchange Server 2003 Question Pin
N a v a n e e t h6-Oct-09 22:23
N a v a n e e t h6-Oct-09 22:23 
GeneralRe: Query Exchange Server 2003 Question Pin
Programm3r6-Oct-09 22:50
Programm3r6-Oct-09 22:50 
QuestionRe: Query Exchange Server 2003 Question Pin
Programm3r6-Oct-09 23:46
Programm3r6-Oct-09 23:46 
AnswerRe: Query Exchange Server 2003 Question Pin
N a v a n e e t h7-Oct-09 5:04
N a v a n e e t h7-Oct-09 5:04 
QuestionErrorProvider SetError string constraint Pin
sysdeamon6-Oct-09 20:15
sysdeamon6-Oct-09 20:15 
AnswerRe: ErrorProvider SetError string constraint Pin
stancrm6-Oct-09 20:55
stancrm6-Oct-09 20:55 
AnswerRe: ErrorProvider SetError string constraint Pin
sysdeamon6-Oct-09 21:17
sysdeamon6-Oct-09 21:17 
QuestionMerge PDF Files Pin
Abdul Rahman Hamidy6-Oct-09 19:39
Abdul Rahman Hamidy6-Oct-09 19:39 
AnswerRe: Merge PDF Files Pin
stancrm6-Oct-09 20:54
stancrm6-Oct-09 20:54 
Questionhow to receive & delete mail in pop3 server Pin
fgfdhghgfd6-Oct-09 19:14
fgfdhghgfd6-Oct-09 19:14 
JokeRe: how to receive & delete mail in pop3 server Pin
Rajesh Anuhya6-Oct-09 19:34
professionalRajesh Anuhya6-Oct-09 19:34 
GeneralRe: how to receive & delete mail in pop3 server Pin
Muammar©6-Oct-09 22:38
Muammar©6-Oct-09 22:38 
AnswerRe: how to receive & delete mail in pop3 server Pin
Thomas Krojer6-Oct-09 20:07
Thomas Krojer6-Oct-09 20:07 
AnswerRe: how to receive & delete mail in pop3 server Pin
Christian Graus6-Oct-09 22:12
protectorChristian Graus6-Oct-09 22:12 

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.