/// <summary> /// Creates a new DrawCompleted in the case where an exception was thrown /// </summary> /// <param name="args">The drawing arguments for drawing, specifying the Graphics device and the geographic envelope </param> /// <param name="inException">The Exception being thrown</param> public DrawCompletedArgs(DrawArgs args, Exception inException) : base(args.Graphics, args.DrawWindow, args.Part, args.Stage) { _exception = inException; }
/// <summary> /// Creates a default DrawCompleted event for the situation where the drawing was successful, not cancelled and no exception occured /// </summary> /// <param name="args">The DrawArgs being used during the drawing, specifying the Graphics device and geographic envelope</param> /// <param name="inCancelled">A boolean parameter specifying whether or not the drawing was cancelled</param> public DrawCompletedArgs(DrawArgs args, bool inCancelled) : base(args.Graphics, args.DrawWindow, args.Part, args.Stage) { _cancelled = inCancelled; _exception = null; }
/// <summary> /// Constructs a new instance with cancel set to false using an Existing DrawArgs /// </summary> /// <param name="args"></param> public DrawVerifyArgs(DrawArgs args) : base(args.Graphics, args.DrawWindow, args.Part, args.Stage) { _cancel = false; }