public void EditProperties(object Object, string title) { propertiesView.SetObject(Object, title); if (Object is Path || Object is Path.Node) { return; //We want to keep currently edited IPathObject } if (Object is IPathObject) { iPathToEdit = (IPathObject)Object; ToolPath.Sensitive = true; } else { iPathToEdit = null; ToolPath.Sensitive = false; } }
public void EditProperties(object Object, string title) { propertiesView.SetObject(Object, title); }