Beispiel #1
0
 public static hyczck Create(memberInfoModel model, bind1 datbind)
 {
     bind   = datbind;
     model1 = model;
     if (_danli == null)
     {
         _danli = new hyczck();
     }
     return(_danli);
 }
Beispiel #2
0
        private void 会员充值ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            if (dataGridView1.SelectedRows.Count == 0)
            {
                MessageBox.Show("请选择会员!");
                return;
            }
            memberInfoModel model    = (memberInfoModel)dataGridView1.SelectedRows[0].DataBoundItem;
            hyczck          chongzhi = hyczck.Create(model, bindData);

            chongzhi.Show();
            chongzhi.Focus();
        }
Beispiel #3
0
 private void hyczck_FormClosed(object sender, FormClosedEventArgs e)
 {
     _danli = null;
 }