public MainForm() { InitializeComponent(); Controls.Clear(); Controls.Add(controlMain); // Bind events Core.Bot.I.OnMessageReceived += I_OnMessageReceived; Core.Bot.I.OnChannelChanged += I_OnChannelChanged; Core.TwitchAPI.I.OnFetched += I_OnFetched; // Define channel labels labelRibbonChannel.Text = "Chaîne : " + Core.Bot.I.CurrentChannel; labelChannel.Text = Core.Bot.I.CurrentChannel; // Define Plugins list listBoxPlugins.Items.Clear(); foreach (string plugin in Core.Bot.I.LoadedPlugins) { NPluginCheckBox checkBox = new NPluginCheckBox(plugin); listBoxPlugins.Items.Add(new NListBoxItem(checkBox.GetCheckBox())); } }