Example #1
0
        /// <summary>
        /// Button Event that adds tag
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void btnAddTag_Click(object sender, RoutedEventArgs e)
        {
            CategoryTagWindow window = new CategoryTagWindow(currVideo)
            {
                Owner = Application.Current.MainWindow
            };

            window.ShowDialog();
            UpdateVideoTags(currVideo);
        }
Example #2
0
        /// <summary>
        /// Right click event that adds the tag to the videos
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void menuItemOrg_AddTag(object sender, RoutedEventArgs e)
        {
            //TODO REFACTOR WITH btnAddTag_Click
            CategoryTagWindow window = new CategoryTagWindow(lvOrganize.SelectedItems)
            {
                Owner = Application.Current.MainWindow
            };

            window.ShowDialog();
            UpdateVideoTags(currVideo);
        }