string filename = (string)((DataObject)e.Data).GetFileDropList()[0]; mediaElement1.Source = new Uri(filename); mediaElement1.LoadedBehavior = MediaState.Manual; mediaElement1.UnloadedBehavior = MediaState.Manual; mediaElement1.Volume = (double)slider1_ValueChanged; mediaElement1.Play();
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)