Imported Upstream version 5.4.0.167

Former-commit-id: 5624ac747d633e885131e8349322922b6a59baaa
This commit is contained in:
Xamarin Public Jenkins (auto-signing)
2017-08-21 15:34:15 +00:00
parent e49d6f06c0
commit 536cd135cc
12856 changed files with 563812 additions and 223249 deletions

View File

@ -80,7 +80,7 @@ namespace System.Workflow.ComponentModel.Design
// Properties
new CommandSetItem(new EventHandler(OnStatusAlways), new EventHandler(OnMenuDesignerProperties), WorkflowMenuCommands.DesignerProperties),
// IMPORTANT: [....] does not handle this command, so VS.NET sends it to solution explorer
// IMPORTANT: Microsoft does not handle this command, so VS.NET sends it to solution explorer
// window, which enables this meu item on the for the current file node
new CommandSetItem(new EventHandler(OnStatusAlways), new EventHandler(OnViewCode), new CommandID(StandardCommands.Cut.Guid, 333)),
@ -563,7 +563,7 @@ namespace System.Workflow.ComponentModel.Design
WorkflowView view = rootDesigner.GetView(ViewTechnology.Default) as WorkflowView;
if (view != null)
{
//because the some key presses are not coming into the [....] OnKeyDown
//because the some key presses are not coming into the Microsoft OnKeyDown
//we need to do this work around to manually send the keypress into the designer
KeyEventArgs eventArgs = new KeyEventArgs(key);