Click here to Skip to main content
       

C#

 
GeneralRe: Save and Retrieve Image Pinmembernirmalgopalakrishnan29-Dec-12 6:15 
GeneralRe: Save and Retrieve Image PinmvpRichard MacCutchan29-Dec-12 6:57 
GeneralRe: Save and Retrieve Image Pinmembernirmalgopalakrishnan29-Dec-12 7:07 
GeneralRe: Save and Retrieve Image PinmvpRichard MacCutchan29-Dec-12 7:17 
AnswerRe: Save and Retrieve Image Pinmembernirmalgopalakrishnan29-Dec-12 20:14 
GeneralRe: Save and Retrieve Image PinmvpRichard MacCutchan29-Dec-12 22:22 
GeneralRe: Save and Retrieve Image Pinmembernirmalgopalakrishnan30-Dec-12 20:57 
GeneralRe: Save and Retrieve Image PinmvpRichard MacCutchan30-Dec-12 23:19 
GeneralRe: Save and Retrieve Image Pinmembernirmalgopalakrishnan31-Dec-12 18:28 
GeneralRe: Save and Retrieve Image PinmvpRichard MacCutchan31-Dec-12 23:50 
AnswerRe: Save and Retrieve Image PinmvpAbhinav S29-Dec-12 0:38 
GeneralRe: Save and Retrieve Image Pinmembernirmalgopalakrishnan29-Dec-12 6:16 
QuestionDynamic text box array and focus event PinmemberEveretts28-Dec-12 9:41 
AnswerRe: Dynamic text box array and focus event PinmemberEddy 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 Pinmemberbambuz28-Dec-12 15:33 
GeneralRe: Dynamic text box array and focus event PinmemberEveretts28-Dec-12 17:41 
QuestionConnection String in Properties.Settings PinmemberTheJudeDude28-Dec-12 8:47 
AnswerRe: Connection String in Properties.Settings PinmemberSledgeHammer0128-Dec-12 9:27 
AnswerRe: Connection String in Properties.Settings PinmemberEddy Vluggen28-Dec-12 9:30 
GeneralRe: Connection String in Properties.Settings PinmemberTheJudeDude28-Dec-12 9:49 
GeneralRe: Connection String in Properties.Settings PinmemberEddy Vluggen28-Dec-12 10:01 
GeneralRe: Connection String in Properties.Settings PinmemberPIEBALDconsult28-Dec-12 15:04 
GeneralRe: Connection String in Properties.Settings PinmemberSledgeHammer0129-Dec-12 8:18 
GeneralRe: Connection String in Properties.Settings PinmemberPIEBALDconsult29-Dec-12 8:23 
GeneralRe: Connection String in Properties.Settings PinmemberSledgeHammer0129-Dec-12 8:29 
GeneralRe: Connection String in Properties.Settings PinmemberPIEBALDconsult29-Dec-12 8:43 
GeneralRe: Connection String in Properties.Settings PinmemberSledgeHammer0129-Dec-12 8:47 
GeneralRe: Connection String in Properties.Settings PinmemberPIEBALDconsult29-Dec-12 8:51 
GeneralRe: Connection String in Properties.Settings PinmemberSledgeHammer0129-Dec-12 8:56 
GeneralRe: Connection String in Properties.Settings Pinmemberjschell30-Dec-12 9:33 
GeneralRe: Connection String in Properties.Settings PinmemberSledgeHammer0130-Dec-12 9:56 
GeneralRe: Connection String in Properties.Settings Pinmemberjschell31-Dec-12 10:00 
GeneralRe: Connection String in Properties.Settings PinmemberSledgeHammer0131-Dec-12 11:11 
GeneralRe: Connection String in Properties.Settings Pinmemberjschell1-Jan-13 7:58 
AnswerRe: Connection String in Properties.Settings PinmemberPIEBALDconsult28-Dec-12 15:32 
GeneralRe: Connection String in Properties.Settings PinmemberTheJudeDude28-Dec-12 16:47 
Questionbasic question close and collapse methods Pingroupmehdi.sabet28-Dec-12 4:22 
AnswerRe: basic question close and collapse methods PinmemberMarcus Kramer28-Dec-12 4:29 
GeneralRe: basic question close and collapse methods Pingroupmehdi.sabet28-Dec-12 4:42 
AnswerRe: basic question close and collapse methods PinmemberPIEBALDconsult28-Dec-12 4:33 
Questionset the parent form size according to child form in mdi form PinmemberArun kumar Gautam28-Dec-12 2:12 
AnswerRe: set the parent form size according to child form in mdi form PinmemberMatt U.28-Dec-12 5:16 
AnswerRe: set the parent form size according to child form in mdi form PinmemberEddy Vluggen28-Dec-12 10:04 
QuestionSelected rows in a gridview Pinmemberrakeshs31227-Dec-12 20:26 
AnswerRe: Selected rows in a gridview Pinmembervanikanc28-Dec-12 7:48 
GeneralRe: Selected rows in a gridview Pinmemberrakeshs31228-Dec-12 19:48 
AnswerRe: Selected rows in a gridview PinmvpAbhinav S29-Dec-12 0:39 
QuestionSliding an Image on another Image PinmemberShubhanshu Pathak27-Dec-12 19:09 
QuestionSerial Port Won't Send While Receiving PinmemberC-P-User-327-Dec-12 16:13 
AnswerRe: Serial Port Won't Send While Receiving PinmvpRichard MacCutchan27-Dec-12 22:45 

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.141220.1 | Last Updated 20 Dec 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid