protected void btnSetupPolicy_Click(object sender, EventArgs e) { string IDs = this.GetCheckedValues(Common.Config.MainCheckboxName); if (IDs == String.Empty) { return; } ApiControl ac = Config.GetApIEngine(); ac.SetupBotsPolicy(IDs, Utils.GetInt(ddSitdownType_Policy.SelectedValue), Utils.GetInt(ddProcesses.SelectedValue), ApiTarget); }