Click here to Skip to main content
15,893,337 members
Home / Discussions / C#
   

C#

 
GeneralRe: Enum problem in PropertyGrid Pin
Lev Danielyan16-Dec-08 20:14
Lev Danielyan16-Dec-08 20:14 
GeneralRe: Enum problem in PropertyGrid Pin
Xmen Real 16-Dec-08 20:18
professional Xmen Real 16-Dec-08 20:18 
GeneralRe: Enum problem in PropertyGrid Pin
Xmen Real 16-Dec-08 20:37
professional Xmen Real 16-Dec-08 20:37 
GeneralRe: Enum problem in PropertyGrid Pin
Lev Danielyan16-Dec-08 21:26
Lev Danielyan16-Dec-08 21:26 
GeneralRe: Enum problem in PropertyGrid Pin
Xmen Real 17-Dec-08 1:49
professional Xmen Real 17-Dec-08 1:49 
GeneralRe: Enum problem in PropertyGrid Pin
Lev Danielyan17-Dec-08 2:13
Lev Danielyan17-Dec-08 2:13 
GeneralRe: Enum problem in PropertyGrid Pin
Xmen Real 17-Dec-08 2:16
professional Xmen Real 17-Dec-08 2:16 
GeneralRe: Enum problem in PropertyGrid Pin
Lev Danielyan16-Dec-08 19:59
Lev Danielyan16-Dec-08 19:59 
Oops, sorry, my code was setting the initial choice also.
For example, for the following ABC class initialization:

propertyGrid1.SelectedObject = new ABC(new object[] {"0","1"});


and for following MYEnum enum:

enum MYEnum { 
        op1,
        op2
    }


I was getting op1 as initial selection in property grid

Regards,
Lev

QuestionProblem using Process.Start("notepad.exe") ... Process (notepad) is launched with no appearance of notepad! Pin
fulbright16-Dec-08 17:17
fulbright16-Dec-08 17:17 
AnswerRe: Problem using Process.Start("notepad.exe") ... Process (notepad) is launched with no appearance of notepad! Pin
Expert Coming16-Dec-08 17:22
Expert Coming16-Dec-08 17:22 
GeneralRe: Problem using Process.Start("notepad.exe") ... Process (notepad) is launched with no appearance of notepad! Pin
fulbright16-Dec-08 17:56
fulbright16-Dec-08 17:56 
AnswerRe: Problem using Process.Start("notepad.exe") ... Process (notepad) is launched with no appearance of notepad! Pin
Dave Kreskowiak16-Dec-08 17:34
mveDave Kreskowiak16-Dec-08 17:34 
GeneralRe: Problem using Process.Start("notepad.exe") ... Process (notepad) is launched with no appearance of notepad! Pin
fulbright16-Dec-08 18:06
fulbright16-Dec-08 18:06 
GeneralRe: Problem using Process.Start("notepad.exe") ... Process (notepad) is launched with no appearance of notepad! Pin
Dave Kreskowiak17-Dec-08 2:06
mveDave Kreskowiak17-Dec-08 2:06 
QuestionDetecting a USB drive arrival/removal, whose Drive Letter has been removed Pin
G. Myers16-Dec-08 11:19
G. Myers16-Dec-08 11:19 
QuestionClass inference Pin
DwR16-Dec-08 9:28
DwR16-Dec-08 9:28 
AnswerRe: Class inference Pin
Christian Graus16-Dec-08 10:00
protectorChristian Graus16-Dec-08 10:00 
AnswerRe: Class inference Pin
Wendelius16-Dec-08 11:47
mentorWendelius16-Dec-08 11:47 
AnswerRe: Class inference Pin
Chamadness16-Dec-08 20:53
Chamadness16-Dec-08 20:53 
QuestionProblem drawing shapes when form is clicked Pin
SilentCodingOne16-Dec-08 8:42
SilentCodingOne16-Dec-08 8:42 
AnswerRe: Problem drawing shapes when form is clicked Pin
Christian Graus16-Dec-08 8:51
protectorChristian Graus16-Dec-08 8:51 
GeneralRe: Problem drawing shapes when form is clicked Pin
SilentCodingOne16-Dec-08 10:28
SilentCodingOne16-Dec-08 10:28 
GeneralRe: Problem drawing shapes when form is clicked Pin
Christian Graus16-Dec-08 12:55
protectorChristian Graus16-Dec-08 12:55 
QuestionThread.Sleep and WebBrowser... Okay to use together? Pin
Matthew Klein16-Dec-08 8:36
Matthew Klein16-Dec-08 8:36 
AnswerRe: Thread.Sleep and WebBrowser... Okay to use together? Pin
Christian Graus16-Dec-08 8:52
protectorChristian Graus16-Dec-08 8:52 

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.