private bool ContainsPane(OutputWindowPanes outputWindowPanes, string paneName) { IEnumerator enumerator = outputWindowPanes.GetEnumerator(); while (enumerator.MoveNext()) { if (string.Compare(((OutputWindowPane)enumerator.Current).Name, paneName, true) == 0) { return(true); } } return(false); }
private bool ContainsPane(OutputWindowPanes outputWindowPanes, string paneName) { IEnumerator enumerator = outputWindowPanes.GetEnumerator(); while (enumerator.MoveNext()) { if (string.Compare(((OutputWindowPane)enumerator.Current).Name, paneName, true) == 0) return true; } return false; }