private void CustomModule_FormClosing(object sender, FormClosingEventArgs e) { e.Cancel = true; Hide(); }