public void ClearAllClicked()
        {
            if (_view.ListReceivedPackets.Items.Count > 0)
                _view.ListReceivedPackets.Items.Clear();

            if (_view.TreePackedDetails.Nodes.Count > 0)
                _view.TreePackedDetails.Nodes.Clear();

            if (_view.ListOpenPorts.Items.Count > 0)
                _view.ListOpenPorts.Items.Clear();

            if (_pkgBuffer.Count > 0)
            {
                _pkgBuffer.Clear();
                _view.ProgressBufferusage.Value = 0;
                _view.Invoke(() => _view.SetBufferUsage("0"));
                _view.Invoke(() => _view.SetTotalPacketReceivedText("0"));
            }
        }