Esempio n. 1
0
        // 会员登记
        private void tsbMemberAdd_Click(object sender, EventArgs e)
        {
            FrmMemberAdd frmMemberAdd = new FrmMemberAdd();

            frmMemberAdd.ShowDialog();
            frmMemberAdd.Dispose();
        }
Esempio n. 2
0
 // 点击登记会员时弹出对话框
 private void dgvCust_CellClick(object sender, DataGridViewCellEventArgs e)
 {
     if (e.ColumnIndex == 6)     // 登记会员
     {
         FrmMemberAdd frmMember = new FrmMemberAdd();
         frmMember.ShowDialog();
     }
 }