SIL.FieldWorks.XWorks.FwXWindow.OnDisplayFileProjectSharingLocation C# (CSharp) Method

OnDisplayFileProjectSharingLocation() protected method

Updates the enabled state of the File Project Sharing Location menu item
protected OnDisplayFileProjectSharingLocation ( object commandObject, XCore.UIItemDisplayProperties &display ) : bool
commandObject object
display XCore.UIItemDisplayProperties
return bool
		protected bool OnDisplayFileProjectSharingLocation(object commandObject, ref UIItemDisplayProperties display)
		{
			display.Enabled = m_app.Cache.ProjectId.IsLocal && FwRegistryHelper.FieldWorksRegistryKeyLocalMachine.CanWriteKey();
			return true;
		}
FwXWindow