public MainForm() { InitializeComponent(); CreateStandardControls(); UIProject.Instance().openDefaultProject(); DynamicObj.initDynamic(); m_deserializeDockContent = new DeserializeDockContent(GetContentFromPersistString); vS2012ToolStripExtender1.DefaultRenderer = _system; vS2012ToolStripExtender1.VS2012Renderer = _custom; EventManager.RegisterAudience(Constant.OpenLayoutEvent, new EventHandler <object>(this.OpenRender)); EventManager.RegisterAudience(Constant.StatusInfoChange, new EventHandler <object>(this.StatusInfoChange)); EventManager.RegisterAudience(Constant.ProjectChange, new EventHandler <object>(this.ProjectChange)); }