public frmMain() { _giftbll = new GiftBll(); _userbll = new UserBll(); _giftUserbll = new GiftUserBll(); InitializeComponent(); System.Windows.Forms.Control.CheckForIllegalCrossThreadCalls = false;//设置该属性 为false }
public frmGiftData() { _giftUserbll = new GiftUserBll(); InitializeComponent(); }