Пример #1
0
        private void sb_ok_Click(object sender, EventArgs e)
        {
            if (ck.checklist.CheckedItemsCount == 0)
            {
                MessageBox.Show("请先选择项目!", "提示", MessageBoxButtons.OK, MessageBoxIcon.Warning);
                return;
            }
            string cb001  = ck.checklist.SelectedValue.ToString();
            int    result = FireAction.FireApplyUserCombo(AC001,
                                                          cb001,
                                                          Envior.cur_userId
                                                          );

            if (result > 0)
            {
                DialogResult = DialogResult.OK;
                this.Close();
            }
        }