private void btnSave_Click(object sender, EventArgs e) { Save(); if (parentForm != null) { parentForm.RefreshCommands(); mainCommandForm.Close(); } }