Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [ShellCommandAttribute(Name = "Edit.Cut", Category = "Edit", Localizedname = "Cut", Icon = 6)]
- private void CommandExecuteCut(ICommandInvokeArgs Args)
- {
- Window shell = DTE.Shell as Window;
- if (shell != null)
- {
- ApplicationCommands.Cut.Execute(null, FocusManager.GetFocusedElement(shell));
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement