コード例 #1
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void NodeMenuItem_Click(object sender, RoutedEventArgs e)
        {
            NodeViewModel n = (sender as FrameworkElement).DataContext as NodeViewModel;

            if (n != null)
            {
                NodeEditViewModel.RemoveNode(n);
            }
        }