I'm using TaskForms (Autodesk.Windows.TaskForm), and it's all working pretty well, with one exception. I can't seem to disallow cancellation of the taskform. The class has a property called AllowDialogCancellation, but regardless of what I set that to the dialog still has a clickable X, and can also be closed with the escape key. Does anyone know where I'm going wrong?
Well, I figured it out. Sort of. This happens as soon as I add a second button to the form. If I comment out the second button definition, everything works great, but as soon as I add a second button, the form becomes cancellable.