public PendingChangesToolWindow() { pendingChangesControl = new PendingChangesView(); pendingChangesControl.NeedsRefresh += PendingChangesControl_NeedsRefresh; Content = pendingChangesControl; Caption = Resources.ResourceManager.GetString("100"); }
/// <summary> /// Writes all mesages in the queue to the output window. /// </summary> private void WriteMessageQueue() { while (!this.messages.IsEmpty) { string message = null; this.messages.TryDequeue(out message); if (!string.IsNullOrEmpty(message)) { PendingChangesView.WriteToDiffWindow(message); } } }
/// <summary> /// Clears the output pane. /// </summary> public static void Clear() { PendingChangesView.ClearDiffEditor(); }