/// <summary> /// Ribbon Init Controls /// </summary> public void RibbonInitControls() { addIn = Globals.ThisAddIn; ConnectionUrl = string.Empty; tfsManager = TfsManager.Instance; menuTfsUserLabel = Properties.Resources.lblTextNotLoggedIn; btnConnectLabel = Properties.Resources.splitBtnConnectLabel; addIn.Application.WindowSelectionChange += TextSelectionChanged; IsConnected = false; foreach (var url in Properties.Settings.Default.ConnectionURLs) { ConnectionUrls.Add(url); } connectionUrlSelectedIndex = 0; }
/// <summary> /// Ribbon Init Controls /// </summary> public void RibbonInitControls() { addIn = Globals.ThisAddIn; ConnectionUrl = string.Empty; tfsManager = TfsManager.Instance; menuTfsUserLabel = Properties.Resources.lblTextNotLoggedIn; btnConnectLabel = Properties.Resources.splitBtnConnectLabel; addIn.Application.WindowSelectionChange += TextSelectionChanged; IsConnected = false; foreach (var url in Properties.Settings.Default.ConnectionURLs) ConnectionUrls.Add(url); connectionUrlSelectedIndex = 0; }