Click here to Skip to main content
15,849,829 members
Home / Discussions / WPF
   

WPF

 
AnswerRe: drag image Pin
Christian Graus3-Nov-09 14:39
protectorChristian Graus3-Nov-09 14:39 
GeneralRe: drag image Pin
RongNK3-Nov-09 16:25
RongNK3-Nov-09 16:25 
GeneralRe: drag image Pin
Christian Graus3-Nov-09 17:29
protectorChristian Graus3-Nov-09 17:29 
GeneralRe: drag image Pin
RongNK3-Nov-09 21:19
RongNK3-Nov-09 21:19 
GeneralRe: drag image Pin
Mark Salsbery4-Nov-09 9:02
Mark Salsbery4-Nov-09 9:02 
GeneralRe: drag image Pin
Christian Graus4-Nov-09 12:37
protectorChristian Graus4-Nov-09 12:37 
GeneralRe: drag image Pin
Mark Salsbery4-Nov-09 12:50
Mark Salsbery4-Nov-09 12:50 
GeneralRe: drag image Pin
RongNK4-Nov-09 17:12
RongNK4-Nov-09 17:12 
I have a grid gr and divided it into 5 row, 5 column and placed a Image in it
 Image tem = new Image();
                tem.Source = new BitmapImage(new Uri("..."));
                gr.Children.Add(tem);
                tem.SetValue(Grid.ColumnProperty,0);
                tem.SetValue(Grid.RowProperty,0);

tem.MouseLeftButtonDown += new MouseButtonEventHandler(tem_MouseLeftButtonDown);
tem.MouseLeftButtonUp+= new MouseButtonEventHandler(tem_MouseLeftButtonUp);
tem.MouseMove += new MouseButtonEventHandler(tem_MouseMove);

Now, i want to make tem_MouseLeftButtonDown, tem_MouseLeftButtonUp, tem_MouseMove to move Image from (row=i,column=j) to (row=Mouse point,column=Mouse point), in window form i can but in wpf i can't.
Sorry for my english.
Thank Blush | :O
GeneralRe: drag image Pin
Mark Salsbery5-Nov-09 8:31
Mark Salsbery5-Nov-09 8:31 
GeneralRe: drag image Pin
Christian Graus5-Nov-09 11:52
protectorChristian Graus5-Nov-09 11:52 
GeneralRe: drag image Pin
Mark Salsbery5-Nov-09 12:13
Mark Salsbery5-Nov-09 12:13 
GeneralRe: drag image Pin
Mark Salsbery5-Nov-09 12:20
Mark Salsbery5-Nov-09 12:20 
QuestionKiosk Application Pin
Tiger4563-Nov-09 3:08
Tiger4563-Nov-09 3:08 
AnswerRe: Kiosk Application Pin
Christian Graus3-Nov-09 10:48
protectorChristian Graus3-Nov-09 10:48 
GeneralRe: Kiosk Application Pin
Tiger4563-Nov-09 22:53
Tiger4563-Nov-09 22:53 
GeneralRe: Kiosk Application Pin
Pete O'Hanlon3-Nov-09 23:20
subeditorPete O'Hanlon3-Nov-09 23:20 
GeneralRe: Kiosk Application Pin
#realJSOP4-Nov-09 0:34
mve#realJSOP4-Nov-09 0:34 
GeneralRe: Kiosk Application Pin
Pete O'Hanlon4-Nov-09 2:24
subeditorPete O'Hanlon4-Nov-09 2:24 
GeneralRe: Kiosk Application Pin
Tiger4568-Nov-09 18:40
Tiger4568-Nov-09 18:40 
GeneralRe: Kiosk Application Pin
Christian Graus4-Nov-09 11:08
protectorChristian Graus4-Nov-09 11:08 
GeneralRe: Kiosk Application Pin
Mark Salsbery5-Nov-09 13:57
Mark Salsbery5-Nov-09 13:57 
QuestionCall MVC controller method in SIlverlight with params Pin
Deabdy211-Nov-09 23:53
Deabdy211-Nov-09 23:53 
AnswerRe: Call MVC controller method in SIlverlight with params Pin
Xodiak21-Jun-10 16:18
Xodiak21-Jun-10 16:18 
QuestionHow to send mail [Error: The SMTP server requires a secure connection or the client was not authenticated] Pin
Nekkantidivya1-Nov-09 20:24
Nekkantidivya1-Nov-09 20:24 
AnswerRe: How to send mail [Error: The SMTP server requires a secure connection or the client was not authenticated] Pin
Mark Salsbery2-Nov-09 9:44
Mark Salsbery2-Nov-09 9:44 

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.