There are no rules for how to resign, or for how to accept a resignation, except that of treating the other person as you yourself would expect to be treated in like circumstances. Both parties here went out of their way to provoke and then needlessly made a public issue of it.