Example #1
0
        public void Start()
        {
            StartupInfo startupInfo = null;

            try
            {
                if (_view.SelectedBufferSize != -1 && _view.SelectedIPAddress != null)
                {
                    startupInfo = new StartupInfo(_view.SelectedIPAddress, _view.SelectedBufferSize);
                    //FrmAnalyzer.GetStartupInformation(startupInfo);
                    _view.SetStartupInformation(startupInfo);
                    _view.CloseDialog();
                }
                else
                {
                    _view.ShowMessage("Make sure that Ip address and the buffer size are selected");
                }
            }
            catch (Exception)
            {
            }
        }
Example #2
0
        public void Start()
        {
            StartupInfo startupInfo = null;

            try
            {
                if (_view.SelectedBufferSize != -1 && _view.SelectedIPAddress != null)
                {
                    startupInfo = new StartupInfo(_view.SelectedIPAddress, _view.SelectedBufferSize);
                    //FrmAnalyzer.GetStartupInformation(startupInfo);
                    _view.SetStartupInformation(startupInfo);
                    _view.CloseDialog();
                }
                else
                {
                    _view.ShowMessage("Datos incorrectos");
                }
            }
            catch (Exception)
            {
            }
        }