private void Reset(bool newFile) { if (newFile) { this.Text = Resources.MainFormTitle; this._edmAsset = new EmotionalDecisionMakingAsset(); } else { this.Text = Resources.MainFormTitle + " - " + _saveFileName; } this._reactiveActions = new BindingListView <ReactionDTO>(_edmAsset.GetAllReactions().ToList()); dataGridViewReactiveActions.DataSource = this._reactiveActions; dataGridViewReactiveActions.Columns[PropertyUtil.GetName <ReactionDTO>(dto => dto.Id)].Visible = false; dataGridViewReactiveActions.Columns[PropertyUtil.GetName <ReactionDTO>(dto => dto.Conditions)].Visible = false; if (_reactiveActions.Any()) { this._conditions = new BindingListView <ConditionDTO>(_edmAsset.GetReactionsConditions(_reactiveActions.First().Id).ToList()); } else { this._conditions = new BindingListView <ConditionDTO>(new List <ConditionDTO>()); } dataGridViewReactionConditions.DataSource = this._conditions; dataGridViewReactionConditions.Columns[PropertyUtil.GetName <ConditionDTO>(dto => dto.Id)].Visible = false; comboBoxQuantifierType.DataSource = Enum.GetNames(typeof(LogicalQuantifier)); }