Tibialyzer.LootDropForm.changeSize C# (CSharp) Méthode

changeSize() private méthode

private changeSize ( int modification ) : void
modification int
Résultat void
        private void changeSize(int modification)
        {
            int max_x = SettingsManager.getSettingInt("LootFormWidth");
            if (max_x < minLootWidth) max_x = minLootWidth;
            max_x += modification;
            if (max_x < minLootWidth) max_x = minLootWidth;
            SettingsManager.setSetting("LootFormWidth", (max_x).ToString());
            this.SuspendForm();
            this.RefreshLoot();
            this.ResumeForm();
            this.Refresh();
            this.refreshTimer();
        }