private void pictureBox1_DoubleClick(object sender, EventArgs e) { MemberPhotoList mpiList = MemberPhotoList.Create(); mpiList.UpdataPhotoEvent += UpdataPhoto; mpiList.Tag = txtCId.Text; mpiList.Show(); mpiList.Focus(); }
public static MemberPhotoList Create() { //判断是否存在 if (mil == null || mil.IsDisposed) { //新建 mil = new MemberPhotoList(); } //返回对象 return(mil); }