private void backgroundWorker_RunModule(object sender, DoWorkEventArgs e, bot parent, Modules.Module module, string[] ex, string command, int nick_access, string nick, string channel, bool bot_command, string type) { module.control(parent, Conf, ex, command, nick_access, nick, channel, bot_command, type); }
private void backgroundWorker_RunModule(object sender, DoWorkEventArgs e, Modules.Module module, int index, string[] ex, string command, int nick_access, string nick, string channel, bool bot_command, string type) { BackgroundWorker bw = sender as BackgroundWorker; module.control(this, ref conf, index, ex, command, nick_access, nick, channel, bot_command, type); }