Cannot change a wireless link
This commit is contained in:
parent
b72c006915
commit
bedceb9113
@ -948,10 +948,12 @@ namespace EduNetworkBuilder
|
||||
pbNetworkView.ContextMenuStrip.Items[index].Tag = LinkReleasedOn;
|
||||
pbNetworkView.ContextMenuStrip.Items[index++].Click += pbNetworkView_RemoveNetLink_Click;
|
||||
|
||||
pbNetworkView.ContextMenuStrip.Items.Add(NB.Translate("_Edit"));
|
||||
pbNetworkView.ContextMenuStrip.Items[index].Tag = LinkReleasedOn;
|
||||
pbNetworkView.ContextMenuStrip.Items[index++].Click += pbNetworkView_EditNetLink_Click;
|
||||
|
||||
if (LinkReleasedOn.theLinkType != LinkType.wireless)
|
||||
{
|
||||
pbNetworkView.ContextMenuStrip.Items.Add(NB.Translate("_Edit"));
|
||||
pbNetworkView.ContextMenuStrip.Items[index].Tag = LinkReleasedOn;
|
||||
pbNetworkView.ContextMenuStrip.Items[index++].Click += pbNetworkView_EditNetLink_Click;
|
||||
}
|
||||
pbNetworkView.ContextMenuStrip.Visible = true;
|
||||
pbNetworkView.ContextMenuStrip.Show(Cursor.Position);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user