Click here to Skip to main content
15,886,519 members
Home / Discussions / C#
   

C#

 
QuestionSensing data entry Pin
mbangh18-Feb-10 4:18
mbangh18-Feb-10 4:18 
AnswerRe: Sensing data entry Pin
Nicholas Butler18-Feb-10 4:25
sitebuilderNicholas Butler18-Feb-10 4:25 
GeneralRe: Sensing data entry Pin
mbangh18-Feb-10 4:27
mbangh18-Feb-10 4:27 
GeneralRe: Sensing data entry Pin
Nicholas Butler18-Feb-10 5:33
sitebuilderNicholas Butler18-Feb-10 5:33 
AnswerRe: Sensing data entry Pin
Ennis Ray Lynch, Jr.18-Feb-10 5:43
Ennis Ray Lynch, Jr.18-Feb-10 5:43 
QuestionProblems with Exchange WebService API Pin
DotNetCoderJunior18-Feb-10 3:34
DotNetCoderJunior18-Feb-10 3:34 
AnswerRe: Problems with Exchange WebService API Pin
DotNetCoderJunior21-Feb-10 22:07
DotNetCoderJunior21-Feb-10 22:07 
QuestionProblems showing another form when user activates the main form Pin
TheFoZ18-Feb-10 3:32
TheFoZ18-Feb-10 3:32 
Hi
I have a dialog form that has validation in it. If things are invalid, another window appears with the list of errors that they can double click on and be taken to the point of the error.

What I would like to do is not have this error window appear in the taskbar and have the window appear when the main dialog regains focus.

I've looked arround and tried this

private void Form1_Activated(object sender, EventArgs e)
{
    if (newErrorForm != null)
    {
        newErrorForm.BringToFront();
        this.Focus();
    }
}


but this causes the error window to always have focus even though I'm shifting it back to the main form. Is there a way to achieve this?

Many Thanks
The FoZ

AnswerRe: Problems showing another form when user activates the main form Pin
1.21 Gigawatts18-Feb-10 3:39
1.21 Gigawatts18-Feb-10 3:39 
GeneralRe: Problems showing another form when user activates the main form Pin
TheFoZ18-Feb-10 3:42
TheFoZ18-Feb-10 3:42 
QuestionFile I/O - New Line Character Pin
1.21 Gigawatts18-Feb-10 2:45
1.21 Gigawatts18-Feb-10 2:45 
AnswerRe: File I/O - New Line Character Pin
Luc Pattyn18-Feb-10 2:58
sitebuilderLuc Pattyn18-Feb-10 2:58 
GeneralRe: File I/O - New Line Character Pin
1.21 Gigawatts18-Feb-10 3:07
1.21 Gigawatts18-Feb-10 3:07 
GeneralRe: File I/O - New Line Character Pin
Luc Pattyn18-Feb-10 3:12
sitebuilderLuc Pattyn18-Feb-10 3:12 
GeneralRe: File I/O - New Line Character Pin
1.21 Gigawatts18-Feb-10 3:16
1.21 Gigawatts18-Feb-10 3:16 
GeneralRe: File I/O - New Line Character Pin
Luc Pattyn18-Feb-10 3:28
sitebuilderLuc Pattyn18-Feb-10 3:28 
GeneralRe: File I/O - New Line Character Pin
1.21 Gigawatts18-Feb-10 3:31
1.21 Gigawatts18-Feb-10 3:31 
AnswerRe: File I/O - New Line Character Pin
Luc Pattyn18-Feb-10 3:38
sitebuilderLuc Pattyn18-Feb-10 3:38 
GeneralRe: File I/O - New Line Character Pin
1.21 Gigawatts18-Feb-10 3:40
1.21 Gigawatts18-Feb-10 3:40 
GeneralRe: File I/O - New Line Character Pin
harold aptroot18-Feb-10 3:42
harold aptroot18-Feb-10 3:42 
GeneralRe: File I/O - New Line Character Pin
ragnaroknrol18-Feb-10 3:46
ragnaroknrol18-Feb-10 3:46 
GeneralRe: File I/O - New Line Character Pin
1.21 Gigawatts18-Feb-10 3:49
1.21 Gigawatts18-Feb-10 3:49 
GeneralRe: File I/O - New Line Character Pin
ragnaroknrol18-Feb-10 4:08
ragnaroknrol18-Feb-10 4:08 
AnswerRe: File I/O - New Line Character Pin
Gideon Engelberth18-Feb-10 16:08
Gideon Engelberth18-Feb-10 16:08 
GeneralRe: File I/O - New Line Character Pin
1.21 Gigawatts18-Feb-10 21:37
1.21 Gigawatts18-Feb-10 21:37 

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.