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; }
转载请注明:http://www.cnblogs.com/Rolends
HAPPY EVERY DAY ! !