/* ====================================================================== * EVENT HANDLERS * ====================================================================== */ public ImageItem(common.Image imageItem) { InitializeComponent(); FillLanguage(); ImageDataItem = imageItem; ImageDataItem.PropertyChanged += new System.ComponentModel.PropertyChangedEventHandler(ImageDataItem_PropertyChanged); DataBind(); }
internal static void UnlockAspUserAsync(common.AspUser oldUser, UnlockAspUserCallBack callback) { Guid callerKey = Guid.NewGuid(); ApartmentServiceClient proxy = GetProxy(callerKey, callback); proxy.UnlockAspUserCompleted +=new EventHandler<UnlockAspUserCompletedEventArgs>(proxy_UnlockAspUserCompleted); proxy.UnlockAspUserAsync(oldUser, callerKey); }
internal static void SaveAspUserAsync(common.AspUser saveUser, SaveAspUserCallBack callback) { Guid callerKey = Guid.NewGuid(); ApartmentServiceClient proxy = GetProxy(callerKey, callback); proxy.SaveAspUserCompleted += new EventHandler<SaveAspUserCompletedEventArgs>(proxy_SaveAspUserCompleted); proxy.SaveAspUserAsync(saveUser, callerKey); }