public virtual Boolean Validate(WinformToBeAddedEventPayload evt) { return(evt.Form.GetType() == typeof(T)); }
public virtual void WinformAddedEventHandler(WinformToBeAddedEventPayload evnt) { this.Host.Child = evnt.Form as System.Windows.Forms.Control; this.MainGrid.Children.Add(this.Host); this.AddChild(this.MainGrid); }