public UpdateUserDialog(Action action, Guid userId) { InitializeComponent(); if (action != null) { succcessCallBack = new CallBackEventHandler(action); } this.userId = userId; InitializeUpdateUserInfo(userId); }
public GateWayRefreshQueue(CallBackEventHandler d_callback) { try { GateWayRefreshQueue.CBWork = new CallBackEventHandler(d_callback.Invoke); if (DBUrl.SERVERMODE) { this.con = this.getConnection(); } else { string connectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" + DBUrl.DEFAULT_HOST_PATH + ";Jet OLEDB:Database Password="******"DBERROR~~~~~~~~~~~DBERROR : " + ex.Message + "\n" + ex.StackTrace); } }