|
|
@ -135,8 +135,7 @@ namespace ICSharpCode.FormsDesigner |
|
|
|
selectionService.SetSelectedComponents(components); |
|
|
|
selectionService.SetSelectedComponents(components); |
|
|
|
} |
|
|
|
} |
|
|
|
return true; |
|
|
|
return true; |
|
|
|
} |
|
|
|
} else if (keyPressed == Keys.Escape) { |
|
|
|
else if(keyPressed == Keys.Escape) { |
|
|
|
|
|
|
|
ISelectionService selectionService = (ISelectionService)formDesigner.Host.GetService(typeof(ISelectionService)); |
|
|
|
ISelectionService selectionService = (ISelectionService)formDesigner.Host.GetService(typeof(ISelectionService)); |
|
|
|
ICollection components = selectionService.GetSelectedComponents(); |
|
|
|
ICollection components = selectionService.GetSelectedComponents(); |
|
|
|
if (components.Count == 1) { |
|
|
|
if (components.Count == 1) { |
|
|
|