private void nudBatchSize_ValueChanged(object sender, EventArgs e) { AppSettings.BatchSize = (int)nudBatchSize.Value; }