示例#1
0
        // Token: 0x0600053C RID: 1340 RVA: 0x00024865 File Offset: 0x00022A65
        private void Handle_Tapped_1(object sender, EventArgs e)
        {
            this.photo.Source        = null;
            this.closeIcon.IsVisible = false;
            TakePhotoHandler closed = this.Closed;

            if (closed == null)
            {
                return;
            }
            closed(new TakePhotoEventArgs
            {
                File = this.File
            });
        }
示例#2
0
        // Token: 0x0600053A RID: 1338 RVA: 0x000247F4 File Offset: 0x000229F4
        private static void OnFileChanged(BindableObject bindable, object oldValue, object newValue)
        {
            PhotoView photoView = bindable as PhotoView;

            if (newValue != null)
            {
                TakePhotoHandler finished = photoView.Finished;
                if (finished == null)
                {
                    return;
                }
                finished(new TakePhotoEventArgs
                {
                    File = photoView.File
                });
            }
        }