private void OnWindowIsInitialized(object sender, EventArgs e) { try { _model.CardTypesDictionary.Keys.ToList().ForEach(k => AddCheckBox(k)); } catch (Exception ex) { TraceLog.Exception(new StackFrame().GetMethod().Name, ex); AlertUser(ex); } }