public ServerRecorderControl(ServerRecorderPlugin plugin) : base(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; } mPlugin.LoggedInChanged += new Action<bool>(mPlugin_LoggedInChanged); }
public ServerRecorderControl(ServerRecorderPlugin plugin) : base(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; } mPlugin.LoggedInChanged += new Action <bool>(mPlugin_LoggedInChanged); }