예제 #1
0
        public SNMPView(int tabId, string host = null)
        {
            InitializeComponent();

            _viewModel = new SNMPViewModel(tabId, host);

            DataContext = _viewModel;
        }
예제 #2
0
        public SNMPView(int tabId, string host = null)
        {
            InitializeComponent();

            _viewModel = new SNMPViewModel(DialogCoordinator.Instance, tabId, host);

            DataContext = _viewModel;
        }