Click here to Skip to main content


Questionstring[] to Microsoft.Exchange.Data.MultiValuedProperty PinmemberJD8623-Jan-13 12:22 
AnswerRe: string[] to Microsoft.Exchange.Data.MultiValuedProperty Pinmemberjibesh23-Jan-13 13:28 
GeneralRe: string[] to Microsoft.Exchange.Data.MultiValuedProperty PinmemberJD8625-Jan-13 3:41 
QuestionI need help with my drag and drop code Pinmembercdaviesp23-Jan-13 10:24 
I need to do a simple drag and drop procedure, but I dont know why this code isn´t working...
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
namespace WpfApplication13
      /// <summary>
      /// Interaction logic for MainWindow.xaml
      /// </summary>
      public partial class MainWindow : Window
            public MainWindow()
            private void img_MouseLeftButtonDown(object sender, MouseButtonEventArgs e)
                  Image img = (Image)sender;
                  DataObject dataObj = new DataObject(img);
                  DragDrop.DoDragDrop(img, dataObj, DragDropEffects.Move);
            private void target_Drop(object sender, DragEventArgs e)
                  Image img = (Image)e.Data.GetData(typeof(Image));
            private void img_MouseMove(object sender, MouseEventArgs e)
            private void img_DragLeave(object sender, DragEventArgs e)
                  e.Effects = DragDropEffects.Move;
Please... any advice will be appreciated!.
AnswerRe: I need help with my drag and drop code Pinmemberpt140125-Jan-13 9:19 
Questionnested try catch block [modified] Pinmember000mann00023-Jan-13 6:59 
GeneralRe: nested try catch block PinmemberPIEBALDconsult23-Jan-13 7:06 
GeneralRe: nested try catch block Pinmember000mann00023-Jan-13 7:11 
GeneralRe: nested try catch block PinmemberPIEBALDconsult23-Jan-13 7:12 
AnswerRe: nested try catch block PinmemberPaulo Zemek23-Jan-13 7:23 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

Advertise | Privacy | Mobile
Web01 | 2.8.140916.1 | Last Updated 18 Sep 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid