SIL.FieldWorks.Common.Framework.DetailControls.StringSlice.StringSliceView.OnValidating C# (CSharp) Méthode

OnValidating() protected méthode

This method seems to get called when we are switching to another tool (or area, or slice) AND when the program is shutting down. This makes it a good point to check constraints, since in some of these cases, SliceIsCurrent may not get set false.
protected OnValidating ( System e ) : void
e System
Résultat void
			protected override void OnValidating(System.ComponentModel.CancelEventArgs e)
			{
				base.OnValidating(e);
				DoValidation();
			}