private void btn_Delete_Click(object sender, EventArgs e) { ICommands icommands = (ICommands)commands; icommands.CardDelete(id); this.Close(); }