// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
-// Copyright (c) 2004 Novell, Inc.
+// Copyright (c) 2004-2005 Novell, Inc.
//
// Authors:
// Peter Bartok pbartok@novell.com
//
//
-// $Revision: 1.1 $
-// $Modtime: $
-// $Log: DragEventArgs.cs,v $
-// Revision 1.1 2004/07/09 05:21:25 pbartok
-// - Initial check-in
-//
-//
+
// COMPLETE
+using System.Runtime.InteropServices;
+
namespace System.Windows.Forms {
+ [ComVisible(true)]
public class DragEventArgs : EventArgs {
- private int x;
- private int y;
- private int keystate;
- private DragDropEffects allowed_effect;
- private DragDropEffects current_effect;
- private IDataObject data_object;
+ internal int x;
+ internal int y;
+ internal int keystate;
+ internal DragDropEffects allowed_effect;
+ internal DragDropEffects current_effect;
+ internal IDataObject data_object;
#region Public Constructors
public DragEventArgs(IDataObject data, int keyState, int x, int y, DragDropEffects allowedEffect, DragDropEffects effect) {
}
set {
- if ((value & this.allowed_effect)!=0) {
- this.current_effect=value;
- }
+ current_effect = value;
}
}