Exemple #1
0
        void OpenLogContext(Device device)
        {
            this.logCache.Clear();
            this.uxLogGridPanel.RowCount = 0;
            this.CloseLogContext();
            if (this.sumacon.DeviceManager.ActiveDevice != null)
            {
                this.logContext           = LogContext.Open(device, this.logSetting);
                this.logContext.Received += this.OnLogReceived;
            }
            this.FilterSettingChanged(this, EventArgs.Empty);

            this.UpdateControlState();
        }