make context menu visible

This commit is contained in:
Tim Young 2018-03-01 12:31:15 -06:00
parent 5d373a5e95
commit 1b3291fcfa
1 changed files with 2 additions and 0 deletions

View File

@ -187,6 +187,8 @@ namespace EduNetworkBuilder
lbShapeList.ContextMenuStrip.Items.Add(NB.Translate("SE_MoveToEnd"));
lbShapeList.ContextMenuStrip.Items[index++].Click += lblShape_MoveToEnd;
lbShapeList.ContextMenuStrip.Visible = true;
lbShapeList.ContextMenuStrip.Show(Cursor.Position);
}
}
//If it is a left mouse button, we simply select the item so we can edit it