Click here to Skip to main content
15,917,862 members
Home / Discussions / C#
   

C#

 
QuestionGetting Error when using System.Timers.Timer Pin
Satish - Developer21-Nov-07 0:14
Satish - Developer21-Nov-07 0:14 
AnswerRe: Getting Error when using System.Timers.Timer Pin
Andrei Ungureanu21-Nov-07 0:22
Andrei Ungureanu21-Nov-07 0:22 
GeneralRe: Getting Error when using System.Timers.Timer [modified] Pin
Satish - Developer21-Nov-07 0:27
Satish - Developer21-Nov-07 0:27 
AnswerRe: Getting Error when using System.Timers.Timer Pin
Rob Philpott21-Nov-07 0:29
Rob Philpott21-Nov-07 0:29 
GeneralRe: Getting Error when using System.Timers.Timer Pin
Satish - Developer21-Nov-07 0:33
Satish - Developer21-Nov-07 0:33 
QuestionProblem sending email to Lotus iNote Pin
Jedidah20-Nov-07 23:53
Jedidah20-Nov-07 23:53 
QuestionAccessing Control.Focused property from Thread Pin
Sukhjinder_K20-Nov-07 23:36
Sukhjinder_K20-Nov-07 23:36 
AnswerRe: Accessing Control.Focused property from Thread [modified] Pin
Martin#20-Nov-07 23:44
Martin#20-Nov-07 23:44 
Hello,

You don't need the else statement in your method.
If invoke is called the code after that will not been worked threw.
Set a breakpoint at the first line of the method and Debug it to see it better.

Your method could look like that:
bool listFocused()
{
    if(this.list.InvokeRequired)
    {
        ListFocusCallBack d = new ListFocusCallBack(listFocused);
        this.list.Invoke(d, new object[] {});
    }
    return this.list.Focused;
}



-- modified at 8:07 Wednesday 21st November, 2007
Wrong Information Sorry

All the best,

Martin

GeneralRe: Accessing Control.Focused property from Thread Pin
Stevo Z21-Nov-07 0:28
Stevo Z21-Nov-07 0:28 
GeneralRe: Accessing Control.Focused property from Thread [modified] Pin
Martin#21-Nov-07 0:41
Martin#21-Nov-07 0:41 
GeneralRe: Accessing Control.Focused property from Thread Pin
Stevo Z21-Nov-07 1:29
Stevo Z21-Nov-07 1:29 
GeneralThank you! Pin
Martin#21-Nov-07 1:59
Martin#21-Nov-07 1:59 
GeneralRe: Thank you! Pin
Stevo Z21-Nov-07 2:10
Stevo Z21-Nov-07 2:10 
GeneralThanks Everybody Pin
Sukhjinder_K23-Nov-07 5:33
Sukhjinder_K23-Nov-07 5:33 
Questionit send data to tcp/ip port number, ex 8080, now i want to write socket program to read data from that port. Any body help me? How can i do that? Pin
sivaramireddy p20-Nov-07 23:21
sivaramireddy p20-Nov-07 23:21 
GeneralPlease stay away of this forum! Pin
Martin#20-Nov-07 23:26
Martin#20-Nov-07 23:26 
GeneralRe: Please stay away of this forum! Pin
Bekjong20-Nov-07 23:52
Bekjong20-Nov-07 23:52 
AnswerRe: it send data to tcp/ip port number, ex 8080, now i want to write socket program to read data from that port. Any body help me? How can i do that? Pin
Andrei Ungureanu20-Nov-07 23:50
Andrei Ungureanu20-Nov-07 23:50 
AnswerRe: it send data to tcp/ip port number, ex 8080, now i want to write socket program to read data from that port. Any body help me? How can i do that? Pin
Andrei Ungureanu21-Nov-07 0:03
Andrei Ungureanu21-Nov-07 0:03 
AnswerRe: it send data to tcp/ip port number, ex 8080, now i want to write socket program to read data from that port. Any body help me? How can i do that? Pin
Pete O'Hanlon21-Nov-07 0:04
mvePete O'Hanlon21-Nov-07 0:04 
GeneralRe: it send data to tcp/ip port number, ex 8080, now i want to write socket program to read data from that port. Any body help me? How can i do that? Pin
Andrei Ungureanu21-Nov-07 0:06
Andrei Ungureanu21-Nov-07 0:06 
GeneralHow to cook fries. Urgent. Plz Help. Pin
Malcolm Smart21-Nov-07 1:10
Malcolm Smart21-Nov-07 1:10 
JokeRe: How to cook fries. Urgent. Plz Help. Pin
Pete O'Hanlon21-Nov-07 1:14
mvePete O'Hanlon21-Nov-07 1:14 
QuestionPInvoke in c# Pin
m@u20-Nov-07 22:43
m@u20-Nov-07 22:43 
AnswerRe: PInvoke in c# Pin
Malcolm Smart21-Nov-07 1:12
Malcolm Smart21-Nov-07 1:12 

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.