static GuiData() { #region initialize static members of message classes FileMenuMessages.camera = SpriteManager.Camera; TimeLineMessages.camera = SpriteManager.Camera; PropertyWindowMessages.camera = SpriteManager.Camera; ToolsMessages.camera = SpriteManager.Camera; #endregion CreateToolsWindow(); mListBoxWindow = new ListBoxWindow(); mFileMenu = new InstructionEditorMenuStrip(); mTimeControlWindow = new TimeControlWindow(); #region timeLineWindow TimeLineWindow = new TimeLineWindow(GuiManager.Cursor); #endregion CreatePropertyGrids(); }