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.Navigation;
using System.Windows.Shapes;
using Tango.Core.DI;
using Tango.PPC.Common.Bit;
using Tango.PPC.Common.ThreadLoading;
namespace Tango.PPC.Events.EventsViews
{
///
/// Interaction logic for ThreadBreakView.xaml
///
public partial class BitFailedView : UserControl
{
public BitFailedView()
{
InitializeComponent();
btnViewBitResult.Click += BtnViewBitResult_Click;
}
private void BtnViewBitResult_Click(object sender, RoutedEventArgs e)
{
try
{
var bitManager = TangoIOC.Default.GetInstance();
if (bitManager != null)
{
bitManager.ShowBitResultsDialog();
}
}
catch (Exception ex)
{
Logging.LogManager.Default.Log(ex, "Error loading the thread break wizard.");
}
}
}
}