aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.Integration/ExternalBridge/ExternalBridgeClientConnectedEventArgs.cs
blob: 176dae4b367afaa78e723690577b80c10d10fb10 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tango.PMR.Integration;

namespace Tango.Integration.ExternalBridge
{
    public class ExternalBridgeClientConnectedEventArgs : EventArgs
    {
        public ExternalBridgeLoginRequest Request { get; set; }

        public String Address { get; set; }

        public bool Confirmed { get; set; }
    }
}
n>; using Tango.MachineStudio.UI.ViewModels; namespace Tango.MachineStudio.UI.Windows { /// <summary> /// Interaction logic for ExceptionWindow.xaml /// </summary> public partial class ExceptionWindow : Window { public ExceptionResolutions Resolution { get; set; } public String Exception { get; set; } public RelayCommand<ExceptionResolutions> ResolveCommand { get; set; } public ExceptionWindow() { InitializeComponent(); DataContext = this; } public ExceptionWindow(Exception ex, bool canReport) : this() { Exception = ex.FlattenException(); ResolveCommand = new RelayCommand<ExceptionResolutions>(Resolve); if (!canReport) { btnReport.Visibility = Visibility.Collapsed; } } private void Resolve(ExceptionResolutions resolution) { Resolution = resolution; Close(); } } }