private void CloseBtn_Click(object sender, EventArgs e) { // Disable close btn CloseBtn.Enabled = false; // Close form this.Close(); }