Click here to Skip to main content
15,913,408 members
Home / Discussions / C#
   

C#

 
GeneralRe: How to run a Command and retrieve data from it ? Pin
OriginalGriff3-Feb-11 3:06
mveOriginalGriff3-Feb-11 3:06 
GeneralRe: How to run a Command and retrieve data from it ? [modified] Pin
All Time Programming3-Feb-11 3:27
All Time Programming3-Feb-11 3:27 
AnswerRe: How to run a Command and retrieve data from it ? Pin
PIEBALDconsult3-Feb-11 1:44
mvePIEBALDconsult3-Feb-11 1:44 
QuestionPrint Settings for ReportViewer pogrammatically Pin
freshonlineMax2-Feb-11 18:24
freshonlineMax2-Feb-11 18:24 
GeneralRe: Print Settings for ReportViewer pogrammatically Pin
Praveen Raghuvanshi2-Feb-11 19:07
professionalPraveen Raghuvanshi2-Feb-11 19:07 
GeneralRe: Print Settings for ReportViewer pogrammatically Pin
freshonlineMax2-Feb-11 19:46
freshonlineMax2-Feb-11 19:46 
Question[Solved] Drag'N'Drop to and on control [modified] Pin
lukeer2-Feb-11 4:04
lukeer2-Feb-11 4:04 
AnswerRe: Drag'N'Drop to and on control Pin
Henry Minute2-Feb-11 9:25
Henry Minute2-Feb-11 9:25 
GeneralRe: Drag'N'Drop to and on control Pin
lukeer4-Feb-11 0:17
lukeer4-Feb-11 0:17 
Questionbound datagridview new row problem Pin
Erdinc272-Feb-11 2:22
Erdinc272-Feb-11 2:22 
AnswerRe: bound datagridview new row problem Pin
Not Active2-Feb-11 3:47
mentorNot Active2-Feb-11 3:47 
GeneralRe: bound datagridview new row problem Pin
Erdinc272-Feb-11 4:13
Erdinc272-Feb-11 4:13 
GeneralRe: bound datagridview new row problem Pin
Not Active2-Feb-11 14:57
mentorNot Active2-Feb-11 14:57 
GeneralRe: bound datagridview new row problem Pin
Erdinc272-Feb-11 20:48
Erdinc272-Feb-11 20:48 
GeneralRe: bound datagridview new row problem Pin
Erdinc272-Feb-11 23:45
Erdinc272-Feb-11 23:45 
QuestionBind Combo Box with current year months Pin
sumit70341-Feb-11 23:19
sumit70341-Feb-11 23:19 
AnswerRe: Bind Combo Box with current year months Pin
Abhinav S2-Feb-11 0:07
Abhinav S2-Feb-11 0:07 
QuestionC# Movment Pin
C.CoderCreator1-Feb-11 22:22
C.CoderCreator1-Feb-11 22:22 
AnswerRe: C# Movment Pin
Thomas Krojer1-Feb-11 22:35
Thomas Krojer1-Feb-11 22:35 
AnswerRe: C# Movment Pin
Pete O'Hanlon1-Feb-11 23:05
mvePete O'Hanlon1-Feb-11 23:05 
GeneralRe: C# Movment Pin
C.CoderCreator1-Feb-11 23:10
C.CoderCreator1-Feb-11 23:10 
AnswerRe: C# Movment Pin
OriginalGriff1-Feb-11 23:40
mveOriginalGriff1-Feb-11 23:40 
AnswerRe: C# Movment Pin
RobCroll1-Feb-11 23:44
RobCroll1-Feb-11 23:44 
The online help for the Location property describes the behaviour and how to resolve your problem.
Control.Location Property "Because the Point class is a value type (Structure in Visual Basic, struct in Visual C#), it is returned by value, meaning accessing the property returns a copy of the upper-left point of the control. So, adjusting the X or Y properties of the Point returned from this property will not affect the Left, Right, Top, or Bottom property values of the control. To adjust these properties set each property value individually, or set the Location property with a new Point."

You.Location.X = new Point(You.Location.X +1, You.Location.Y);
Architecture is extensible, code is minimal.

AnswerRe: C# Movment Pin
Luc Pattyn2-Feb-11 3:07
sitebuilderLuc Pattyn2-Feb-11 3:07 
GeneralRe: C# Movment Pin
OriginalGriff2-Feb-11 3:40
mveOriginalGriff2-Feb-11 3:40 

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.