protected void OnFileDropped(object sender, FileDroppedEventArgs eventArgs) { EventHandler <FileDroppedEventArgs> temp = FileDropped; if (temp != null) { temp(sender, eventArgs); } }
private void patEditor_FileDropped(object sender, FileDroppedEventArgs e) { this.loadSongFromFile(e.FilePath); }
protected void OnFileDropped(object sender, FileDroppedEventArgs eventArgs) { FileDropped?.Invoke(sender, eventArgs); }