public FaultEventHandler()
        {
            InitializeComponent();
            string environment = "Production";

#if DEBUG
            environment = "Development";
            //_testInstanceId = "D288AB0B-40C1-4C99-83E8-FF9AC293E9F8";
#endif
            _accessDds = new AccessDDS(environment);
        }
Esempio n. 2
0
        public MainWindow()
        {
            InitializeComponent();
            AppDomain.CurrentDomain.UnhandledException += CurrentDomain_UnhandledException;
            _edtAssetSelectionControl = AssetFormHost.Child as AssetSelectionControl;
            _addressControl           = BashCollectorAddressHost.Child as IPAddressControl;
            _addressControl?.DataBindings.Add("Enabled", BashCollectorCheckBox, "IsChecked");

            string environment = "Production";

#if DEBUG
            environment = "Development";
#endif
            _accessDds = new AccessDDS(environment);
        }
 public FaultEventHandler(AccessDDS accessDds)
 {
     _testInstanceId = accessDds.TestInstanceId;
     _accessDds      = accessDds;
     InitializeComponent();
 }