when you use ShowDialog in the form that it shows and is waiting for an answer like DialogeResult, but when you just need to show the form and don't need any response, you can just call form.Show ()
here is the code:
:
Form f = new Form();
DialogResult res = f.ShowDialog();
//code stops here until you return something of type DialogResult
if (res == System.Windows.Forms.DialogResult.OK)
I_Will_Run_Just_When_DialogReult_Returned_Is_OK();
:
f.Show();
I_Will_Run_Anyway_Right_After_Showing_Form();