static void EnvInfo() { var dialog = new Gui.EnvInfoDialog(); dialog.StartPosition = FormStartPosition.CenterParent; dialog.ShowDialog(); }