public ViewerControl() { InitializeComponent(); ViewControl.InitializeWithoutCommProxy(Environment.Instance.FilmingUserConfigPath); SetLayout(LayoutFactory.Instance.CreateLayout(2, 2)); Messenger.Default.Register <LayoutBase>(this, SetLayout); Messenger.Default.Register <ActionType>(this, SetActionType); }