aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.FileSystem/Network/PerformDiskSpaceOptimizationResponse.cs
blob: 73cbbf5666b1d30eefdd0994c16f15516aef1cd2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Tango.FileSystem.Network
{
    public class PerformDiskSpaceOptimizationResponse
    {
        public long DeletedBytes { get; set; }
    }
}
w"> System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Imaging; using System.Windows.Shapes; namespace Tango.MachineStudio.UI.Console { /// <summary> /// Interaction logic for ConsoleWindow.xaml /// </summary> public partial class ConsoleWindow : MetroWindow { private ConsoleWindowVM _vm; public ConsoleWindow() { InitializeComponent(); this.Loaded += (_, __) => { _vm = this.DataContext as ConsoleWindowVM; _vm.SetLogTextBox(txtLog); }; } //Auto scroll to bottom of response log each time it is changed. private void TextBox_TextChanged(object sender, TextChangedEventArgs e) { txtLog.SelectionStart = txtLog.Text.Length; txtLog.ScrollToEnd(); } } }