This seems really convoluted way to do a simple thing... You really can't just get the result from a confrim?
I'm looking to essentially replace MessageBox with these functions allowing my own styling and themes to fit with my application. What I need is to be able to do something like:
if(confirm.DialogResult==true)
{ ...do something...}
else
{...do something else...}
If I read this right it looks like I would have to create a separate method to handle the result of the dialog, effectively pushing me out of the method I'm in and adding quite a bit of complexity to the code. Not to mention that if I need variables from the method I'm calling from I would have to store them globally somehow or...??? I'm not sure. Those static methods are always modal so why can they not just return the dialog result?