public SystemRecorderControl(SystemRecorderPlugin plugin)
        {
            InitializeComponent();

            mPlugin = plugin;
            mConfig = mPlugin.Config as ExperimentalConfig;

            updateFreq.Value = updateTimer.Interval;

            statsList.Columns.Add("Timestamp");
            foreach (var colName in mConfig.OutputKeys) {
                var col = statsList.Columns.Add(colName);
                col.Width = 30;
            }

            updateTimer.Enabled = true;
        }
Пример #2
0
        public SystemRecorderControl(SystemRecorderPlugin plugin)
        {
            InitializeComponent();

            mPlugin = plugin;
            mConfig = mPlugin.Config as ExperimentalConfig;

            updateFreq.Value = updateTimer.Interval;

            statsList.Columns.Add("Timestamp");
            foreach (var colName in mConfig.OutputKeys)
            {
                var col = statsList.Columns.Add(colName);
                col.Width = 30;
            }

            updateTimer.Enabled = true;
        }