public Form2() { ActionManager.LoadActions(typeof(Form2)); Test = new TestProvider(); //ActContext.ActivateObject(this); InitializeComponent(); }