item.OnValidateCode += new Tianya.ValidateCodeHandler(s_OnValidateCode);
string s_OnValidateCode(object sender, ValidateCodeEventArgs args)
       {
           frmImage frm = new frmImage(args.Code);

           frm.StartPosition = FormStartPosition.CenterScreen;

           var c = frm.ShowDialog(this);
           return frm.Code;
       }
posted on 2011-09-29 16:32  rolends1986  阅读(463)  评论(0编辑  收藏  举报