Thanks this would solve it, But I'm also curious about how you made a stop in
if (form.ShowDialog() == DialogResult.OK)
Like similar to the Console.ReadLine() in a ConsoleApplication, I have a feeling this would help me alot later
EDIT: this worked in WPF on a new project, but when I include System.Windows.Forms in my main one, I get this error
CS0176 Member 'HorizontalAlignment.Left' cannot be accessed with an instance reference; qualify it with a type name instead
Is there an other way of doing this?