I want to create a modal popup. So far I have made a window which I create when I need it. But I don't think that is the right way to do this. The problem is, everytime I call it, it opens about 20px to the right and 20px lower than previous one. It's annoying. Is this default behaviour or am I doing something wrong here?
Success win1 = new Success();
win1.ShowDialog();
Also, I want it to be centered if that's possible?