Click here to Skip to main content
15,893,381 members
Home / Discussions / Windows Forms
   

Windows Forms

 
GeneralRe: How can I have multiple datasources in the same datagridview combo column Pin
Ger Hayden8-Dec-10 17:53
Ger Hayden8-Dec-10 17:53 
QuestionToolstripbutton not validating textbox. Pin
priyamtheone23-Nov-10 5:12
priyamtheone23-Nov-10 5:12 
AnswerRe: Toolstripbutton not validating textbox. Pin
RobCroll26-Nov-10 3:30
RobCroll26-Nov-10 3:30 
AnswerRe: Toolstripbutton not validating textbox. Pin
RaviRanjanKr18-Dec-10 20:50
professionalRaviRanjanKr18-Dec-10 20:50 
GeneralRe: Toolstripbutton not validating textbox. Pin
priyamtheone19-Dec-10 3:47
priyamtheone19-Dec-10 3:47 
GeneralRe: Toolstripbutton not validating textbox. Pin
phil.o19-Dec-10 21:15
professionalphil.o19-Dec-10 21:15 
QuestionProblems Dynamically Moving Controls On WinForm Pin
oracleConvert18-Nov-10 9:42
oracleConvert18-Nov-10 9:42 
AnswerRe: Problems Dynamically Moving Controls On WinForm Pin
Luc Pattyn18-Nov-10 10:02
sitebuilderLuc Pattyn18-Nov-10 10:02 
it ain't that simple. First of all, mouse events provide locations relative to the top lefthand corner of the control that reports the mouse actions, so any movement you want to accomplish needs at least to do the following:
finalLocation = originalLocation - mouseDownLocation + mouseUpLocation.


Furthermore, you have some functional shortcomings:
1.
you probably want to see the drag going on, which means you need MouseMove as well.
2.
when the mouse leaves the container, your container no longer gets mouse events, unless you have captured the mouse first.
3.
when you want context menus you need to process right-clicks; you then don't want to move the control I guess.

Smile | :)
Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles] Nil Volentibus Arduum
Please use <PRE> tags for code snippets, they preserve indentation, and improve readability.


GeneralRe: Problems Dynamically Moving Controls On WinForm Pin
oracleConvert19-Nov-10 4:25
oracleConvert19-Nov-10 4:25 
AnswerRe: Problems Dynamically Moving Controls On WinForm Pin
RobCroll19-Nov-10 1:41
RobCroll19-Nov-10 1:41 
AnswerRe: Problems Dynamically Moving Controls On WinForm Pin
Dave Kreskowiak19-Nov-10 3:16
mveDave Kreskowiak19-Nov-10 3:16 
GeneralRe: Problems Dynamically Moving Controls On WinForm Pin
Luc Pattyn19-Nov-10 3:32
sitebuilderLuc Pattyn19-Nov-10 3:32 
GeneralRe: Problems Dynamically Moving Controls On WinForm Pin
Dave Kreskowiak19-Nov-10 7:07
mveDave Kreskowiak19-Nov-10 7:07 
QuestionProblem in button (.Net 2008, Framework 3.5). Pin
priyamtheone13-Nov-10 2:37
priyamtheone13-Nov-10 2:37 
AnswerRe: Problem in button (.Net 2008, Framework 3.5). Pin
Dr.Walt Fair, PE13-Nov-10 10:45
professionalDr.Walt Fair, PE13-Nov-10 10:45 
AnswerRe: Problem in button (.Net 2008, Framework 3.5). Pin
Eddy Vluggen13-Nov-10 11:26
professionalEddy Vluggen13-Nov-10 11:26 
AnswerRe: Problem in button (.Net 2008, Framework 3.5). Pin
priyamtheone16-Nov-10 3:17
priyamtheone16-Nov-10 3:17 
GeneralRe: Problem in button (.Net 2008, Framework 3.5). Pin
Eddy Vluggen16-Nov-10 6:21
professionalEddy Vluggen16-Nov-10 6:21 
GeneralRe: Problem in button (.Net 2008, Framework 3.5). Pin
Ravi Bhavnani9-Dec-10 19:06
professionalRavi Bhavnani9-Dec-10 19:06 
GeneralRe: Problem in button (.Net 2008, Framework 3.5). Pin
RaviRanjanKr18-Dec-10 20:59
professionalRaviRanjanKr18-Dec-10 20:59 
QuestionProblem in ToolStripButton (.Net 2008, Framework 3.5). Pin
priyamtheone12-Nov-10 2:38
priyamtheone12-Nov-10 2:38 
AnswerRe: Problem in ToolStripButton (.Net 2008, Framework 3.5). Pin
musefan12-Nov-10 6:35
musefan12-Nov-10 6:35 
GeneralRe: Problem in ToolStripButton (.Net 2008, Framework 3.5). Pin
priyamtheone13-Nov-10 3:47
priyamtheone13-Nov-10 3:47 
GeneralRe: Problem in ToolStripButton (.Net 2008, Framework 3.5). Pin
musefan15-Nov-10 2:17
musefan15-Nov-10 2:17 
GeneralRe: Problem in ToolStripButton (.Net 2008, Framework 3.5). Pin
priyamtheone16-Nov-10 3:30
priyamtheone16-Nov-10 3:30 

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.