public void Execute() { UI.WPF.Projects cntl = new UI.WPF.Projects(); UI.IContainer container = new UI.Container(); container.FormCaption = I18.ResManager.GetText("ProjectsFormCaption"); container.ControlSize = cntl.ControlSize; container.WpfControl = cntl; container.ShowForm(); container.CloseForm(); }