Click here to Skip to main content
16,012,028 members
Home / Discussions / C#
   

C#

 
AnswerRe: Create and remove controls dynamically ?????? Pin
kevinnicol26-Feb-10 7:36
kevinnicol26-Feb-10 7:36 
AnswerRe: Create and remove controls dynamically ?????? Pin
dan!sh 26-Feb-10 7:53
professional dan!sh 26-Feb-10 7:53 
Questiontext to excell Pin
michaelgr126-Feb-10 7:20
michaelgr126-Feb-10 7:20 
AnswerRe: text to excell Pin
dan!sh 26-Feb-10 7:26
professional dan!sh 26-Feb-10 7:26 
GeneralRe: text to excell Pin
michaelgr126-Feb-10 7:27
michaelgr126-Feb-10 7:27 
GeneralRe: text to excell Pin
dan!sh 26-Feb-10 7:35
professional dan!sh 26-Feb-10 7:35 
GeneralRe: text to excell Pin
michaelgr126-Feb-10 7:42
michaelgr126-Feb-10 7:42 
QuestionC# TableLayoutPanel MouseMove Too Much CPU Pin
ikurtz26-Feb-10 4:28
ikurtz26-Feb-10 4:28 
greetings. i have an issue with the following code. for some reason whenever it is executed it is consuming around 60% of the CPU. this is strange, and was wondering if you had any comments?

private void HomeTableLayoutPanel_MouseMove(object sender, MouseEventArgs e)
{

    PictureBox HomeCurrentPicBox = (PictureBox)(HomeTableLayoutPanel.GetChildAtPoint(e.Location));
    TableLayoutPanelCellPosition HomeCurrentPosition = new TableLayoutPanelCellPosition(-1, -1);

    if (HomeCurrentPicBox != null)
    {
        HomeCurrentPosition = HomeTableLayoutPanel.GetCellPosition(HomeCurrentPicBox);
        gameFormToolTip.SetToolTip(HomeTableLayoutPanel, GameModel.alphaCoords(HomeCurrentPosition.Column) + "," + HomeCurrentPosition.Row.ToString());
    }
}


thank you for your time.
AnswerRe: C# TableLayoutPanel MouseMove Too Much CPU Pin
Keith Barrow26-Feb-10 5:21
professionalKeith Barrow26-Feb-10 5:21 
AnswerRe: C# TableLayoutPanel MouseMove Too Much CPU Pin
Som Shekhar26-Feb-10 6:19
Som Shekhar26-Feb-10 6:19 
GeneralRe: C# TableLayoutPanel MouseMove Too Much CPU Pin
ikurtz26-Feb-10 6:23
ikurtz26-Feb-10 6:23 
GeneralRe: C# TableLayoutPanel MouseMove Too Much CPU Pin
Som Shekhar26-Feb-10 6:50
Som Shekhar26-Feb-10 6:50 
GeneralRe: C# TableLayoutPanel MouseMove Too Much CPU Pin
ikurtz26-Feb-10 6:56
ikurtz26-Feb-10 6:56 
GeneralRe: C# TableLayoutPanel MouseMove Too Much CPU Pin
ikurtz26-Feb-10 7:00
ikurtz26-Feb-10 7:00 
GeneralRe: C# TableLayoutPanel MouseMove Too Much CPU Pin
Som Shekhar26-Feb-10 7:01
Som Shekhar26-Feb-10 7:01 
QuestionDrawing onto a Windows Form without freezing it Pin
SimpleData26-Feb-10 4:06
SimpleData26-Feb-10 4:06 
AnswerRe: Drawing onto a Windows Form without freezing it Pin
Rob Philpott26-Feb-10 4:11
Rob Philpott26-Feb-10 4:11 
GeneralRe: Drawing onto a Windows Form without freezing it Pin
SimpleData26-Feb-10 4:18
SimpleData26-Feb-10 4:18 
AnswerRe: Drawing onto a Windows Form without freezing it Pin
Saksida Bojan26-Feb-10 4:15
Saksida Bojan26-Feb-10 4:15 
GeneralRe: Drawing onto a Windows Form without freezing it Pin
SimpleData26-Feb-10 4:24
SimpleData26-Feb-10 4:24 
GeneralRe: Drawing onto a Windows Form without freezing it Pin
Dan Mos26-Feb-10 4:34
Dan Mos26-Feb-10 4:34 
GeneralRe: Drawing onto a Windows Form without freezing it Pin
SimpleData26-Feb-10 4:40
SimpleData26-Feb-10 4:40 
GeneralRe: Drawing onto a Windows Form without freezing it Pin
Dan Mos26-Feb-10 4:47
Dan Mos26-Feb-10 4:47 
GeneralRe: Drawing onto a Windows Form without freezing it Pin
SimpleData26-Feb-10 4:54
SimpleData26-Feb-10 4:54 
GeneralRe: Drawing onto a Windows Form without freezing it Pin
Dan Mos26-Feb-10 5:02
Dan Mos26-Feb-10 5:02 

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.