Click here to Skip to main content
15,888,579 members
Home / Discussions / C#
   

C#

 
GeneralRe: GDI+ draw text in custom control question (is this the right approach?) Pin
Blubbo17-Nov-11 3:22
Blubbo17-Nov-11 3:22 
GeneralRe: GDI+ draw text in custom control question (is this the right approach?) Pin
Blubbo17-Nov-11 3:39
Blubbo17-Nov-11 3:39 
GeneralRe: GDI+ draw text in custom control question (is this the right approach?) Pin
Pete O'Hanlon17-Nov-11 4:02
mvePete O'Hanlon17-Nov-11 4:02 
AnswerRe: GDI+ draw text in custom control question (is this the right approach?) Pin
Luc Pattyn17-Nov-11 4:21
sitebuilderLuc Pattyn17-Nov-11 4:21 
QuestionHow to pass non-remotable objects through AddIn-Pipeline?! Pin
dreiundzwanzig16-Nov-11 23:12
dreiundzwanzig16-Nov-11 23:12 
AnswerRe: How to pass non-remotable objects through AddIn-Pipeline?! Pin
BobJanova17-Nov-11 23:41
BobJanova17-Nov-11 23:41 
General[closed] Re: How to pass non-remotable objects through AddIn-Pipeline?! Pin
dreiundzwanzig21-Nov-11 4:31
dreiundzwanzig21-Nov-11 4:31 
QuestionSpecify order in Type.GetMembers() Pin
AmitDey16-Nov-11 22:32
AmitDey16-Nov-11 22:32 
For the following, I want that I get the fields in a SPECIFIC order ( NOT necessarily in the order in which they are declared ).I am fine with adding some metadata to EACH field. How can I achieve this ?

Class A
{
public string a;
public string b;
public string c;
}

foreach(MemberInfo mi in A.GetType().GetMembers())
{
//Do Something
}

http://msdn.microsoft.com/en-us/library/424c79hc.aspx[^] Suggests that The GetMembers method does not return members in a particular order. But can I explicitly state the order ?
AnswerRe: Specify order in Type.GetMembers() Pin
Pete O'Hanlon16-Nov-11 22:47
mvePete O'Hanlon16-Nov-11 22:47 
GeneralRe: Specify order in Type.GetMembers() Pin
AmitDey16-Nov-11 22:51
AmitDey16-Nov-11 22:51 
GeneralRe: Specify order in Type.GetMembers() Pin
Pete O'Hanlon16-Nov-11 22:55
mvePete O'Hanlon16-Nov-11 22:55 
AnswerRe: Specify order in Type.GetMembers() Pin
BobJanova16-Nov-11 23:07
BobJanova16-Nov-11 23:07 
AnswerRe: Specify order in Type.GetMembers() Pin
BillWoodruff16-Nov-11 23:11
professionalBillWoodruff16-Nov-11 23:11 
QuestionRe: Specify order in Type.GetMembers() Pin
Rob Philpott17-Nov-11 1:23
Rob Philpott17-Nov-11 1:23 
Questionto develop web based helpdesk application (visual studio 2005) Pin
sk_ko16-Nov-11 21:28
sk_ko16-Nov-11 21:28 
AnswerRe: to develop web based helpdesk application (visual studio 2005) Pin
Richard MacCutchan16-Nov-11 21:47
mveRichard MacCutchan16-Nov-11 21:47 
GeneralRe: to develop web based helpdesk application (visual studio 2005) Pin
sk_ko16-Nov-11 22:10
sk_ko16-Nov-11 22:10 
GeneralRe: to develop web based helpdesk application (visual studio 2005) Pin
Pete O'Hanlon16-Nov-11 22:21
mvePete O'Hanlon16-Nov-11 22:21 
GeneralRe: to develop web based helpdesk application (visual studio 2005) Pin
sk_ko16-Nov-11 22:43
sk_ko16-Nov-11 22:43 
GeneralRe: to develop web based helpdesk application (visual studio 2005) Pin
Pete O'Hanlon16-Nov-11 22:52
mvePete O'Hanlon16-Nov-11 22:52 
GeneralRe: to develop web based helpdesk application (visual studio 2005) Pin
Richard MacCutchan16-Nov-11 23:28
mveRichard MacCutchan16-Nov-11 23:28 
QuestionExe Reading Pin
Member 814633716-Nov-11 17:18
Member 814633716-Nov-11 17:18 
AnswerRe: Exe Reading Pin
Richard Andrew x6416-Nov-11 17:22
professionalRichard Andrew x6416-Nov-11 17:22 
GeneralRe: Exe Reading Pin
Mycroft Holmes16-Nov-11 21:53
professionalMycroft Holmes16-Nov-11 21:53 
GeneralRe: Exe Reading Pin
Richard Andrew x6417-Nov-11 3:06
professionalRichard Andrew x6417-Nov-11 3:06 

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.