Simplify printing code
Remove pointless null check, we know printDialog isn't null since we create it right before Create PrintDialog on the stack We create and destroy it all within one function This way we get guaranteed cleanup for free
Please register or sign in to comment