public void SetContext(CNCContext context) { Context = context; GCodeContext = new GCodeContext(context, Window); HandContext = new HandContext(context); }