public override bool load(MaskDAGGraphNode fromNode) { Device_RadialGradient dc = fromNode as Device_RadialGradient; mGUID = dc.mGUID; draggedByMouse(Location, dc.Location); Radius = dc.Radius; Intensity = dc.Intensity; HotSpot = dc.HotSpot; return(true); }
private void radialGradientToolStripMenuItem_Click(object sender, EventArgs e) { Device_RadialGradient gn = new Device_RadialGradient(this); mNodes.Add(gn); }