Example #1
0
        private void buttonHistory_Click(object sender, EventArgs e)
        {
            if (UserView.SelectedRows.Count == 0)
            {
                MessageBox.Show("내역을 볼 유저를 먼저 선택하십시오.");
                return;
            }

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

            MngCash mngCash = new MngCash();

            mngCash._UserId = userId;

            mngCash.ShowDialog();
        }
Example #2
0
        private void buttonHistory_Click_1(object sender, EventArgs e)
        {
            if (UserView.CurrentCell == null)
            {
                MessageBox.Show("请选择会员帐号.");
                return;
            }

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

            MngCash mngCash = new MngCash();

            mngCash._UserId = userInfo.Id;

            mngCash.ShowDialog();
        }