public static void Show(Project currentproject) { if (Instance == null) { Instance = new ProjectConfigDialog(currentproject); } Instance.ShowDialog(); }