I offered to help, but 'darned if' she didn't do the whole thing herself. [=I was very surprised that she did the whole thing herself]
Well 'I'll be darned'! You actually showed up! [=I am very surprised that you showed up]
This 'darned' window won't open!