Exemplo n.º 1
0
        private void buttonNewCount_Click(object sender, EventArgs e)
        {
            if (UserView.SelectedRows.Count == 0)
            {
                MessageBox.Show("请选择会员帐号.");
                return;
            }

            string userId = UserView.SelectedRows[0].Cells["Id"].Value.ToString();

            MngEvaluation managerEvaluation = new MngEvaluation();

            managerEvaluation._UserId = userId;

            managerEvaluation.ShowDialog();
        }
Exemplo n.º 2
0
        private void buttonEvaluation_Click(object sender, EventArgs e)
        {
            if (UserView.CurrentCell == null)
            {
                MessageBox.Show("请选择会员帐号.");
                return;
            }

            UserInfo userInfo = (UserInfo)UserView.Rows[UserView.CurrentCell.RowIndex].Tag;

            MngEvaluation managerEvaluation = new MngEvaluation();

            managerEvaluation._UserId = userInfo.Id;

            managerEvaluation.ShowDialog();
        }