private void tsbMetadataDelete_Click()
 {
     if (ConfirmItemDeletion())
     {
         _controller.DeleteSelectedContainerItems();
     }
 }
Пример #2
0
        private void DatabaseSchemaTree_OnKeyDown(object sender, KeyEventArgs e)
        {
            switch (e.Key)
            {
            case Key.Delete:
                _controller.DeleteSelectedContainerItems();
                break;

            case Key.Insert:
                _controller.InsertDefaultContainerItem();
                break;
            }
        }