void _fieldLocation_CheckedChanged(object sender, EventArgs e) { var fl = new FieldLocationChangedEventArgs(); fl.FieldLocation = FieldLocation; OnFieldLocationChanged(fl); }
protected virtual void OnFieldLocationChanged(FieldLocationChangedEventArgs e) { EventHandler<FieldLocationChangedEventArgs> handler = FieldLocationChanged; if (handler != null) { handler(this, e); } }