private void buttonAddFeeling_Click(object sender, EventArgs e) { if (CurrentClient != null) { FormNewFeeling form = new FormNewFeeling(); form.CurrentClient = CurrentClient; DialogResult result = form.ShowDialog(); if (result == DialogResult.OK) { PopulateFeelings(); } } }
private void buttonAddFeeling_Click(object sender, EventArgs e) { if(CurrentClient != null) { FormNewFeeling form = new FormNewFeeling(); form.CurrentClient = CurrentClient; DialogResult result = form.ShowDialog(); if(result == DialogResult.OK) { PopulateFeelings(); } } }