private ContextOptions GetContextOptions()
        {
            ContextOptions contextOptions = new ContextOptions();

            foreach (PokemonManager pokemonManager in fastObjectListViewPokemon.SelectedObjects)
            {
                if (!pokemonManager.AutoEvolve)
                {
                    contextOptions.AutoEvolveIsEnabled = false;
                }
                if (!pokemonManager.AutoFavorite)
                {
                    contextOptions.AutoFavoriteIsEnabled = false;
                }
                if (!pokemonManager.AutoUpgrade)
                {
                    contextOptions.AutoUpgradeIsEnabled = false;
                }
                if (!pokemonManager.AutoRenameWithIv)
                {
                    contextOptions.AutoRenameIsEnabled = false;
                }
            }

            return(contextOptions);
        }
        private void contextMenuStrip1_Opening(object sender, System.ComponentModel.CancelEventArgs e)
        {
            blockSaving = true;
            ContextOptions contextOptions = GetContextOptions();

            autoEvolveToolStripMenuItem.Checked     = contextOptions.AutoEvolveIsEnabled;
            autoFavoriteToolStripMenuItem.Checked   = contextOptions.AutoFavoriteIsEnabled;
            autoUpgradeToolStripMenuItem.Checked    = contextOptions.AutoUpgradeIsEnabled;
            autoRenameToIVToolStripMenuItem.Checked = contextOptions.AutoRenameIsEnabled;

            blockSaving = false;
        }