public static void Show(Window owner, NewVersionWindowType newVersionType, string version, string downloadLink = null) { winNewVersion theWindow = new winNewVersion(newVersionType); theWindow.Owner = owner; theWindow.Version = version; theWindow.DownloadLink = downloadLink; theWindow.ShowDialog(); }