예제 #1
0
        public static void RegisterDragTypes(NSView aView)
        {
            NSArray dragTypes = NSArray.ArrayWithObjects(NSPasteboard.NSFilenamesPboardType,
                                                         NSPasteboard.NSURLPboardType,
                                                         PasteboardViewDragData.PboardType,
                                                         null);

            aView.RegisterForDraggedTypes(dragTypes);
        }