//--------------------------------------------------------------------- private void _mergeFeaturesViewModelLogical_RequestClose(int selectedIndex) { _mergeFeaturesViewModelLogical.RequestClose -= _mergeFeaturesViewModelLogical_RequestClose; _mergeFeaturesWindow.Close(); _mergeResultFeatureIndex = selectedIndex; }