Exemple #1
0
        public override void Execute(object parameter)
        {
            var selectedItems = GetSelectedItems();

            if (selectedItems.Count == 0)
            {
                return;
            }

            var items = GetProjectItems(selectedItems);

            var dialog = new AddWindow();

            dialog.Initialize(items);
            AppHost.Shell.ShowDialog(dialog);
        }