22 references to SetError
System.Windows.Forms (3)
winforms\Managed\System\WinForms\ErrorProvider.cs (3)
443SetError(binding.Control, (e.ErrorText == null ? String.Empty : e.ErrorText)); 473SetError(errBindings[j].Control, ""); 545SetError((Control) entry.Key, (string) entry.Value);
System.Workflow.Activities (19)
Rules\Design\Dialogs\RuleConditionDialog.cs (4)
101conditionErrorProvider.SetError(this.conditionTextBox, string.Empty); 105conditionErrorProvider.SetError(this.conditionTextBox, ex.Message); 134conditionErrorProvider.SetError(this.conditionTextBox, string.Empty); 140conditionErrorProvider.SetError(this.conditionTextBox, ex.Message);
Rules\Design\Dialogs\RuleSetDialog.cs (15)
165conditionErrorProvider.SetError(this.conditionTextBox, string.Empty); 169conditionErrorProvider.SetError(this.conditionTextBox, ex.Message); 177thenErrorProvider.SetError(this.thenTextBox, string.Empty); 181thenErrorProvider.SetError(this.thenTextBox, ex.Message); 189elseErrorProvider.SetError(this.elseTextBox, string.Empty); 193elseErrorProvider.SetError(this.elseTextBox, ex.Message); 215conditionErrorProvider.SetError(this.conditionTextBox, string.Empty); 216thenErrorProvider.SetError(this.thenTextBox, string.Empty); 217elseErrorProvider.SetError(this.elseTextBox, string.Empty); 236conditionErrorProvider.SetError(this.conditionTextBox, string.Empty); 240conditionErrorProvider.SetError(this.conditionTextBox, ex.Message); 260thenErrorProvider.SetError(this.thenTextBox, string.Empty); 264thenErrorProvider.SetError(this.thenTextBox, ex.Message); 284elseErrorProvider.SetError(this.elseTextBox, string.Empty); 288elseErrorProvider.SetError(this.elseTextBox, ex.Message);