public void ChangeNodeBorderColor(Node node, Color newColor) { NewOperation(); var com = ComNodeBorderColor.SetCommand(node, newColor); com.Execute(); history.Add(com); }
public static ComNodeBorderColor SetCommand(Node node, Color newColor) { var tmp = new ComNodeBorderColor(); tmp._node = node; tmp._oldColor = node.GetFillColor; tmp._newColor = newColor; return(tmp); }