private void View_Click(object sender, EventArgs e) { if (currentitem.Status != MediaItem.MediaStatus.PLACEHOLDER && !adpt.trimmode) { OnPreview?.Invoke(currentitem); } else if (adpt.currenttrim == currentitem) { OnTrim?.Invoke(currentitem); } }
private void TrimClick(object sender, EventArgs e) { //trim OnTrim?.Invoke(currentitem); }
private void View_OnTrim(MediaItem obj) { OnTrim?.Invoke(obj); }