protected override void OnActivated(object sender, EventArgs args)
 {
     OnPreActivate.Raise(this, args);
     OnActivate.Raise(this, args);
     base.OnActivated(sender, args);
     OnPostActivate.Raise(this, args);
 }