static WPFMenuBaseTestControl Init(Grid grid) { WPFMenuBaseTestControl ctrl = new WPFMenuBaseTestControl(); grid.Children.Add(ctrl); return ctrl; }