Click here to Skip to main content
15,896,118 members
Home / Discussions / C#
   

C#

 
Questionmultiple / change report in one report viewer Pin
just1c3ss1-Oct-14 1:14
just1c3ss1-Oct-14 1:14 
AnswerRe: multiple / change report in one report viewer Pin
ZurdoDev1-Oct-14 1:38
professionalZurdoDev1-Oct-14 1:38 
QuestionPass a value from different project Pin
Member 1102592430-Sep-14 17:42
Member 1102592430-Sep-14 17:42 
AnswerRe: Pass a value from different project Pin
V.30-Sep-14 19:40
professionalV.30-Sep-14 19:40 
AnswerRe: Pass a value from different project Pin
BillWoodruff30-Sep-14 21:24
professionalBillWoodruff30-Sep-14 21:24 
GeneralRe: Pass a value from different project Pin
Member 1102592430-Sep-14 21:26
Member 1102592430-Sep-14 21:26 
GeneralRe: Pass a value from different project Pin
BillWoodruff30-Sep-14 23:25
professionalBillWoodruff30-Sep-14 23:25 
QuestionRe: Pass a value from different project Pin
Kornfeld Eliyahu Peter30-Sep-14 22:01
professionalKornfeld Eliyahu Peter30-Sep-14 22:01 
AnswerRe: Pass a value from different project Pin
Member 1102592430-Sep-14 22:03
Member 1102592430-Sep-14 22:03 
AnswerRe: Pass a value from different project Pin
Kornfeld Eliyahu Peter30-Sep-14 22:15
professionalKornfeld Eliyahu Peter30-Sep-14 22:15 
GeneralRe: Pass a value from different project Pin
Member 1102592430-Sep-14 22:35
Member 1102592430-Sep-14 22:35 
AnswerRe: Pass a value from different project Pin
Kornfeld Eliyahu Peter30-Sep-14 22:58
professionalKornfeld Eliyahu Peter30-Sep-14 22:58 
GeneralRe: Pass a value from different project Pin
Dave Kreskowiak1-Oct-14 2:01
mveDave Kreskowiak1-Oct-14 2:01 
GeneralRe: Pass a value from different project Pin
Kornfeld Eliyahu Peter1-Oct-14 2:06
professionalKornfeld Eliyahu Peter1-Oct-14 2:06 
GeneralRe: Pass a value from different project Pin
V.1-Oct-14 2:13
professionalV.1-Oct-14 2:13 
Questionhow someone can enhance the speed of sending a file over lan using tcp protocol in c#.net? Pin
Member 1111823230-Sep-14 6:33
Member 1111823230-Sep-14 6:33 
AnswerRe: how someone can enhance the speed of sending a file over lan using tcp protocol in c#.net? Pin
Eddy Vluggen30-Sep-14 7:22
professionalEddy Vluggen30-Sep-14 7:22 
QuestionMarco Tulio Pin
Member 1063696630-Sep-14 5:56
Member 1063696630-Sep-14 5:56 
GeneralRe: Marco Tulio Pin
PIEBALDconsult30-Sep-14 5:59
mvePIEBALDconsult30-Sep-14 5:59 
AnswerRe: Marco Tulio Pin
Richard Deeming30-Sep-14 7:48
mveRichard Deeming30-Sep-14 7:48 
GeneralRe: Marco Tulio Pin
Richard MacCutchan30-Sep-14 21:07
mveRichard MacCutchan30-Sep-14 21:07 
GeneralRe: Marco Tulio Pin
Richard Deeming1-Oct-14 1:31
mveRichard Deeming1-Oct-14 1:31 
Questionissue with moving a control Pin
Member 1112014730-Sep-14 0:21
Member 1112014730-Sep-14 0:21 
AnswerRe: issue with moving a control Pin
BillWoodruff30-Sep-14 1:44
professionalBillWoodruff30-Sep-14 1:44 
GeneralRe: issue with moving a control Pin
Member 1112014730-Sep-14 3:56
Member 1112014730-Sep-14 3:56 
Thanks a lot ofr your answer:



"1. set the Button's 'Margin property to a new 'Thickness structure: [^]."
This one worked fine and looks quite easy to use. So that's perfect for my immediate use.

Trying to understand your alternate solutions:

"0. set the Button's location properties on its Canvas: example: YourCanvas.SetLeft(YourButton, 30); "
I think SetLeft is a static method, so should rather be :
Canvas.SetLeft(myCanvas1, 0);

I had difficulties to bind a button to a canvas and display it.
I suppose I have to do something like this?:

Canvas canvas1 = new Canvas();
Canvas.SetLeft(button1, 119); //button1 = button to move
canvas1.Children.Add(button1); //thisline throws an System.InvalidOperationException


"2. using animation: see 'RenderTransform, 'TranslateTransform"
As far as I understood, these features are used into the XAML code, not in the code behind? So you cannot use this to change the control's position after the application starts, can you?

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.