public void AddDraggerLink( Control control ) { CustomDragger dragger = new CustomDragger( this, control ); dragger.OnDataRequest += new CustomDragger.DataRequestEventHandler( GetData ); dragger.OnEffectsRequest += new CustomDragger.DropEffectsEventHandler( GetEffect ); dragger.OnDataDrop += new CustomDragger.DropDataEventHandler( PutData ); }
private void GetEffect( object sender, CustomDragger.DropEffectsArgs e ) { if ( DraggerOverEfectRequest != null ) DraggerOverEfectRequest( sender, e ); }
private void PutData( object sender, CustomDragger.DropRequestArgs e ) { if ( DraggerDrop != null ) DraggerDrop( sender, e ); }
private void GetData( object sender, CustomDragger.DataRequestArgs e ) { if ( DraggerDataRequest != null ) DraggerDataRequest( sender, e ); }