public DamageSelecter(FullPagePhotoMV fullPagePhotoMV, PageAddDamage pageAddDamage) { this.pageAddDamage = pageAddDamage; FullPagePhotoMV = fullPagePhotoMV; InitializeComponent(); damageCollection.ItemsSource = collectionDamadge; }
public PageAddDamage(FullPagePhotoMV fullPagePhotoMV, FullPagePhoto fullPagePhoto, List <Xamarin.Forms.View> views = null) { this.fullPagePhoto = fullPagePhoto; FullPagePhotoMV = fullPagePhotoMV; InitializeComponent(); touchImage.Source = FullPagePhotoMV.SourseImage; Xamarin.Forms.NavigationPage.SetHasNavigationBar(this, false); On <iOS>().SetPrefersStatusBarHidden(StatusBarHiddenMode.True) .SetPreferredStatusBarUpdateAnimation(UIStatusBarAnimation.Fade); if (views != null) { foreach (var view in views) { view.Opacity = 0.5; absla.Children.Add(view); ((ImgResize)view).OneTabAction += AddControlPanelDmg; } } }
public FullPagePhoto(ManagerDispatchMob managerDispatchMob, VehiclwInformation vehiclwInformation, string idShip, string pngPaternPhoto, string typeCar, int photoIndex, InitDasbordDelegate initDasbordDelegate, GetVechicleDelegate getVechicleDelegate, string nameLayoute, string onDeliveryToCarrier, string totalPaymentToCarrier) { this.pngPaternPhoto = pngPaternPhoto; fullPagePhotoMV = new FullPagePhotoMV(managerDispatchMob, vehiclwInformation, idShip, typeCar, photoIndex, Navigation, initDasbordDelegate, getVechicleDelegate, onDeliveryToCarrier, totalPaymentToCarrier); InitializeComponent(); BindingContext = fullPagePhotoMV; paternPhoto.Source = pngPaternPhoto; dmla.IsVisible = false; Xamarin.Forms.NavigationPage.SetHasNavigationBar(this, false); if (fullPagePhotoMV.Car.TypeIndex != null && fullPagePhotoMV.Car.TypeIndex != "") { NameSelectPhoto.Text = $"{nameLayoute} - {photoIndex}/{fullPagePhotoMV.Car.CountCarImg}"; } else { NameSelectPhoto.Text = "--------------------"; } }
public RetakeFullPagePickedUp(FullPagePhotoMV fullPagePhotoMV, byte[] olPhoto) { this.fullPagePhotoMV = fullPagePhotoMV; this.olPhoto = olPhoto; }