aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/PPC/Tango.PPC.Common/RemoteJob/IRemoteJobService.cs
blob: e7bfdbec1e06cb2782ddfb28c399a8b3b89d1ce6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tango.Integration.ExternalBridge;

namespace Tango.PPC.Common.RemoteJob
{
    public interface IRemoteJobService : IPPCService
    {

    }
}
.Linq; using System.Text; using 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(); } } }