private void OKBtn_Click(object sender, EventArgs e) { try { this.Cursor = Cursors.WaitCursor; _AudioApi.Edit(Convert.ToInt64(_Audio.Id), Convert.ToInt64(_Audio.OwnerId), this.ArtistTextBox.Text, this.TitleTextBox.Text, AudioGenre.GetByName(this.GenreComboBox.Text), this.LyricsTextBox.Text, this.HideSearchCheck.Checked); } finally { this.Cursor = Cursors.Default; } this.Close(); }