private void OnAddCustomPath(object sender, RoutedEventArgs e) { InstallationPaths?paths = CustomPath.GuiAddCustomPath(); if (paths != null) { this.AddInstallationPath(paths); } }