diff --git a/ILSpy/MainWindow.xaml b/ILSpy/MainWindow.xaml
index 3948e67c8..3c7610baf 100644
--- a/ILSpy/MainWindow.xaml
+++ b/ILSpy/MainWindow.xaml
@@ -13,7 +13,7 @@
FocusManager.FocusedElement="{Binding ElementName=treeView}"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" d:DesignHeight="500" d:DesignWidth="500"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d"
- >
+>
@@ -39,6 +39,9 @@
Command="Search"
Executed="SearchCommandExecuted" />
+
+
+
-
+
+ CloseButtonClicked="TopPane_CloseButtonClicked" Margin="0,0,0,3"
+ BorderThickness="1,1,0,1" />
-
+
+ CloseButtonClicked="BottomPane_CloseButtonClicked" Margin="0,3,0,0" BorderThickness="1,1,0,1"/>
diff --git a/ILSpy/TextView/DecompilerTextView.cs b/ILSpy/TextView/DecompilerTextView.cs
index 9af5aefb5..0ddb607f8 100644
--- a/ILSpy/TextView/DecompilerTextView.cs
+++ b/ILSpy/TextView/DecompilerTextView.cs
@@ -226,6 +226,10 @@ namespace ICSharpCode.ILSpy.TextView
if (waitAdorner.Visibility != Visibility.Visible) {
waitAdorner.Visibility = Visibility.Visible;
waitAdorner.BeginAnimation(OpacityProperty, new DoubleAnimation(0, 1, new Duration(TimeSpan.FromSeconds(0.5)), FillBehavior.Stop));
+ var taskBar = MainWindow.Instance.TaskbarItemInfo;
+ if (taskBar != null) {
+ taskBar.ProgressState = System.Windows.Shell.TaskbarItemProgressState.Indeterminate;
+ }
}
CancellationTokenSource previousCancellationTokenSource = currentCancellationTokenSource;
var myCancellationTokenSource = new CancellationTokenSource();
@@ -248,6 +252,10 @@ namespace ICSharpCode.ILSpy.TextView
if (currentCancellationTokenSource == myCancellationTokenSource) {
currentCancellationTokenSource = null;
waitAdorner.Visibility = Visibility.Collapsed;
+ var taskBar = MainWindow.Instance.TaskbarItemInfo;
+ if (taskBar != null) {
+ taskBar.ProgressState = System.Windows.Shell.TaskbarItemProgressState.None;
+ }
if (task.IsCanceled) {
AvalonEditTextOutput output = new AvalonEditTextOutput();
output.WriteLine("The operation was canceled.");