private void PathNodeAddToProjectButton_Click(object sender, EventArgs e) { if (CurrentPathNode?.Ynd != null) { ProjectForm.AddYndToProject(CurrentPathNode.Ynd); } }