private void BackToSettings() { paintPanelImage = this; baseForm.Enabled = true; Owner.Show(); this.Close(); }
private void SetupKeyDownEvents(PaintForm paintForm) { foreach (Control control in paintForm.Controls) { control.MouseDown += PaintFormControlsCollection_MouseDown; control.KeyDown += PaintFormControlsCollection_KeyDown; } }