Click here to Skip to main content
15,898,588 members
Home / Discussions / C#
   

C#

 
Generalwell duh Pin
Ennis Ray Lynch, Jr.19-Jul-06 8:36
Ennis Ray Lynch, Jr.19-Jul-06 8:36 
GeneralRe: Huge file Pin
Super Lloyd19-Jul-06 13:36
Super Lloyd19-Jul-06 13:36 
QuestionA question about Asyn-communicating by using UdpClient of .NET. Pin
weiyuw19-Jul-06 5:19
weiyuw19-Jul-06 5:19 
QuestionDateTime picker control Pin
Balaj_C19-Jul-06 5:18
Balaj_C19-Jul-06 5:18 
AnswerRe: DateTime picker control Pin
Not Active19-Jul-06 5:49
mentorNot Active19-Jul-06 5:49 
GeneralRe: DateTime picker control Pin
Balaj_C19-Jul-06 6:14
Balaj_C19-Jul-06 6:14 
QuestionProblems with Interop and Excel versions Pin
Gavin_RTE19-Jul-06 5:11
Gavin_RTE19-Jul-06 5:11 
QuestionTimers not working Pin
donkaiser19-Jul-06 4:42
donkaiser19-Jul-06 4:42 
Hello, I have setup a timer to simulate cursor blinking. My program has multiple threads. the thing is that my timer went off but it never calls the function delegate to the Tick events.
Do you what is reason? why the tick event nevers calls the function to do my blinking?

private System.Windows.Forms.Timer timer = new System.Windows.Forms.Timer();

timer.Tick += new EventHandler(BlinkMode);
timer.Interval = 150;
timer.Enabled = true;

//=============================================================
// timer tick handler
//=============================================================
private void BlinkMode(Object obj, EventArgs ea)
{
if (!BlinkCursor)
{
if (curX < 19) // Don't show the cursor if it's at the end of the line
{
DrawChar('_', curX, curY); // Draw an underscore char at the current coordinate
BlinkCursor = true;
}
}

else
{
DrawChar(HiddenChar, curX, curY);
BlinkCursor = false;
}
}

Donkaiser
AnswerRe: Timers not working Pin
stancrm19-Jul-06 4:55
stancrm19-Jul-06 4:55 
GeneralRe: Timers not working Pin
Martin#19-Jul-06 4:56
Martin#19-Jul-06 4:56 
AnswerRe: Timers not working Pin
Martin#19-Jul-06 4:55
Martin#19-Jul-06 4:55 
AnswerRe: Timers not working Pin
stancrm19-Jul-06 7:11
stancrm19-Jul-06 7:11 
GeneralRe: Timers not working Pin
donkaiser19-Jul-06 5:16
donkaiser19-Jul-06 5:16 
GeneralRe: Timers not working Pin
donkaiser19-Jul-06 8:35
donkaiser19-Jul-06 8:35 
GeneralRe: Timers not working Pin
Martin#19-Jul-06 5:20
Martin#19-Jul-06 5:20 
QuestionRe: Timers not working Pin
Martin#19-Jul-06 23:15
Martin#19-Jul-06 23:15 
AnswerRe: Timers not working Pin
donkaiser20-Jul-06 4:27
donkaiser20-Jul-06 4:27 
QuestionHow to use Layer with Windows Forms in C# IDE 2005 ? Pin
Yanshof19-Jul-06 4:39
Yanshof19-Jul-06 4:39 
AnswerRe: How to use Layer with Windows Forms in C# IDE 2005 ? Pin
AB777119-Jul-06 4:42
AB777119-Jul-06 4:42 
GeneralRe: How to use Layer with Windows Forms in C# IDE 2005 ? Pin
Yanshof19-Jul-06 18:39
Yanshof19-Jul-06 18:39 
AnswerRe: How to use Layer with Windows Forms in C# IDE 2005 ? Pin
Ravi Bhavnani19-Jul-06 5:23
professionalRavi Bhavnani19-Jul-06 5:23 
AnswerCan someone help me with this issue ? Pin
Yanshof19-Jul-06 20:39
Yanshof19-Jul-06 20:39 
QuestionDirectory Services Pin
wpcolleen19-Jul-06 3:56
wpcolleen19-Jul-06 3:56 
AnswerRe: Directory Services Pin
Martin#19-Jul-06 5:06
Martin#19-Jul-06 5:06 
QuestionSetting height and width property on Forms C# Pin
tjschilling19-Jul-06 3:44
tjschilling19-Jul-06 3:44 

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.