public void InitCombo() { try { cboFileFormat.ItemsSource = MovieServices.GetFormats(); cboAspectRatio.ItemsSource = MovieServices.GetAspectRatios(); } catch (Exception ex) { Util.LogException(ex); new MessageBoxYesNo(ex.Message, false, true).ShowDialog(); } }