예제 #1
0
 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 );
 }
예제 #2
0
 private void GetEffect( object sender, CustomDragger.DropEffectsArgs e )
 {
     if ( DraggerOverEfectRequest != null )
     DraggerOverEfectRequest( sender, e );
 }
예제 #3
0
 private void PutData( object sender, CustomDragger.DropRequestArgs e )
 {
     if ( DraggerDrop != null )
     DraggerDrop( sender, e );
 }
예제 #4
0
 private void GetData( object sender, CustomDragger.DataRequestArgs e )
 {
     if ( DraggerDataRequest != null )
     DraggerDataRequest( sender, e );
 }