Пример #1
0
        private void ButtonInstallOrUpdateMods_Click(object sender, EventArgs e)
        {
            Cursor = Cursors.WaitCursor;
            var mod = _modRegistry.Mods.Single(mod => mod.Name == ListManageMods.SelectedItems[0].Text);

            _modRegistry.InstallOrUpdate(mod);
            UpdateManageModsListView();
            UpdateGameModsListView();
            UpdateUtilitiesListView();
            UpdateLaunchExeCombo();
            Cursor = Cursors.Default;
        }