Click here to Skip to main content
13,351,050 members (58,426 online)
   

C#

 
AnswerRe: Fill Combobox with Large amount of Data Pin
OriginalGriff29-Dec-12 5:08
mvpOriginalGriff29-Dec-12 5:08 
GeneralRe: Fill Combobox with Large amount of Data Pin
Mohamed Nabawy30-Dec-12 0:56
memberMohamed Nabawy30-Dec-12 0:56 
AnswerRe: Fill Combobox with Large amount of Data Pin
SledgeHammer0129-Dec-12 9:02
memberSledgeHammer0129-Dec-12 9:02 
GeneralRe: Fill Combobox with Large amount of Data Pin
Mohamed Nabawy30-Dec-12 0:56
memberMohamed Nabawy30-Dec-12 0:56 
QuestionAuthentication using HTTPWebRequest Pin
logicon29-Dec-12 2:14
memberlogicon29-Dec-12 2:14 
AnswerRe: Authentication using HTTPWebRequest Pin
SledgeHammer0129-Dec-12 10:31
memberSledgeHammer0129-Dec-12 10:31 
QuestionDynamic text box array and focus event Pin
Everetts28-Dec-12 9:41
memberEveretts28-Dec-12 9:41 
AnswerRe: Dynamic text box array and focus event Pin
Eddy Vluggen28-Dec-12 11:25
memberEddy Vluggen28-Dec-12 11:25 
Add in a lambda, at the point where you create the textboxes. Like the example below;
public Form1()
{
    InitializeComponent();

    var tb = new TextBox();
    tb.GotFocus += delegate (object s, EventArgs a)
    {
        (s as TextBox).BackColor = Color.Red;
    };
    tb.LostFocus += delegate(object s, EventArgs a)
    {
        (s as TextBox).BackColor = Color.Green;
    };
    Controls.Add(tb);
}

Bastard Programmer from Hell Suspicious | :suss:
If you can't read my code, try converting it here[^]
They hate us for our freedom![^]

GeneralRe: Dynamic text box array and focus event Pin
bambuz28-Dec-12 15:33
memberbambuz28-Dec-12 15:33 
GeneralRe: Dynamic text box array and focus event Pin
Everetts28-Dec-12 17:41
memberEveretts28-Dec-12 17:41 
QuestionConnection String in Properties.Settings Pin
TheJudeDude28-Dec-12 8:47
memberTheJudeDude28-Dec-12 8:47 
AnswerRe: Connection String in Properties.Settings Pin
SledgeHammer0128-Dec-12 9:27
memberSledgeHammer0128-Dec-12 9:27 
AnswerRe: Connection String in Properties.Settings Pin
Eddy Vluggen28-Dec-12 9:30
memberEddy Vluggen28-Dec-12 9:30 
GeneralRe: Connection String in Properties.Settings Pin
TheJudeDude28-Dec-12 9:49
memberTheJudeDude28-Dec-12 9:49 
GeneralRe: Connection String in Properties.Settings Pin
Eddy Vluggen28-Dec-12 10:01
memberEddy Vluggen28-Dec-12 10:01 
GeneralRe: Connection String in Properties.Settings Pin
PIEBALDconsult28-Dec-12 15:04
memberPIEBALDconsult28-Dec-12 15:04 
GeneralRe: Connection String in Properties.Settings Pin
SledgeHammer0129-Dec-12 8:18
memberSledgeHammer0129-Dec-12 8:18 
GeneralRe: Connection String in Properties.Settings Pin
PIEBALDconsult29-Dec-12 8:23
memberPIEBALDconsult29-Dec-12 8:23 
GeneralRe: Connection String in Properties.Settings Pin
SledgeHammer0129-Dec-12 8:29
memberSledgeHammer0129-Dec-12 8:29 
GeneralRe: Connection String in Properties.Settings Pin
PIEBALDconsult29-Dec-12 8:43
memberPIEBALDconsult29-Dec-12 8:43 
GeneralRe: Connection String in Properties.Settings Pin
SledgeHammer0129-Dec-12 8:47
memberSledgeHammer0129-Dec-12 8:47 
GeneralRe: Connection String in Properties.Settings Pin
PIEBALDconsult29-Dec-12 8:51
memberPIEBALDconsult29-Dec-12 8:51 
GeneralRe: Connection String in Properties.Settings Pin
SledgeHammer0129-Dec-12 8:56
memberSledgeHammer0129-Dec-12 8:56 
GeneralRe: Connection String in Properties.Settings Pin
jschell30-Dec-12 9:33
memberjschell30-Dec-12 9:33 
GeneralRe: Connection String in Properties.Settings Pin
SledgeHammer0130-Dec-12 9:56
memberSledgeHammer0130-Dec-12 9:56 

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.


Advertise | Privacy |
Web01 | 2.8.180111.1 | Last Updated 19 Jan 2018
Copyright © CodeProject, 1999-2018
All Rights Reserved. Terms of Service
Layout: fixed | fluid