public void ChangeNodeBaseBorderColor(Color newColor) { NewOperation(); var com = ComNodeBaseBorderColor.SetCommand(this, newColor); com.Execute(); history.Add(com); }
public static ComNodeBaseBorderColor SetCommand(Graph curGraph, Color newColor) { var tmp = new ComNodeBaseBorderColor(); tmp._curGraph = curGraph; tmp._oldColor = curGraph.BorderColor; tmp._newColor = newColor; return(tmp); }