示例#1
0
        private void BtnEditQueueItemClick(object sender, RoutedEventArgs e)
        {
            Button sendingbutton  = (Button)sender;
            Video  sendingElement = DmUploader.SearchForVideoInQueue((string)sendingbutton.Tag);

            if (sendingElement != null)
            {
                DmUploader.EditVideo(sendingElement);
                cbxUploadElements.SelectedItem = sendingElement;

                mainTabControl.SelectedItem = newUploadTab;
            }
        }