make context menu visible
This commit is contained in:
@ -187,6 +187,8 @@ namespace EduNetworkBuilder
|
|||||||
lbShapeList.ContextMenuStrip.Items.Add(NB.Translate("SE_MoveToEnd"));
|
lbShapeList.ContextMenuStrip.Items.Add(NB.Translate("SE_MoveToEnd"));
|
||||||
lbShapeList.ContextMenuStrip.Items[index++].Click += lblShape_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
|
//If it is a left mouse button, we simply select the item so we can edit it
|
||||||
|
Reference in New Issue
Block a user