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

C#

 
QuestionHelp to solve: index was out of range must be nonnegative and less than the size of the collection in c# Pin
EADever12-Jun-14 0:55
EADever12-Jun-14 0:55 
AnswerRe: Help to solve: index was out of range must be nonnegative and less than the size of the collection in c# Pin
OriginalGriff12-Jun-14 1:12
mveOriginalGriff12-Jun-14 1:12 
GeneralRe: Help to solve: index was out of range must be nonnegative and less than the size of the collection in c# Pin
EADever12-Jun-14 1:38
EADever12-Jun-14 1:38 
GeneralRe: Help to solve: index was out of range must be nonnegative and less than the size of the collection in c# Pin
OriginalGriff12-Jun-14 1:44
mveOriginalGriff12-Jun-14 1:44 
GeneralRe: Help to solve: index was out of range must be nonnegative and less than the size of the collection in c# Pin
EADever12-Jun-14 1:43
EADever12-Jun-14 1:43 
GeneralRe: Help to solve: index was out of range must be nonnegative and less than the size of the collection in c# Pin
OriginalGriff12-Jun-14 1:44
mveOriginalGriff12-Jun-14 1:44 
QuestionPropertyGrid - List rows in a file in a GridITem Pin
Mc_Topaz12-Jun-14 0:07
Mc_Topaz12-Jun-14 0:07 
AnswerRe: PropertyGrid - List rows in a file in a GridITem Pin
Eddy Vluggen12-Jun-14 0:35
professionalEddy Vluggen12-Jun-14 0:35 
A (custom?) UITypeEdit would help;
C#
class PhysicalUnit
{
    int value;
    string units;    
 
    public int Value
    {
        get { return value; }
        set { this.value = value; }
    }
 
    [Editor(typeof(MultilineStringEditor), typeof(UITypeEditor))]
    public string Units
    {
        get { return units; }
        set { units = value; }
    }
}
I don't think you want a mulilinestring editor, but if you split the string on the linebreaks you'll have a string[]. There's a colourfull example here[^].
Bastard Programmer from Hell Suspicious | :suss:
If you can't read my code, try converting it here[^]

QuestionRe: PropertyGrid - List rows in a file in a GridITem Pin
Mc_Topaz12-Jun-14 1:05
Mc_Topaz12-Jun-14 1:05 
GeneralRe: PropertyGrid - List rows in a file in a GridITem Pin
Eddy Vluggen12-Jun-14 3:00
professionalEddy Vluggen12-Jun-14 3:00 
GeneralRe: PropertyGrid - List rows in a file in a GridITem Pin
Mc_Topaz12-Jun-14 3:49
Mc_Topaz12-Jun-14 3:49 
GeneralRe: PropertyGrid - List rows in a file in a GridITem Pin
Mc_Topaz12-Jun-14 3:58
Mc_Topaz12-Jun-14 3:58 
Answer[Solved] Re: PropertyGrid - List rows in a file in a GridITem Pin
Mc_Topaz12-Jun-14 4:17
Mc_Topaz12-Jun-14 4:17 
GeneralRe: [Solved] Re: PropertyGrid - List rows in a file in a GridITem Pin
Eddy Vluggen12-Jun-14 5:24
professionalEddy Vluggen12-Jun-14 5:24 
Question(Nishant)plz solve this issue Pin
Nishant.Chauhan8011-Jun-14 21:58
Nishant.Chauhan8011-Jun-14 21:58 
AnswerRe: (Nishant)plz solve this issue Pin
Pete O'Hanlon11-Jun-14 22:19
mvePete O'Hanlon11-Jun-14 22:19 
GeneralRe: (Nishant)plz solve this issue Pin
Nishant.Chauhan8011-Jun-14 23:00
Nishant.Chauhan8011-Jun-14 23:00 
AnswerRe: (Nishant)plz solve this issue Pin
OriginalGriff11-Jun-14 22:39
mveOriginalGriff11-Jun-14 22:39 
GeneralRe: (Nishant)plz solve this issue Pin
Nishant.Chauhan8011-Jun-14 23:02
Nishant.Chauhan8011-Jun-14 23:02 
GeneralRe: (Nishant)plz solve this issue Pin
Pete O'Hanlon11-Jun-14 23:12
mvePete O'Hanlon11-Jun-14 23:12 
GeneralRe: (Nishant)plz solve this issue Pin
Nishant.Chauhan8011-Jun-14 23:21
Nishant.Chauhan8011-Jun-14 23:21 
GeneralRe: (Nishant)plz solve this issue Pin
OriginalGriff11-Jun-14 23:48
mveOriginalGriff11-Jun-14 23:48 
GeneralRe: (Nishant)plz solve this issue Pin
Nishant.Chauhan8011-Jun-14 23:54
Nishant.Chauhan8011-Jun-14 23:54 
GeneralRe:plz solve this issue Pin
Nishant.Chauhan8011-Jun-14 23:57
Nishant.Chauhan8011-Jun-14 23:57 
QuestionGetExternalLoginInfoAsync return null on server in google-plus auth in mvc5 Pin
aree21411-Jun-14 19:44
aree21411-Jun-14 19:44 

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.