private void OnInfoWindowResponse(object o, ResponseArgs args) { i_window.Destroy (); i_window = null; }
private void OnInfoButtonClicked(object o, EventArgs args) { if (i_window != null) { i_window.Present (); return; } i_window = new InfoWindow (current_song, this); i_window.Visible = true; i_window.Response += new ResponseHandler (OnInfoWindowResponse); }