Click here to Skip to main content
15,891,248 members

Comments by tuandung2006 (Top 2 by date)

tuandung2006 6-Nov-12 5:00am View    
Thanks for your reply.
1. The code I have written is WPF.
2. In view class, I have a button, and when MouseDown event raise on this button, it will be binding to a "MouseDown" command(method) that is handle in viewmodel class. And when MouseUp event raise on this button, it will be binding to a "MouseUp"(method) command.
3. Are you trying to a drag and drop?: I just want to catch MouseDown and MouseUp event from view class and handle it inside viewmodel class.
4. Maybe we'll just need a command to handle all event, but at that time we must pass
argument to know which event is raised.
tuandung2006 7-Jul-10 3:25am View    
Deleted
OK. I will try to explain clearly. 1. Create Form application and add a button(btn1) into form. 2. When click the button, it will be disabled(btn1.Enable = false). 3. look status of button(theme: XP). 4. Then tranfer your theme XP by theme classis on your computer. 5. Compare status of button. I want my button is disabled at XP theme mode that same with button is disabled at Classis theme mode. Do you understand me? I'm sorry, the truth is my english is not good. so dificult to explain more cleary. Hope you try to help me. Thank's very much