Click here to Skip to main content
15,887,683 members
Home / Discussions / C#
   

C#

 
AnswerRe: Need Help | Increase .NET knowledge Pin
Nathan Minier30-Sep-16 1:16
professionalNathan Minier30-Sep-16 1:16 
PraiseRe: Need Help | Increase .NET knowledge Pin
Member 117967153-Oct-16 5:32
Member 117967153-Oct-16 5:32 
QuestionText speed control using text to speech winform c# application. Pin
Member 1229735329-Sep-16 2:20
Member 1229735329-Sep-16 2:20 
AnswerRe: Text speed control using text to speech winform c# application. Pin
Pete O'Hanlon29-Sep-16 2:45
mvePete O'Hanlon29-Sep-16 2:45 
GeneralRe: Text speed control using text to speech winform c# application. Pin
Member 1229735329-Sep-16 7:00
Member 1229735329-Sep-16 7:00 
GeneralRe: Text speed control using text to speech winform c# application. Pin
Pete O'Hanlon29-Sep-16 7:15
mvePete O'Hanlon29-Sep-16 7:15 
AnswerRe: Text speed control using text to speech winform c# application. Pin
Dave Kreskowiak29-Sep-16 2:49
mveDave Kreskowiak29-Sep-16 2:49 
QuestionCan I Convert list = new List<...> from Net 4.0 to Net 2.0 ? Pin
Member 245846728-Sep-16 15:25
Member 245846728-Sep-16 15:25 
I want to convert the code List<TestGridImage> list = new List<TestGridImage>() below from Net4.0 to .Net 2.0. Can you help me ?
C#
namespace ExampleConvertList
{
    public partial class Form1 : Form
    {
        private List<TestGridImage> list;

        public Form1()
        {
            InitializeComponent();

            // I want to convert code have got List...
                        list = new List<TestGridImage>()
                       {
                             new TestGridImage() { KeyIndex = 0, KeyIndexAlt = 2 },
                             new TestGridImage() { KeyIndex = 1, KeyIndexAlt = 0 },
                             new TestGridImage() { KeyIndex = 2, KeyIndexAlt = 1 }
                       };
                       this.gridControl1.DataSource = list;

        }
    }

    public class TestGridImage
    {
        private int keyIndex;

        private int keyIndexAlt;

        public int KeyIndex
        {
            get { return keyIndex; }
            set { keyIndex = value; }
        }

        public int KeyIndexAlt
        {
            get { return keyIndexAlt; }
            set { keyIndexAlt = value; }
        }
    }
}


modified 29-Sep-16 3:06am.

AnswerRe: Can I Convert list = new List<...> from Net 4.0 to Net 2.0 ? Pin
Pete O'Hanlon28-Sep-16 21:30
mvePete O'Hanlon28-Sep-16 21:30 
AnswerRe: Can I Convert list = new List<...> from Net 4.0 to Net 2.0 ? Pin
OriginalGriff28-Sep-16 21:44
mveOriginalGriff28-Sep-16 21:44 
AnswerRe: Can I Convert list = new List<...> from Net 4.0 to Net 2.0 ? Pin
Member 245846729-Sep-16 17:50
Member 245846729-Sep-16 17:50 
QuestionC# class library to use with Excel VBA Pin
BobbyStrain28-Sep-16 14:33
BobbyStrain28-Sep-16 14:33 
AnswerRe: C# class library to use with Excel VBA Pin
Peter_in_278028-Sep-16 16:15
professionalPeter_in_278028-Sep-16 16:15 
GeneralRe: C# class library to use with Excel VBA Pin
BobbyStrain29-Sep-16 17:44
BobbyStrain29-Sep-16 17:44 
GeneralRe: C# class library to use with Excel VBA Pin
Peter_in_278029-Sep-16 18:20
professionalPeter_in_278029-Sep-16 18:20 
GeneralRe: C# class library to use with Excel VBA Pin
BobbyStrain30-Sep-16 9:54
BobbyStrain30-Sep-16 9:54 
QuestionAI in c# Pin
Member 861393428-Sep-16 8:32
Member 861393428-Sep-16 8:32 
AnswerRe: AI in c# Pin
Dave Kreskowiak28-Sep-16 8:55
mveDave Kreskowiak28-Sep-16 8:55 
AnswerRe: AI in c# Pin
Pete O'Hanlon28-Sep-16 11:31
mvePete O'Hanlon28-Sep-16 11:31 
AnswerRe: AI in c# Pin
Gerry Schmitz28-Sep-16 13:20
mveGerry Schmitz28-Sep-16 13:20 
AnswerRe: AI in c# Pin
Abhinav S2-Oct-16 16:56
Abhinav S2-Oct-16 16:56 
QuestionHelp with "Invoke or BeginInvoke cannot be called on a control until the window handle has been created." Pin
turbosupramk328-Sep-16 6:28
turbosupramk328-Sep-16 6:28 
AnswerRe: Help with "Invoke or BeginInvoke cannot be called on a control until the window handle has been created." Pin
Richard Deeming28-Sep-16 7:23
mveRichard Deeming28-Sep-16 7:23 
GeneralRe: Help with "Invoke or BeginInvoke cannot be called on a control until the window handle has been created." Pin
turbosupramk328-Sep-16 7:27
turbosupramk328-Sep-16 7:27 
QuestionCreate PDF from iTextSharp in Unity3d for iOS Pin
Radiance Cosmedic Centre28-Sep-16 0:41
Radiance Cosmedic Centre28-Sep-16 0:41 

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.