aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.DataCapture/packages.config
blob: 73dae1a0cdc688fbe38d50869f087e09d366d569 (plain)
1
2
3
4
5
6
7
8
9
<?xml version="1.0" encoding="utf-8"?>
<packages>
  <package id="CommonServiceLocator" version="1.3" targetFramework="net46" />
  <package id="Expression.Blend.Sdk" version="1.0.2" targetFramework="net46" />
  <package id="Google.Protobuf" version="3.4.1" targetFramework="net46" />
  <package id="MahApps.Metro" version="1.5.0" targetFramework="net46" />
  <package id="MaterialDesignColors" version="1.1.2" targetFramework="net46" />
  <package id="MaterialDesignThemes" version="2.3.1.953" targetFramework="net46" />
</packages>
span class="nn">MahApps.Metro.Controls; using System; using System.Collections.Generic; using System.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(); } } }