make context menu visible
This commit is contained in:
parent
5d373a5e95
commit
1b3291fcfa
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user