Exemple #1
0
        //修改会员按钮
        private void tsbtnUpdateCust_Click(object sender, EventArgs e)
        {
            //如果没选中,则返回
            if (lvAdmin.SelectedItems.Count <= 0)
            {
                return;
            }
            AddEmployee ae = new AddEmployee(lvAdmin.SelectedItems[0].Text);

            ae.ShowDialog();
        }
Exemple #2
0
        //添加会员按钮
        private void tsbtnAddCust_Click(object sender, EventArgs e)
        {
            AddEmployee ae = new AddEmployee("");

            ae.ShowDialog();
        }