Click here to Skip to main content
11,640,297 members (61,099 online)
   

C#

 
GeneralRe: Save and Retrieve Image Pin
nirmalgopalakrishnan30-Dec-12 19:57
membernirmalgopalakrishnan30-Dec-12 19:57 
GeneralRe: Save and Retrieve Image Pin
Richard MacCutchan30-Dec-12 22:19
mvpRichard MacCutchan30-Dec-12 22:19 
GeneralRe: Save and Retrieve Image Pin
nirmalgopalakrishnan31-Dec-12 17:28
membernirmalgopalakrishnan31-Dec-12 17:28 
GeneralRe: Save and Retrieve Image Pin
Richard MacCutchan31-Dec-12 22:50
mvpRichard MacCutchan31-Dec-12 22:50 
AnswerRe: Save and Retrieve Image Pin
Abhinav S28-Dec-12 23:38
mvpAbhinav S28-Dec-12 23:38 
GeneralRe: Save and Retrieve Image Pin
nirmalgopalakrishnan29-Dec-12 5:16
membernirmalgopalakrishnan29-Dec-12 5:16 
QuestionDynamic text box array and focus event Pin
Everetts28-Dec-12 8:41
memberEveretts28-Dec-12 8:41 
AnswerRe: Dynamic text box array and focus event Pin
Eddy Vluggen28-Dec-12 10:25
memberEddy Vluggen28-Dec-12 10: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 14:33
memberbambuz28-Dec-12 14:33 
GeneralRe: Dynamic text box array and focus event Pin
Everetts28-Dec-12 16:41
memberEveretts28-Dec-12 16:41 
QuestionConnection String in Properties.Settings Pin
TheJudeDude28-Dec-12 7:47
memberTheJudeDude28-Dec-12 7:47 
AnswerRe: Connection String in Properties.Settings Pin
SledgeHammer0128-Dec-12 8:27
memberSledgeHammer0128-Dec-12 8:27 
AnswerRe: Connection String in Properties.Settings Pin
Eddy Vluggen28-Dec-12 8:30
memberEddy Vluggen28-Dec-12 8:30 
GeneralRe: Connection String in Properties.Settings Pin
TheJudeDude28-Dec-12 8:49
memberTheJudeDude28-Dec-12 8:49 
GeneralRe: Connection String in Properties.Settings Pin
Eddy Vluggen28-Dec-12 9:01
memberEddy Vluggen28-Dec-12 9:01 
GeneralRe: Connection String in Properties.Settings Pin
PIEBALDconsult28-Dec-12 14:04
memberPIEBALDconsult28-Dec-12 14:04 
GeneralRe: Connection String in Properties.Settings Pin
SledgeHammer0129-Dec-12 7:18
memberSledgeHammer0129-Dec-12 7:18 
GeneralRe: Connection String in Properties.Settings Pin
PIEBALDconsult29-Dec-12 7:23
memberPIEBALDconsult29-Dec-12 7:23 
GeneralRe: Connection String in Properties.Settings Pin
SledgeHammer0129-Dec-12 7:29
memberSledgeHammer0129-Dec-12 7:29 
GeneralRe: Connection String in Properties.Settings Pin
PIEBALDconsult29-Dec-12 7:43
memberPIEBALDconsult29-Dec-12 7:43 
GeneralRe: Connection String in Properties.Settings Pin
SledgeHammer0129-Dec-12 7:47
memberSledgeHammer0129-Dec-12 7:47 
GeneralRe: Connection String in Properties.Settings Pin
PIEBALDconsult29-Dec-12 7:51
memberPIEBALDconsult29-Dec-12 7:51 
GeneralRe: Connection String in Properties.Settings Pin
SledgeHammer0129-Dec-12 7:56
memberSledgeHammer0129-Dec-12 7:56 
GeneralRe: Connection String in Properties.Settings Pin
jschell30-Dec-12 8:33
memberjschell30-Dec-12 8:33 
GeneralRe: Connection String in Properties.Settings Pin
SledgeHammer0130-Dec-12 8:56
memberSledgeHammer0130-Dec-12 8:56 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    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 | Mobile
Web02 | 2.8.150731.1 | Last Updated 1 Aug 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid