Click here to Skip to main content
15,900,461 members
Home / Discussions / C#
   

C#

 
GeneralRe: GPRS Emulator Pin
Dave Kreskowiak13-Jan-05 8:14
mveDave Kreskowiak13-Jan-05 8:14 
Generaldataadapter.update problem Pin
Member 152458813-Jan-05 5:25
Member 152458813-Jan-05 5:25 
GeneralUserControl problem Pin
Daniel Zaharia13-Jan-05 5:15
Daniel Zaharia13-Jan-05 5:15 
GeneralRe: UserControl problem Pin
MoustafaS15-Jan-05 2:59
MoustafaS15-Jan-05 2:59 
Generalcreating map file or dump file for c# project Pin
anurik13-Jan-05 4:16
anurik13-Jan-05 4:16 
GeneralRe: creating map file or dump file for c# project Pin
Colin Angus Mackay13-Jan-05 5:42
Colin Angus Mackay13-Jan-05 5:42 
GeneralRe: creating map file or dump file for c# project Pin
Dave Kreskowiak13-Jan-05 8:10
mveDave Kreskowiak13-Jan-05 8:10 
Generalproblem displaying a usercontrol Pin
bobrad13-Jan-05 3:39
bobrad13-Jan-05 3:39 
I have a problem i was hoping someone could help me.

I have a windows form and based on a menu selection i'll display a specific user control uc1 that has various information on it (like a calender with appts on it) when i press down on the mouse I want to present another user control uc2 (this is a custom drawn via gdi+) at a specific location. I set the uc2.Location as to where I want uc2 to appear. This is where my problem occurs. Wherever i press the mouse on uc1 it uc2 always appears at a location just above and left of the mouse based on the location where i press the mouse on uc1. also note when i press the mouse down uc2 initially briefy appears where i want it but than moves/appears just above and left of the mouse. I also dispose of uc2 when the mouseup event fires.

i also use the mousedown event to move uc2. this works fine (but with the location problem) and uc2 moves fine but starts from the location just above and left of the mouse not where i had set the position via uc2.Location.

note i also use uc2.visible=true and uc2.BringToFront()


Does anybody have any ideas?

As always - thanks in advance for your help

Bob d.
Generalemail Pin
Mohammad Daba'an13-Jan-05 3:31
Mohammad Daba'an13-Jan-05 3:31 
GeneralRe: email Pin
Mazdak13-Jan-05 3:37
Mazdak13-Jan-05 3:37 
GeneralRe: email Pin
Mohammad Daba'an13-Jan-05 3:45
Mohammad Daba'an13-Jan-05 3:45 
GeneralRe: email Pin
Mazdak13-Jan-05 4:05
Mazdak13-Jan-05 4:05 
GeneralRe: email Pin
Mohammad Daba'an16-Jan-05 2:38
Mohammad Daba'an16-Jan-05 2:38 
Generalfonts in an assembly Pin
fickdb13-Jan-05 3:01
fickdb13-Jan-05 3:01 
GeneralRe: fonts in an assembly Pin
leppie13-Jan-05 5:04
leppie13-Jan-05 5:04 
GeneralCapture keyboard input Pin
Begoña13-Jan-05 1:39
Begoña13-Jan-05 1:39 
GeneralRe: Capture keyboard input Pin
Mazdak13-Jan-05 1:48
Mazdak13-Jan-05 1:48 
GeneralRe: Capture keyboard input Pin
Begoña13-Jan-05 2:39
Begoña13-Jan-05 2:39 
GeneralRe: Capture keyboard input Pin
Mazdak13-Jan-05 3:27
Mazdak13-Jan-05 3:27 
GeneralSet focus on textbox using C# Pin
itssuk13-Jan-05 1:32
itssuk13-Jan-05 1:32 
GeneralRe: Set focus on textbox using C# Pin
Judah Gabriel Himango13-Jan-05 5:15
sponsorJudah Gabriel Himango13-Jan-05 5:15 
GeneralRe: Set focus on textbox using C# Pin
Salman Taseer`13-Jan-05 11:28
Salman Taseer`13-Jan-05 11:28 
Questioncan we serialize an array in .Net? Pin
APradosh13-Jan-05 1:16
APradosh13-Jan-05 1:16 
AnswerRe: can we serialize an array in .Net? Pin
turbochimp13-Jan-05 2:47
turbochimp13-Jan-05 2:47 
AnswerRe: can we serialize an array in .Net? Pin
Jesse Squire13-Jan-05 7:45
Jesse Squire13-Jan-05 7:45 

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.