Ejemplo n.º 1
0
        private void AppSettings_GridViewSizeChangeRequested(object sender, EventArgs e)
        {
            var iconSize = UpdateThumbnailSize(); // Get new icon size

            // Prevents reloading icons when the icon size hasn't changed
            if (iconSize != _iconSize)
            {
                _iconSize = iconSize;                        // Update icon size before refreshing
                NavigationActions.Refresh_Click(null, null); // Refresh icons
            }
            else
            {
                _iconSize = iconSize; // Update icon size
            }
        }
Ejemplo n.º 2
0
 private void RefreshGrid_Click(object sender, RoutedEventArgs e)
 {
     NavigationActions.Refresh_Click(null, null);
 }