Exemple #1
0
 private void xiugaimember_FormClosed(object sender, FormClosedEventArgs e)
 {
     videoSourcePlayer1.SignalToStop();
     videoSourcePlayer1.WaitForStop();
     bdata();
     hyzj = null;
 }
Exemple #2
0
 public static xiugaimember Create(memberInfoModel model, binddata bindd)
 {
     bdata       = bindd;
     modelmember = model;
     if (hyzj == null)
     {
         hyzj = new xiugaimember();
     }
     return(hyzj);
 }
Exemple #3
0
        private void ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            if (dataGridView1.SelectedRows.Count == 0)
            {
                MessageBox.Show("请选择会员!");
                return;
            }
            //memberInfoModel model = list[id];
            memberInfoModel model   = (memberInfoModel)dataGridView1.SelectedRows[0].DataBoundItem;
            xiugaimember    xiugais = xiugaimember.Create(model, bindData);

            xiugais.Show();
            xiugais.Focus();
            //id = -1;
        }