make context menu visible

This commit is contained in:
Tim Young 2018-03-01 12:31:15 -06:00
parent 5d373a5e95
commit 1b3291fcfa

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