//************************************************************************* // Constructor: Ribbon() // /// <summary> /// Initializes a new instance of the <see cref="Ribbon" /> class. /// </summary> //************************************************************************* public Ribbon() : base( Globals.Factory.GetRibbonFactory() ) { InitializeComponent(); btnGetExchangeGraphDataProvider.Tag = ProjectInformation.ExchangeGraphDataProviderUrl; btnGetMediaWikiGraphDataProvider.Tag = ProjectInformation.MediaWikiGraphDataProviderUrl; btnGetOnaSurveysGraphDataProvider.Tag = ProjectInformation.OnaSurveysGraphDataProviderUrl; btnGetSocialNetworkGraphDataProvider.Tag = ProjectInformation.SocialNetworkGraphDataProviderUrl; btnGetVosonGraphDataProvider.Tag = ProjectInformation.VosonGraphDataProviderUrl; btnDonate.Tag = ProjectInformation.DonateUrl; // Populate the rddLayout RibbonDropDown. m_oLayoutManagerForRibbonDropDown = new LayoutManagerForRibbonDropDown(); m_oLayoutManagerForRibbonDropDown.AddRibbonDropDownItems( this.rddLayout); m_oLayoutManagerForRibbonDropDown.LayoutChanged += new EventHandler(this.m_oLayoutManagerForRibbonDropDown_LayoutChanged); AssertValid(); }