hi all, i was wondering if there is any way to show a modal dialog box, but run code while the owner form is blocked. Setting the main form.Enabled = false to block it redraws all the controls as grayed and disabled, which i do not need. The following pseudo-code is about what would be nice:

Code:
private void WorkButton_Click(object sender, System.EventArgs e) {
	ProcessingForm processing = new ProcessingForm();
	processing.ShowDialogAsync(this);

	for(int i = 0; i < 1000; i++) {
		// do stuff
	}
	
	processing.Close();
}
Thanks in advance for any help!