public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/WindowsPhone8Demo;component/MainPage.xaml", System.UriKind.Relative)); this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot"))); this.Header = ((System.Windows.Controls.TextBlock)(this.FindName("Header"))); this.BarcodeImage = ((System.Windows.Controls.Image)(this.FindName("BarcodeImage"))); this.previewRect = ((System.Windows.Controls.Grid)(this.FindName("previewRect"))); this.previewVideo = ((System.Windows.Media.VideoBrush)(this.FindName("previewVideo"))); this.previewTransform = ((System.Windows.Media.CompositeTransform)(this.FindName("previewTransform"))); this.barCodeBorder = ((System.Windows.Controls.Border)(this.FindName("barCodeBorder"))); this.barcodeUITransform = ((System.Windows.Media.CompositeTransform)(this.FindName("barcodeUITransform"))); this.LayoutButtons = ((System.Windows.Controls.Grid)(this.FindName("LayoutButtons"))); this.OpenImageButton = ((System.Windows.Controls.Button)(this.FindName("OpenImageButton"))); this.CameraButton = ((System.Windows.Controls.Button)(this.FindName("CameraButton"))); this.GenerateButton = ((System.Windows.Controls.Button)(this.FindName("GenerateButton"))); this.BarcodeTypeLabel = ((System.Windows.Controls.TextBlock)(this.FindName("BarcodeTypeLabel"))); this.BarcodeType = ((System.Windows.Controls.ListBox)(this.FindName("BarcodeType"))); this.BarcodeTypeContent = ((System.Windows.Controls.TextBlock)(this.FindName("BarcodeTypeContent"))); this.BarcodeContent = ((System.Windows.Controls.TextBox)(this.FindName("BarcodeContent"))); }
public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/BookMemory;component/DetailPage.xaml", System.UriKind.Relative)); this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot"))); this.Panorama = ((Microsoft.Phone.Controls.Panorama)(this.FindName("Panorama"))); this.Image_BookImage = ((System.Windows.Controls.Image)(this.FindName("Image_BookImage"))); this.transform = ((System.Windows.Media.CompositeTransform)(this.FindName("transform"))); this.TextBox_Title = ((Microsoft.Phone.Controls.PhoneTextBox)(this.FindName("TextBox_Title"))); this.TextBox_EAN = ((Microsoft.Phone.Controls.PhoneTextBox)(this.FindName("TextBox_EAN"))); this.TextBox_Authors = ((Microsoft.Phone.Controls.PhoneTextBox)(this.FindName("TextBox_Authors"))); this.TextBox_Publisher = ((Microsoft.Phone.Controls.PhoneTextBox)(this.FindName("TextBox_Publisher"))); this.DatePicker_Publish = ((Microsoft.Phone.Controls.DatePicker)(this.FindName("DatePicker_Publish"))); this.TextBox_Price = ((Microsoft.Phone.Controls.PhoneTextBox)(this.FindName("TextBox_Price"))); this.TextBox_Currency = ((Microsoft.Phone.Controls.PhoneTextBox)(this.FindName("TextBox_Currency"))); this.TextBox_Language = ((Microsoft.Phone.Controls.PhoneTextBox)(this.FindName("TextBox_Language"))); this.TextBox_Type = ((Microsoft.Phone.Controls.PhoneTextBox)(this.FindName("TextBox_Type"))); this.Grid_Notice = ((System.Windows.Controls.Grid)(this.FindName("Grid_Notice"))); this.TextBlock_Notice = ((System.Windows.Controls.TextBlock)(this.FindName("TextBlock_Notice"))); this.ListPicker_Status = ((Microsoft.Phone.Controls.ListPicker)(this.FindName("ListPicker_Status"))); this.Rating_Rate = ((Microsoft.Phone.Controls.Rating)(this.FindName("Rating_Rate"))); this.DatePicker_Purchase = ((Microsoft.Phone.Controls.DatePicker)(this.FindName("DatePicker_Purchase"))); this.DatePicker_StartRead = ((Microsoft.Phone.Controls.DatePicker)(this.FindName("DatePicker_StartRead"))); this.DatePicker_FinishRead = ((Microsoft.Phone.Controls.DatePicker)(this.FindName("DatePicker_FinishRead"))); this.TextBlock_CreateDate = ((System.Windows.Controls.TextBlock)(this.FindName("TextBlock_CreateDate"))); this.TextBlock_CreateDayOfWeek = ((System.Windows.Controls.TextBlock)(this.FindName("TextBlock_CreateDayOfWeek"))); this.ScrollViewer_Note = ((System.Windows.Controls.ScrollViewer)(this.FindName("ScrollViewer_Note"))); this.TextBox_Note = ((Microsoft.Phone.Controls.PhoneTextBox)(this.FindName("TextBox_Note"))); this.SaveButton = ((Microsoft.Phone.Shell.ApplicationBarIconButton)(this.FindName("SaveButton"))); this.DownloadButton = ((Microsoft.Phone.Shell.ApplicationBarIconButton)(this.FindName("DownloadButton"))); }
private void ChangeModeExpanderOnCollapsed(object sender, RoutedEventArgs e) { ChangeModeGrid.Height = 100; ChangeModeExpander.Height = 73; var transform = new CompositeTransform {Rotation = -90}; IndicatorImage.RenderTransform = transform; }
public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/CameraSampleCS;component/Controls/Viewfinder.xaml", System.UriKind.Relative)); this.LivePreviewLayout = ((System.Windows.Controls.Grid)(this.FindName("LivePreviewLayout"))); this.AutoFocusInProgress = ((System.Windows.Media.Animation.Storyboard)(this.FindName("AutoFocusInProgress"))); this.AutoFocusLocked = ((System.Windows.Media.Animation.Storyboard)(this.FindName("AutoFocusLocked"))); this.PointFocusInProgress = ((System.Windows.Media.Animation.Storyboard)(this.FindName("PointFocusInProgress"))); this.PointFocusLocked = ((System.Windows.Media.Animation.Storyboard)(this.FindName("PointFocusLocked"))); this.LivePreview = ((System.Windows.Shapes.Rectangle)(this.FindName("LivePreview"))); this.LivePreviewTransform = ((System.Windows.Media.CompositeTransform)(this.FindName("LivePreviewTransform"))); this.PointFocusBrackets = ((System.Windows.Controls.Grid)(this.FindName("PointFocusBrackets"))); this.AutoFocusBrackets = ((System.Windows.Controls.Grid)(this.FindName("AutoFocusBrackets"))); this.ChromeLayout = ((System.Windows.Controls.Grid)(this.FindName("ChromeLayout"))); this.ShowArrowButton = ((System.Windows.Media.Animation.Storyboard)(this.FindName("ShowArrowButton"))); this.HideArrowButton = ((System.Windows.Media.Animation.Storyboard)(this.FindName("HideArrowButton"))); this.RotateArrowButtonToLandscape = ((System.Windows.Media.Animation.Storyboard)(this.FindName("RotateArrowButtonToLandscape"))); this.RotateArrowButtonToPortrait = ((System.Windows.Media.Animation.Storyboard)(this.FindName("RotateArrowButtonToPortrait"))); this.DisplayStatus = ((System.Windows.Media.Animation.Storyboard)(this.FindName("DisplayStatus"))); this.LeftArrowButton = ((System.Windows.Controls.Button)(this.FindName("LeftArrowButton"))); this.StatusText = ((System.Windows.Controls.TextBlock)(this.FindName("StatusText"))); this.ReviewLayout = ((System.Windows.Controls.Grid)(this.FindName("ReviewLayout"))); this.ReviewImageSlideOff = ((System.Windows.Media.Animation.Storyboard)(this.FindName("ReviewImageSlideOff"))); this.ReviewImageSlideOffTranslateStart = ((System.Windows.Media.Animation.EasingDoubleKeyFrame)(this.FindName("ReviewImageSlideOffTranslateStart"))); this.ReviewImageSlideOffTranslateEnd = ((System.Windows.Media.Animation.EasingDoubleKeyFrame)(this.FindName("ReviewImageSlideOffTranslateEnd"))); this.ReviewImage = ((System.Windows.Shapes.Rectangle)(this.FindName("ReviewImage"))); }
private void ChangeModeExpanderOnExpanded(object sender, RoutedEventArgs routedEventArgs) { ChangeModeGrid.Height = 530; ChangeModeExpander.Height = 530; var transform = new CompositeTransform { Rotation = 0 }; IndicatorImage.RenderTransform = transform; }
// Al soltar el circulo. Comprueba coordenadas. private void azul_ManipulationCompleted_1(object sender, ManipulationCompletedEventArgs e) { Ellipse elipse = sender as Ellipse; string nombreObjeto = (sender as Ellipse).Name; double elipsex = Canvas.GetLeft(rect) + e.TotalManipulation.Translation.X; double elipsey = Canvas.GetTop(rect) + e.TotalManipulation.Translation.Y; //Canvas.Left="130" Canvas.Top="138" Width="187" if (elipse.Name == "rojo" || elipse.Name == "azul" || elipse.Name == "amarillo") { if ((elipsex * -1) > 130 && (elipsex * -1) < 317) { CambiarColores(nombreObjeto, nombreAnterior); } } //?? else { if ((e.TotalManipulation.Translation.Y * -1) > 312 && (e.TotalManipulation.Translation.Y * -1) < 560) { CambiarColores(nombreObjeto, nombreAnterior); } } if (ver == 0) { nombreAnterior = (sender as Ellipse).Name; } elipse.RenderTransform = null; dragTranslation = new CompositeTransform(); }
public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/PhoneApp2;component/MainPage.xaml", System.UriKind.Relative)); this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot"))); this.lateral = ((System.Windows.Controls.Grid)(this.FindName("lateral"))); this.translateral = ((System.Windows.Media.Animation.Storyboard)(this.FindName("translateral"))); this.translateralback = ((System.Windows.Media.Animation.Storyboard)(this.FindName("translateralback"))); this.Xvalue = ((System.Windows.Media.CompositeTransform)(this.FindName("Xvalue"))); this.Scroller = ((System.Windows.Controls.ScrollViewer)(this.FindName("Scroller"))); this.zangief = ((System.Windows.Media.CompositeTransform)(this.FindName("zangief"))); this.translprinc = ((System.Windows.Media.Animation.Storyboard)(this.FindName("translprinc"))); this.translprincback = ((System.Windows.Media.Animation.Storyboard)(this.FindName("translprincback"))); this.griglia = ((System.Windows.Controls.Grid)(this.FindName("griglia"))); this.shadow = ((System.Windows.Shapes.Rectangle)(this.FindName("shadow"))); this.contenuto = ((System.Windows.Controls.Image)(this.FindName("contenuto"))); this.trasformX = ((System.Windows.Media.Animation.Storyboard)(this.FindName("trasformX"))); this.trasformY = ((System.Windows.Media.Animation.Storyboard)(this.FindName("trasformY"))); this.backX = ((System.Windows.Media.Animation.Storyboard)(this.FindName("backX"))); this.backY = ((System.Windows.Media.Animation.Storyboard)(this.FindName("backY"))); this.transtitle = ((System.Windows.Media.Animation.Storyboard)(this.FindName("transtitle"))); this.transtitleback = ((System.Windows.Media.Animation.Storyboard)(this.FindName("transtitleback"))); this.Title = ((System.Windows.Controls.Image)(this.FindName("Title"))); this.trasform = ((System.Windows.Media.CompositeTransform)(this.FindName("trasform"))); }
void Imagenes1_Loaded(object sender, RoutedEventArgs e) { re = new Recursos(); re.reporducirSonido("/Sonidos/Voces/PintarGatoPelota.mp3"); dragTranslation = new CompositeTransform(); }
public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/WPCandle;component/IndividualCandleControl.xaml", System.UriKind.Relative)); this.userControl = ((System.Windows.Controls.UserControl)(this.FindName("userControl"))); this.SlowFlickerStoryboard = ((System.Windows.Media.Animation.Storyboard)(this.FindName("SlowFlickerStoryboard"))); this.BurningStoryboard = ((System.Windows.Media.Animation.Storyboard)(this.FindName("BurningStoryboard"))); this.SideBobStoryboard = ((System.Windows.Media.Animation.Storyboard)(this.FindName("SideBobStoryboard"))); this.SideBobStoryboard2 = ((System.Windows.Media.Animation.Storyboard)(this.FindName("SideBobStoryboard2"))); this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot"))); this.VisualStateGroup = ((System.Windows.VisualStateGroup)(this.FindName("VisualStateGroup"))); this.WhiteVisualState = ((System.Windows.VisualState)(this.FindName("WhiteVisualState"))); this.BlueVisualState = ((System.Windows.VisualState)(this.FindName("BlueVisualState"))); this.FuchsiaVisualState = ((System.Windows.VisualState)(this.FindName("FuchsiaVisualState"))); this.OrangeVisualState = ((System.Windows.VisualState)(this.FindName("OrangeVisualState"))); this.GreenVisualState = ((System.Windows.VisualState)(this.FindName("GreenVisualState"))); this.PurpleVisualState = ((System.Windows.VisualState)(this.FindName("PurpleVisualState"))); this.BlackVisualState = ((System.Windows.VisualState)(this.FindName("BlackVisualState"))); this.RedVisualState = ((System.Windows.VisualState)(this.FindName("RedVisualState"))); this.ContentPanel = ((System.Windows.Controls.Grid)(this.FindName("ContentPanel"))); this.Candle = ((System.Windows.Controls.Grid)(this.FindName("Candle"))); this.FlameContainerRotation = ((System.Windows.Controls.Grid)(this.FindName("FlameContainerRotation"))); this.FlameRotationCT = ((System.Windows.Media.CompositeTransform)(this.FindName("FlameRotationCT"))); this.HalosGridRotation = ((System.Windows.Controls.Grid)(this.FindName("HalosGridRotation"))); this.grid = ((System.Windows.Controls.Grid)(this.FindName("grid"))); this.HaloGeneral = ((System.Windows.Shapes.Ellipse)(this.FindName("HaloGeneral"))); this.Halo = ((System.Windows.Shapes.Ellipse)(this.FindName("Halo"))); this.FlameGrid = ((System.Windows.Controls.Grid)(this.FindName("FlameGrid"))); this.BitmapFlame = ((System.Windows.Controls.Grid)(this.FindName("BitmapFlame"))); this.ellipse = ((System.Windows.Shapes.Ellipse)(this.FindName("ellipse"))); this.BottomShadowGrid = ((System.Windows.Controls.Grid)(this.FindName("BottomShadowGrid"))); this.BottomShadow = ((System.Windows.Shapes.Ellipse)(this.FindName("BottomShadow"))); this.BottomGrid = ((System.Windows.Controls.Grid)(this.FindName("BottomGrid"))); this.Bottom = ((System.Windows.Shapes.Ellipse)(this.FindName("Bottom"))); this.BodyGrid = ((System.Windows.Controls.Grid)(this.FindName("BodyGrid"))); this.Body = ((System.Windows.Shapes.Rectangle)(this.FindName("Body"))); this.GlowsGrid = ((System.Windows.Controls.Grid)(this.FindName("GlowsGrid"))); this.CandleHaloGrid = ((System.Windows.Controls.Grid)(this.FindName("CandleHaloGrid"))); this.CandleHaloGlow = ((System.Windows.Shapes.Rectangle)(this.FindName("CandleHaloGlow"))); this.CandleWickZone = ((System.Windows.Shapes.Ellipse)(this.FindName("CandleWickZone"))); this.MecheGrid = ((System.Windows.Controls.Grid)(this.FindName("MecheGrid"))); this.OrnamentsGrid = ((System.Windows.Controls.Grid)(this.FindName("OrnamentsGrid"))); this.Ornaments = ((System.Windows.Controls.Grid)(this.FindName("Ornaments"))); this.path = ((System.Windows.Shapes.Path)(this.FindName("path"))); this.path1 = ((System.Windows.Shapes.Path)(this.FindName("path1"))); this.path2 = ((System.Windows.Shapes.Path)(this.FindName("path2"))); this.path3 = ((System.Windows.Shapes.Path)(this.FindName("path3"))); this.path4 = ((System.Windows.Shapes.Path)(this.FindName("path4"))); this.path5 = ((System.Windows.Shapes.Path)(this.FindName("path5"))); this.path6 = ((System.Windows.Shapes.Path)(this.FindName("path6"))); this.path7 = ((System.Windows.Shapes.Path)(this.FindName("path7"))); this.path8 = ((System.Windows.Shapes.Path)(this.FindName("path8"))); this.path9 = ((System.Windows.Shapes.Path)(this.FindName("path9"))); this.path10 = ((System.Windows.Shapes.Path)(this.FindName("path10"))); this.path11 = ((System.Windows.Shapes.Path)(this.FindName("path11"))); }
public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/44-BoxingGlove;component/MainPage.xaml", System.UriKind.Relative)); this.ImageTransform = ((System.Windows.Media.CompositeTransform)(this.FindName("ImageTransform"))); }
public Ficha() { transform = new CompositeTransform(); this.ManipulationStarted += InicioManipulacion; this.ManipulationDelta += Manipulacion; this.ManipulationCompleted += FinManipulacion; this.RenderTransform = transform; }
void TouchFrameReported(object sender, TouchFrameEventArgs e) { while (TouchPanel.IsGestureAvailable) { GestureSample gestureSample = TouchPanel.ReadGesture(); if(gestureSample.GestureType == GestureType.Pinch) { if(!_isScaleStarted) { _compositeTransform = new CompositeTransform(); Transforms.Children.Add(_compositeTransform); _compositeTransform.CenterX = (gestureSample.Position.X + gestureSample.Position2.X) / 2; _compositeTransform.CenterY = (gestureSample.Position.Y + gestureSample.Position2.Y) / 2; _gestWidth = Math.Abs(gestureSample.Position.X - gestureSample.Position2.X); _gestHeight = Math.Abs(gestureSample.Position.Y - gestureSample.Position2.Y); _isScaleStarted = true; } else { //if (Transforms.Children.OfType<CompositeTransform>().Select(x=>x.ScaleX).Multiplication() >= 1) { _compositeTransform.ScaleX = Math.Abs(gestureSample.Position.X - gestureSample.Position2.X) / _gestWidth; } //if (Transforms.Children.OfType<CompositeTransform>().Select(x => x.ScaleY).Multiplication() >= 1) { _compositeTransform.ScaleY = Math.Abs(gestureSample.Position.Y - gestureSample.Position2.Y) / _gestHeight; } } } else if(gestureSample.GestureType == GestureType.PinchComplete) { _isScaleStarted = false; } else if (gestureSample.GestureType == GestureType.VerticalDrag || gestureSample.GestureType == GestureType.HorizontalDrag || gestureSample.GestureType == GestureType.FreeDrag) { if(!_isDrugStarted) { _compositeTransform = new CompositeTransform(); _drugPosition = gestureSample.Position; Transforms.Children.Add(_compositeTransform); _isDrugStarted = true; } else { _compositeTransform.TranslateX = gestureSample.Position.X - _drugPosition.X; _compositeTransform.TranslateY = gestureSample.Position.Y - _drugPosition.Y; } } else if (gestureSample.GestureType == GestureType.DragComplete) { _isDrugStarted = false; } } }
private void Transform() { CompositeTransform compositeTransform = new CompositeTransform(); compositeTransform.Rotation = _angle; compositeTransform.CenterY = _arrowImage.Height/2; compositeTransform.TranslateX = _position.X; compositeTransform.TranslateY = _position.Y; _arrowImage.RenderTransform = compositeTransform; }
public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/PhoneApp2;component/MainPage.xaml", System.UriKind.Relative)); this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot"))); this.lateral = ((System.Windows.Controls.Grid)(this.FindName("lateral"))); this.translateral = ((System.Windows.Media.Animation.Storyboard)(this.FindName("translateral"))); this.translateralback = ((System.Windows.Media.Animation.Storyboard)(this.FindName("translateralback"))); this.Xvalue = ((System.Windows.Media.CompositeTransform)(this.FindName("Xvalue"))); this.news = ((System.Windows.Controls.TextBlock)(this.FindName("news"))); this.soft = ((System.Windows.Controls.TextBlock)(this.FindName("soft"))); this.autor = ((System.Windows.Controls.TextBlock)(this.FindName("autor"))); this.about = ((System.Windows.Controls.TextBlock)(this.FindName("about"))); this.image = ((System.Windows.Controls.Image)(this.FindName("image"))); this.image_Copy = ((System.Windows.Controls.Image)(this.FindName("image_Copy"))); this.image_Copy1 = ((System.Windows.Controls.Image)(this.FindName("image_Copy1"))); this.Scroller = ((System.Windows.Controls.ScrollViewer)(this.FindName("Scroller"))); this.scollertransform = ((System.Windows.Media.CompositeTransform)(this.FindName("scollertransform"))); this.translprinc = ((System.Windows.Media.Animation.Storyboard)(this.FindName("translprinc"))); this.translprincback = ((System.Windows.Media.Animation.Storyboard)(this.FindName("translprincback"))); this.griglia = ((System.Windows.Controls.Grid)(this.FindName("griglia"))); this.SoftScroller = ((System.Windows.Controls.ScrollViewer)(this.FindName("SoftScroller"))); this.Software = ((System.Windows.Controls.Grid)(this.FindName("Software"))); this.Autor = ((System.Windows.Controls.Grid)(this.FindName("Autor"))); this.ErrorGrid = ((System.Windows.Controls.Grid)(this.FindName("ErrorGrid"))); this.ErrorIn = ((System.Windows.Media.Animation.Storyboard)(this.FindName("ErrorIn"))); this.ErrorOut = ((System.Windows.Media.Animation.Storyboard)(this.FindName("ErrorOut"))); this.ReloadButton = ((System.Windows.Controls.Button)(this.FindName("ReloadButton"))); this.title = ((System.Windows.Controls.Grid)(this.FindName("title"))); this.uptit = ((System.Windows.Media.Animation.Storyboard)(this.FindName("uptit"))); this.titlerectin = ((System.Windows.Media.Animation.Storyboard)(this.FindName("titlerectin"))); this.titlerectout = ((System.Windows.Media.Animation.Storyboard)(this.FindName("titlerectout"))); this.titleleft = ((System.Windows.Media.Animation.Storyboard)(this.FindName("titleleft"))); this.titleright = ((System.Windows.Media.Animation.Storyboard)(this.FindName("titleright"))); this.downtit = ((System.Windows.Media.Animation.Storyboard)(this.FindName("downtit"))); this.barpress = ((System.Windows.Media.Animation.Storyboard)(this.FindName("barpress"))); this.rotate = ((System.Windows.Media.Animation.Storyboard)(this.FindName("rotate"))); this.barpressback = ((System.Windows.Media.Animation.Storyboard)(this.FindName("barpressback"))); this.rotateback = ((System.Windows.Media.Animation.Storyboard)(this.FindName("rotateback"))); this.trasformY = ((System.Windows.Media.Animation.Storyboard)(this.FindName("trasformY"))); this.backX = ((System.Windows.Media.Animation.Storyboard)(this.FindName("backX"))); this.backY = ((System.Windows.Media.Animation.Storyboard)(this.FindName("backY"))); this.transtitle = ((System.Windows.Media.Animation.Storyboard)(this.FindName("transtitle"))); this.transtitleback = ((System.Windows.Media.Animation.Storyboard)(this.FindName("transtitleback"))); this.Title = ((System.Windows.Controls.TextBlock)(this.FindName("Title"))); this.titletrans = ((System.Windows.Media.CompositeTransform)(this.FindName("titletrans"))); this.brush = ((System.Windows.Media.SolidColorBrush)(this.FindName("brush"))); this.titlerect = ((System.Windows.Shapes.Rectangle)(this.FindName("titlerect"))); this.bar1 = ((System.Windows.Media.CompositeTransform)(this.FindName("bar1"))); this.bar2 = ((System.Windows.Controls.Image)(this.FindName("bar2"))); this.bar3 = ((System.Windows.Media.CompositeTransform)(this.FindName("bar3"))); }
protected GameScreen() { ScreenState = ScreenState.TransitionOn; TransitionPosition = 1; TransitionOffTime = TimeSpan.FromSeconds(0.5); TransitionOnTime = TimeSpan.FromSeconds(0.5); DebugCanvas = null; TxtDebug = null; Transform = new CompositeTransform(); }
private void AnimateOneItem(object sender, GestureEventArgs e) { var grid = sender as Grid; if (null != grid) { var ct = new CompositeTransform(); ct.TranslateX = 10; grid.RenderTransform = ct; _temp = grid; } }
private CompositeTransform CreateDefaultScaleTransform(FrameworkElement uie) { CompositeTransform trans = new CompositeTransform(); double xScale = _zoomer.ZoomableContent.ActualWidth / uie.ActualWidth; double yScale = _zoomer.ZoomableContent.ActualHeight / uie.ActualHeight; if (!double.IsInfinity(xScale) || !double.IsInfinity(yScale)) { trans.ScaleX = trans.ScaleY = Math.Min(xScale, yScale); } return trans; }
protected override void OnNavigatedFrom(System.Windows.Navigation.NavigationEventArgs e) { if (_temp != null ) { var ct = new CompositeTransform(); ct.TranslateX = -10; _temp.RenderTransform = ct; _temp = null; } base.OnNavigatedFrom(e); }
public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/SmartLib;component/ScanPage2.xaml", System.UriKind.Relative)); this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot"))); this._previewRect = ((System.Windows.Shapes.Rectangle)(this.FindName("_previewRect"))); this.previewVideo = ((System.Windows.Media.VideoBrush)(this.FindName("previewVideo"))); this._previewTransform = ((System.Windows.Media.CompositeTransform)(this.FindName("_previewTransform"))); }
public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/MySchoolApp;component/CampusMapPage.xaml", System.UriKind.Relative)); this.pageImage = ((Microsoft.Phone.Controls.PhoneApplicationPage)(this.FindName("pageImage"))); this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot"))); this.MyImage = ((System.Windows.Controls.Image)(this.FindName("MyImage"))); this.transform = ((System.Windows.Media.CompositeTransform)(this.FindName("transform"))); }
public static BitmapImage GetBitmapImage(int[] ImageSrc) { var wb = new WriteableBitmap(100, 100); for (int i = 0; i < wb.Pixels.Length; i++) { wb.Pixels[i] = 0xFF3300; } var bmp = new BitmapImage(); using (var ms = new MemoryStream()) { wb.SaveJpeg(ms, 100, 100, 0, 100); bmp.SetSource(ms); } var bi = new BitmapImage(); if (ImageSrc != null && ImageSrc.Length >= 0) { var ris = new WriteableBitmap(450, 250); //get image from database for (int i = 0; i < ImageSrc.Length; i++) { ris.Pixels[i] = ImageSrc[i]; } //put the image in a WritableBitmap using (var ms = new MemoryStream()) { ris.SaveJpeg(ms, 450, 250, 0, 100); bi.SetSource(ms); } //crop the image to 100x100 and centered var img = new Image { Source = bi, Width = 450, Height = 250 }; var wb2 = new WriteableBitmap(100, 100); var t = new CompositeTransform { ScaleX = 0.5, ScaleY = 0.5, TranslateX = -((450 / 2) / 2 - 50), TranslateY = -((250 / 2) / 2 - 50) }; wb2.Render(img, t); wb2.Invalidate(); bi = new BitmapImage(); using (var ms = new MemoryStream()) { wb2.SaveJpeg(ms, 100, 100, 0, 100); bi.SetSource(ms); } //BitmapImage bi is now cropped } else { bi = bmp; //Default image. } return bi; }
public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/PhoneToolkitSample;component/Samples/GestureSample.xaml", System.UriKind.Relative)); this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot"))); this.ContentPanel = ((System.Windows.Controls.Grid)(this.FindName("ContentPanel"))); this.flickData = ((System.Windows.Controls.TextBlock)(this.FindName("flickData"))); this.border = ((System.Windows.Controls.Border)(this.FindName("border"))); this.transform = ((System.Windows.Media.CompositeTransform)(this.FindName("transform"))); }
public static ImageSource RotateDynaImage(ImageSource imageSrc, double Angle) { Image image = new Image(); image.Source = imageSrc; CompositeTransform RT = new CompositeTransform(); RT = (CompositeTransform)image.RenderTransform; RT.Rotation += Angle; image.RenderTransform = RT; return image.Source; }
public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/PDIS;component/chroma.xaml", System.UriKind.Relative)); this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot"))); this.ContentPanel = ((System.Windows.Controls.Grid)(this.FindName("ContentPanel"))); this.BackgroundMediaElement = ((System.Windows.Controls.MediaElement)(this.FindName("BackgroundMediaElement"))); this.FilteredImage = ((System.Windows.Controls.Image)(this.FindName("FilteredImage"))); this.FilteredImageTransform = ((System.Windows.Media.CompositeTransform)(this.FindName("FilteredImageTransform"))); }
public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/Lockscreen%20Swap;component/Pages/ImageViewer.xaml", System.UriKind.Relative)); this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot"))); this.image = ((System.Windows.Controls.Image)(this.FindName("image"))); this.transform = ((System.Windows.Media.CompositeTransform)(this.FindName("transform"))); }
public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/ARSampleApp;component/MainPage.xaml", System.UriKind.Relative)); this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot"))); this.videoRectangle = ((System.Windows.Shapes.Rectangle)(this.FindName("videoRectangle"))); this.viewfinderBrush = ((System.Windows.Media.VideoBrush)(this.FindName("viewfinderBrush"))); this.videoBrushTransform = ((System.Windows.Media.CompositeTransform)(this.FindName("videoBrushTransform"))); this.arPanel = ((SharpGIS.AR.Controls.ARPanel)(this.FindName("arPanel"))); }
public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/Lector%20Codigos;component/MainPage.xaml", System.UriKind.Relative)); this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot"))); this._previewRect = ((System.Windows.Shapes.Rectangle)(this.FindName("_previewRect"))); this._previewVideo = ((System.Windows.Media.VideoBrush)(this.FindName("_previewVideo"))); this._previewTransform = ((System.Windows.Media.CompositeTransform)(this.FindName("_previewTransform"))); this._matchesList = ((System.Windows.Controls.ListBox)(this.FindName("_matchesList"))); }
public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/BloodType;component/Views/ImagePreviewView.xaml", System.UriKind.Relative)); this.ContentPanel = ((System.Windows.Controls.Grid)(this.FindName("ContentPanel"))); this.screenArea = ((System.Windows.Controls.Canvas)(this.FindName("screenArea"))); this.BackgroundImage = ((System.Windows.Controls.Image)(this.FindName("BackgroundImage"))); this.MyMustacheTransformation = ((System.Windows.Media.CompositeTransform)(this.FindName("MyMustacheTransformation"))); this.TB1 = ((System.Windows.Controls.TextBlock)(this.FindName("TB1"))); }
public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/SquareCamera;component/CameraPage.xaml", System.UriKind.Relative)); this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot"))); this.ContentPanel = ((System.Windows.Controls.Grid)(this.FindName("ContentPanel"))); this.ViewFinder = ((System.Windows.Controls.Grid)(this.FindName("ViewFinder"))); this.cameraViewFinder = ((System.Windows.Media.VideoBrush)(this.FindName("cameraViewFinder"))); this.previewTransform = ((System.Windows.Media.CompositeTransform)(this.FindName("previewTransform"))); this.CaptureButton = ((Microsoft.Phone.Shell.ApplicationBarIconButton)(this.FindName("CaptureButton"))); }
public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/GPSWithFriends;component/PopupContainer.xaml", System.UriKind.Relative)); this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot"))); this.mask = ((System.Windows.Shapes.Rectangle)(this.FindName("mask"))); this.popupArea = ((System.Windows.Controls.Grid)(this.FindName("popupArea"))); this.popupTransform = ((System.Windows.Media.CompositeTransform)(this.FindName("popupTransform"))); this.contentArea = ((System.Windows.Controls.Grid)(this.FindName("contentArea"))); this.shadow = ((System.Windows.Shapes.Rectangle)(this.FindName("shadow"))); }
public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/My_Note;component/Other/ShowImage.xaml", System.UriKind.Relative)); this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot"))); this.ContentPanel = ((System.Windows.Controls.Grid)(this.FindName("ContentPanel"))); this.ShowImageControler = ((System.Windows.Controls.Image)(this.FindName("ShowImageControler"))); this.imgTransGroup = ((System.Windows.Media.TransformGroup)(this.FindName("imgTransGroup"))); this.imgScale = ((System.Windows.Media.CompositeTransform)(this.FindName("imgScale"))); this.imgTrans = ((System.Windows.Media.TranslateTransform)(this.FindName("imgTrans"))); }
public DebugViewSilverlight(Canvas debugCanvas, TextBlock txtDebug, World world) : base(world) { _debugCanvas = debugCanvas; _txtDebug = txtDebug; if (world != null) world.ContactManager.PreSolve += PreSolve; Transform = new CompositeTransform(); //Default flags AppendFlags(DebugViewFlags.Shape); AppendFlags(DebugViewFlags.Joint); }
public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/site2App.WP8;component/MainPage.xaml", System.UriKind.Relative)); this.RotateStoryboard = ((System.Windows.Media.Animation.Storyboard)(this.FindName("RotateStoryboard"))); this.RotateAnimation = ((System.Windows.Media.Animation.DoubleAnimation)(this.FindName("RotateAnimation"))); this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot"))); this.ContentPanel = ((System.Windows.Controls.Grid)(this.FindName("ContentPanel"))); this.Browser = ((Microsoft.Phone.Controls.WebBrowser)(this.FindName("Browser"))); this.compTransform = ((System.Windows.Media.CompositeTransform)(this.FindName("compTransform"))); }
public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/ServiciosRest;component/QR.xaml", System.UriKind.Relative)); this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot"))); this._previewRect = ((System.Windows.Shapes.Rectangle)(this.FindName("_previewRect"))); this._previewVideo = ((System.Windows.Media.VideoBrush)(this.FindName("_previewVideo"))); this._previewTransform = ((System.Windows.Media.CompositeTransform)(this.FindName("_previewTransform"))); this.lblQR = ((System.Windows.Controls.TextBlock)(this.FindName("lblQR"))); this.lblTitulo = ((System.Windows.Controls.TextBlock)(this.FindName("lblTitulo"))); this._matchesList = ((System.Windows.Controls.ListBox)(this.FindName("_matchesList"))); }
public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/InterVehicleFleetDriver;component/MainMenu.xaml", System.UriKind.Relative)); this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot"))); this.txtStatus = ((System.Windows.Controls.TextBlock)(this.FindName("txtStatus"))); this.map1 = ((Microsoft.Phone.Controls.Maps.Map)(this.FindName("map1"))); this.viewfinderCanvas = ((System.Windows.Controls.Canvas)(this.FindName("viewfinderCanvas"))); this.viewfinderBrush = ((System.Windows.Media.VideoBrush)(this.FindName("viewfinderBrush"))); this.viewfinderTransform = ((System.Windows.Media.CompositeTransform)(this.FindName("viewfinderTransform"))); this.txtMessage = ((System.Windows.Controls.TextBlock)(this.FindName("txtMessage"))); }
public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/WINDOWSPHONE8;component/CameraPage.xaml", System.UriKind.Relative)); this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot"))); this.viewfinderCanvas = ((System.Windows.Controls.Canvas)(this.FindName("viewfinderCanvas"))); this.viewfinderBrush = ((System.Windows.Media.VideoBrush)(this.FindName("viewfinderBrush"))); this.viewfinderTransform = ((System.Windows.Media.CompositeTransform)(this.FindName("viewfinderTransform"))); this.focusBrackets = ((System.Windows.Controls.TextBlock)(this.FindName("focusBrackets"))); this.txtMessage = ((System.Windows.Controls.TextBlock)(this.FindName("txtMessage"))); this.AFButton = ((System.Windows.Controls.Button)(this.FindName("AFButton"))); }
public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/ServiciosRest;component/MainPage.xaml", System.UriKind.Relative)); this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot"))); this._previewRect = ((System.Windows.Shapes.Rectangle)(this.FindName("_previewRect"))); this._previewVideo = ((System.Windows.Media.VideoBrush)(this.FindName("_previewVideo"))); this._previewTransform = ((System.Windows.Media.CompositeTransform)(this.FindName("_previewTransform"))); this._matchesList = ((System.Windows.Controls.ListBox)(this.FindName("_matchesList"))); }
public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/BoothLeads;component/blQRCodeScanner.xaml", System.UriKind.Relative)); this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot"))); this.TitlePanel = ((System.Windows.Controls.StackPanel)(this.FindName("TitlePanel"))); this.ContentPanel = ((System.Windows.Controls.Grid)(this.FindName("ContentPanel"))); this._previewRect = ((System.Windows.Shapes.Rectangle)(this.FindName("_previewRect"))); this._previewVideo = ((System.Windows.Media.VideoBrush)(this.FindName("_previewVideo"))); this._previewTransform = ((System.Windows.Media.CompositeTransform)(this.FindName("_previewTransform"))); this._matchesList = ((System.Windows.Controls.ListBox)(this.FindName("_matchesList"))); }
public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/SimpleScanner;component/Capture.xaml", System.UriKind.Relative)); this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot"))); this.viewfinderCanvas = ((System.Windows.Controls.Canvas)(this.FindName("viewfinderCanvas"))); this.viewfinderBrush = ((System.Windows.Media.VideoBrush)(this.FindName("viewfinderBrush"))); this.viewfinderTransform = ((System.Windows.Media.CompositeTransform)(this.FindName("viewfinderTransform"))); this.focusBrackets = ((System.Windows.Controls.TextBlock)(this.FindName("focusBrackets"))); }
public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/Tesis;component/Escaner.xaml", System.UriKind.Relative)); this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot"))); this.ContentPanel = ((System.Windows.Controls.Grid)(this.FindName("ContentPanel"))); this.videoBrush = ((System.Windows.Media.VideoBrush)(this.FindName("videoBrush"))); this.compositeTransform = ((System.Windows.Media.CompositeTransform)(this.FindName("compositeTransform"))); this._matchetList = ((System.Windows.Controls.ListBox)(this.FindName("_matchetList"))); this.ContentPanel2 = ((System.Windows.Controls.Grid)(this.FindName("ContentPanel2"))); }
public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/BarCamp;component/Pages/ScanQRPage.xaml", System.UriKind.Relative)); this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot"))); this.previewRect = ((System.Windows.Controls.Grid)(this.FindName("previewRect"))); this.previewVideo = ((System.Windows.Media.VideoBrush)(this.FindName("previewVideo"))); this.previewTransform = ((System.Windows.Media.CompositeTransform)(this.FindName("previewTransform"))); this.barCodeBorder = ((System.Windows.Controls.Border)(this.FindName("barCodeBorder"))); this.barcodeUITransform = ((System.Windows.Media.CompositeTransform)(this.FindName("barcodeUITransform"))); }
public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/JREndean.HIP.Client.WP7;component/SingleCameraPage.xaml", System.UriKind.Relative)); this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot"))); this.TitlePanel = ((System.Windows.Controls.StackPanel)(this.FindName("TitlePanel"))); this.ApplicationTitle = ((System.Windows.Controls.TextBlock)(this.FindName("ApplicationTitle"))); this.PageTitle = ((System.Windows.Controls.TextBlock)(this.FindName("PageTitle"))); this.ContentPanel = ((System.Windows.Controls.Grid)(this.FindName("ContentPanel"))); this.CameraImage = ((System.Windows.Controls.Image)(this.FindName("CameraImage"))); this.transform = ((System.Windows.Media.CompositeTransform)(this.FindName("transform"))); }
public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/Rayzit;component/Pages/Attachments/Attachments.xaml", System.UriKind.Relative)); this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot"))); this.PageTitle = ((System.Windows.Controls.StackPanel)(this.FindName("PageTitle"))); this.ContentPanel = ((System.Windows.Controls.Grid)(this.FindName("ContentPanel"))); this.AttachmentsGridSelector = ((Microsoft.Phone.Controls.LongListMultiSelector)(this.FindName("AttachmentsGridSelector"))); this.ZoomGrid = ((System.Windows.Controls.Grid)(this.FindName("ZoomGrid"))); this.ZoomImage = ((System.Windows.Controls.Image)(this.FindName("ZoomImage"))); this.ImageTransformation = ((System.Windows.Media.CompositeTransform)(this.FindName("ImageTransformation"))); }
public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/Remote%20Control;component/SynchronizationPage.xaml", System.UriKind.Relative)); this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot"))); this.TitlePanel = ((System.Windows.Controls.StackPanel)(this.FindName("TitlePanel"))); this.title = ((System.Windows.Controls.TextBlock)(this.FindName("title"))); this.ContentPanel = ((System.Windows.Controls.Grid)(this.FindName("ContentPanel"))); this.previewRect = ((System.Windows.Shapes.Rectangle)(this.FindName("previewRect"))); this.previewVideo = ((System.Windows.Media.VideoBrush)(this.FindName("previewVideo"))); this.previewTransform = ((System.Windows.Media.CompositeTransform)(this.FindName("previewTransform"))); }
public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/Chameleon;component/View/PicturePage.xaml", System.UriKind.Relative)); this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot"))); this.ContentPanel = ((System.Windows.Controls.Grid)(this.FindName("ContentPanel"))); this.imgName = ((System.Windows.Controls.TextBlock)(this.FindName("imgName"))); this.ImgDetail = ((System.Windows.Controls.Image)(this.FindName("ImgDetail"))); this.transform = ((System.Windows.Media.CompositeTransform)(this.FindName("transform"))); this.ImgFrame = ((System.Windows.Controls.Image)(this.FindName("ImgFrame"))); this.LoadingProgressBar = ((System.Windows.Controls.Grid)(this.FindName("LoadingProgressBar"))); this.LoadingText = ((System.Windows.Controls.TextBlock)(this.FindName("LoadingText"))); }
public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/PhoneToolkitSample;component/Samples/GestureSample.xaml", System.UriKind.Relative)); this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot"))); this.TitlePanel = ((System.Windows.Controls.StackPanel)(this.FindName("TitlePanel"))); this.ApplicationTitle = ((System.Windows.Controls.TextBlock)(this.FindName("ApplicationTitle"))); this.PageTitle = ((System.Windows.Controls.TextBlock)(this.FindName("PageTitle"))); this.ContentPanel = ((System.Windows.Controls.Grid)(this.FindName("ContentPanel"))); this.flickData = ((System.Windows.Controls.TextBlock)(this.FindName("flickData"))); this.border = ((System.Windows.Controls.Border)(this.FindName("border"))); this.transform = ((System.Windows.Media.CompositeTransform)(this.FindName("transform"))); }
public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/MyApp;component/Pages/AddPictures.xaml", System.UriKind.Relative)); this.grMain = ((System.Windows.Controls.Grid)(this.FindName("grMain"))); this.tbHeaderFormat = ((System.Windows.Controls.TextBlock)(this.FindName("tbHeaderFormat"))); this.grSelect = ((System.Windows.Controls.Grid)(this.FindName("grSelect"))); this.lbPictures = ((System.Windows.Controls.ListBox)(this.FindName("lbPictures"))); this.grCut = ((System.Windows.Controls.Grid)(this.FindName("grCut"))); this.vbCut = ((System.Windows.Controls.Viewbox)(this.FindName("vbCut"))); this.imgCut = ((System.Windows.Controls.Image)(this.FindName("imgCut"))); this.recCut = ((System.Windows.Shapes.Rectangle)(this.FindName("recCut"))); this.transform = ((System.Windows.Media.CompositeTransform)(this.FindName("transform"))); this.tbSizePercent = ((System.Windows.Controls.TextBlock)(this.FindName("tbSizePercent"))); this.slCut = ((System.Windows.Controls.Slider)(this.FindName("slCut"))); this.tbPictureQuality = ((System.Windows.Controls.TextBlock)(this.FindName("tbPictureQuality"))); }
public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/Healthcare;component/BarCode.xaml", System.UriKind.Relative)); this.rd01 = ((System.Windows.ResourceDictionary)(this.FindName("rd01"))); this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot"))); this.frame = ((System.Windows.Shapes.Rectangle)(this.FindName("frame"))); this._videoBrush = ((System.Windows.Media.VideoBrush)(this.FindName("_videoBrush"))); this._previewTransform = ((System.Windows.Media.CompositeTransform)(this.FindName("_previewTransform"))); this._marker1 = ((System.Windows.Shapes.Rectangle)(this.FindName("_marker1"))); this._marker2 = ((System.Windows.Shapes.Rectangle)(this.FindName("_marker2"))); this._marker3 = ((System.Windows.Shapes.Rectangle)(this.FindName("_marker3"))); this._marker4 = ((System.Windows.Shapes.Rectangle)(this.FindName("_marker4"))); this._marker5 = ((System.Windows.Shapes.Rectangle)(this.FindName("_marker5"))); this._marker6 = ((System.Windows.Shapes.Rectangle)(this.FindName("_marker6"))); this._marker7 = ((System.Windows.Shapes.Rectangle)(this.FindName("_marker7"))); this._marker8 = ((System.Windows.Shapes.Rectangle)(this.FindName("_marker8"))); }
public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/Rayzit;component/Pages/NewRayz.xaml", System.UriKind.Relative)); this.LbOptionsItemTemplate = ((System.Windows.DataTemplate)(this.FindName("LbOptionsItemTemplate"))); this.SendBeamBeamsArroundSendAppBarButton = ((Microsoft.Phone.Shell.ApplicationBarIconButton)(this.FindName("SendBeamBeamsArroundSendAppBarButton"))); this.AttachBeamsArroundSendAppBarButton = ((Microsoft.Phone.Shell.ApplicationBarIconButton)(this.FindName("AttachBeamsArroundSendAppBarButton"))); this.DistanceSettingSendAppBarButton = ((Microsoft.Phone.Shell.ApplicationBarIconButton)(this.FindName("DistanceSettingSendAppBarButton"))); this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot"))); this.ContentPanel = ((System.Windows.Controls.Grid)(this.FindName("ContentPanel"))); this.DistanceLP = ((Microsoft.Phone.Controls.ListPicker)(this.FindName("DistanceLP"))); this.RayzTb = ((Microsoft.Phone.Controls.PhoneTextBox)(this.FindName("RayzTb"))); this.AttachmentsList = ((System.Windows.Controls.ListBox)(this.FindName("AttachmentsList"))); this.PowerBar = ((System.Windows.Controls.ProgressBar)(this.FindName("PowerBar"))); this.ZoomGrid = ((System.Windows.Controls.Grid)(this.FindName("ZoomGrid"))); this.ZoomImage = ((System.Windows.Controls.Image)(this.FindName("ZoomImage"))); this.ImageTransformation = ((System.Windows.Media.CompositeTransform)(this.FindName("ImageTransformation"))); this.AttachmentPicker = ((Microsoft.Phone.Controls.ListPicker)(this.FindName("AttachmentPicker"))); }
public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/sdkVoiceAlarmClockWP8CS;component/AlarmPage.xaml", System.UriKind.Relative)); this.hourHandBlinkStoryboard = ((System.Windows.Media.Animation.Storyboard)(this.FindName("hourHandBlinkStoryboard"))); this.minuteHandBlinkStoryboard = ((System.Windows.Media.Animation.Storyboard)(this.FindName("minuteHandBlinkStoryboard"))); this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot"))); this.TitlePanel = ((System.Windows.Controls.StackPanel)(this.FindName("TitlePanel"))); this.ApplicationTitle = ((System.Windows.Controls.TextBlock)(this.FindName("ApplicationTitle"))); this.alarmTimeTextBlock = ((System.Windows.Controls.TextBlock)(this.FindName("alarmTimeTextBlock"))); this.clockFaceImage = ((System.Windows.Controls.Image)(this.FindName("clockFaceImage"))); this.hourHand = ((System.Windows.Controls.Image)(this.FindName("hourHand"))); this.hourHandRotation = ((System.Windows.Media.CompositeTransform)(this.FindName("hourHandRotation"))); this.minuteHand = ((System.Windows.Controls.Image)(this.FindName("minuteHand"))); this.minuteHandRotation = ((System.Windows.Media.CompositeTransform)(this.FindName("minuteHandRotation"))); this.timePicker = ((Microsoft.Phone.Controls.TimePicker)(this.FindName("timePicker"))); this.alarmToggleSwitch = ((Microsoft.Phone.Controls.ToggleSwitch)(this.FindName("alarmToggleSwitch"))); this.adjustDirectionToggleSwitch = ((Microsoft.Phone.Controls.ToggleSwitch)(this.FindName("adjustDirectionToggleSwitch"))); this.ContentPanel = ((System.Windows.Controls.Grid)(this.FindName("ContentPanel"))); }
public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/Lockscreen%20Swap;component/Pages/EditFolder.xaml", System.UriKind.Relative)); this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot"))); this.GRImages = ((System.Windows.Controls.Grid)(this.FindName("GRImages"))); this.ImgTop = ((System.Windows.Controls.Image)(this.FindName("ImgTop"))); this.TBTop = ((System.Windows.Controls.TextBlock)(this.FindName("TBTop"))); this.TBTopImages = ((System.Windows.Controls.TextBlock)(this.FindName("TBTopImages"))); this.LBImages = ((System.Windows.Controls.ListBox)(this.FindName("LBImages"))); this.CutRoot = ((System.Windows.Controls.Grid)(this.FindName("CutRoot"))); this.CutImage = ((System.Windows.Controls.Image)(this.FindName("CutImage"))); this.transform = ((System.Windows.Media.CompositeTransform)(this.FindName("transform"))); this.ImgTop3 = ((System.Windows.Controls.Image)(this.FindName("ImgTop3"))); this.TBTop3 = ((System.Windows.Controls.TextBlock)(this.FindName("TBTop3"))); this.CopyRoot = ((System.Windows.Controls.Grid)(this.FindName("CopyRoot"))); this.ImgTop2 = ((System.Windows.Controls.Image)(this.FindName("ImgTop2"))); this.TBTop2 = ((System.Windows.Controls.TextBlock)(this.FindName("TBTop2"))); this.LBFolders = ((System.Windows.Controls.ListBox)(this.FindName("LBFolders"))); }
public void InitializeComponent() { if (_contentLoaded) { return; } _contentLoaded = true; System.Windows.Application.LoadComponent(this, new System.Uri("/MyMusicPlayer;component/MainPage.xaml", System.UriKind.Relative)); this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot"))); this.ImgLogo = ((System.Windows.Controls.Image)(this.FindName("ImgLogo"))); this.MainPivotItem = ((Microsoft.Phone.Controls.Pivot)(this.FindName("MainPivotItem"))); this.LBSongs = ((System.Windows.Controls.ListBox)(this.FindName("LBSongs"))); this.LBPlaylists = ((System.Windows.Controls.ListBox)(this.FindName("LBPlaylists"))); this.LBCurrentPlaylist = ((System.Windows.Controls.ListBox)(this.FindName("LBCurrentPlaylist"))); this.SVSetting = ((System.Windows.Controls.ScrollViewer)(this.FindName("SVSetting"))); this.BtnRenewCache = ((System.Windows.Controls.Button)(this.FindName("BtnRenewCache"))); this.BtnStopPlayback = ((System.Windows.Controls.Button)(this.FindName("BtnStopPlayback"))); this.BtnDeleteLastPlaybacks = ((System.Windows.Controls.Button)(this.FindName("BtnDeleteLastPlaybacks"))); this.TB_Timer = ((System.Windows.Controls.TextBox)(this.FindName("TB_Timer"))); this.ImgTimerPlay = ((System.Windows.Controls.Image)(this.FindName("ImgTimerPlay"))); this.ImgTimerDelete = ((System.Windows.Controls.Image)(this.FindName("ImgTimerDelete"))); this.BtnSettings = ((System.Windows.Controls.Button)(this.FindName("BtnSettings"))); this.BtnDesignSettings = ((System.Windows.Controls.Button)(this.FindName("BtnDesignSettings"))); this.BtnStartScreenSettings = ((System.Windows.Controls.Button)(this.FindName("BtnStartScreenSettings"))); this.SVAbout = ((System.Windows.Controls.ScrollViewer)(this.FindName("SVAbout"))); this.ImgInstructions = ((System.Windows.Controls.Image)(this.FindName("ImgInstructions"))); this.ImgSupport = ((System.Windows.Controls.Image)(this.FindName("ImgSupport"))); this.ImgGlobe = ((System.Windows.Controls.Image)(this.FindName("ImgGlobe"))); this.SPTrial = ((System.Windows.Controls.StackPanel)(this.FindName("SPTrial"))); this.TBTrial = ((System.Windows.Controls.TextBlock)(this.FindName("TBTrial"))); this.TBTialTime = ((System.Windows.Controls.TextBlock)(this.FindName("TBTialTime"))); this.ImgXtroseLogo = ((System.Windows.Controls.Image)(this.FindName("ImgXtroseLogo"))); this.RTSearch = ((System.Windows.Shapes.Rectangle)(this.FindName("RTSearch"))); this.TBSearch = ((System.Windows.Controls.TextBox)(this.FindName("TBSearch"))); this.SPTopButtons = ((System.Windows.Controls.StackPanel)(this.FindName("SPTopButtons"))); this.SPTopButtons01 = ((System.Windows.Controls.StackPanel)(this.FindName("SPTopButtons01"))); this.ImgLock = ((System.Windows.Controls.Image)(this.FindName("ImgLock"))); this.ImgSelectAndPlay = ((System.Windows.Controls.Image)(this.FindName("ImgSelectAndPlay"))); this.ImgSearch = ((System.Windows.Controls.Image)(this.FindName("ImgSearch"))); this.ImgRefresh = ((System.Windows.Controls.Image)(this.FindName("ImgRefresh"))); this.SPTopButtons02 = ((System.Windows.Controls.StackPanel)(this.FindName("SPTopButtons02"))); this.ImgDeletePlaylist = ((System.Windows.Controls.Image)(this.FindName("ImgDeletePlaylist"))); this.ImgSavePlaylist = ((System.Windows.Controls.Image)(this.FindName("ImgSavePlaylist"))); this.GRNote = ((System.Windows.Controls.Grid)(this.FindName("GRNote"))); this.TBNote = ((System.Windows.Controls.TextBlock)(this.FindName("TBNote"))); this.GRMediaPlayer = ((System.Windows.Controls.Grid)(this.FindName("GRMediaPlayer"))); this.MPBackBg = ((System.Windows.Shapes.Ellipse)(this.FindName("MPBackBg"))); this.MPBack = ((System.Windows.Controls.Image)(this.FindName("MPBack"))); this.MPPlayPauseBg = ((System.Windows.Shapes.Ellipse)(this.FindName("MPPlayPauseBg"))); this.MPPlayOnBg = ((System.Windows.Shapes.Ellipse)(this.FindName("MPPlayOnBg"))); this.MPPlayPause = ((System.Windows.Controls.Image)(this.FindName("MPPlayPause"))); this.MPForwardBg = ((System.Windows.Shapes.Ellipse)(this.FindName("MPForwardBg"))); this.MPForward = ((System.Windows.Controls.Image)(this.FindName("MPForward"))); this.FPOpen = ((System.Windows.Controls.Image)(this.FindName("FPOpen"))); this.FPOpenBg = ((System.Windows.Shapes.Rectangle)(this.FindName("FPOpenBg"))); this.MPOpenClose = ((System.Windows.Controls.Image)(this.FindName("MPOpenClose"))); this.MPOpenCloseBg = ((System.Windows.Shapes.Rectangle)(this.FindName("MPOpenCloseBg"))); this.MPStatBarSmall = ((System.Windows.Shapes.Rectangle)(this.FindName("MPStatBarSmall"))); this.MPImageFrame = ((System.Windows.Shapes.Rectangle)(this.FindName("MPImageFrame"))); this.MPImageAlbumImage = ((System.Windows.Controls.Image)(this.FindName("MPImageAlbumImage"))); this.MPSPData = ((System.Windows.Controls.StackPanel)(this.FindName("MPSPData"))); this.MPSongName = ((System.Windows.Controls.TextBlock)(this.FindName("MPSongName"))); this.MPSongArtist = ((System.Windows.Controls.TextBlock)(this.FindName("MPSongArtist"))); this.MPSongAlbum = ((System.Windows.Controls.TextBlock)(this.FindName("MPSongAlbum"))); this.MPRepead = ((System.Windows.Controls.Image)(this.FindName("MPRepead"))); this.MPShuffle = ((System.Windows.Controls.Image)(this.FindName("MPShuffle"))); this.MPTBRepead = ((System.Windows.Controls.TextBlock)(this.FindName("MPTBRepead"))); this.MPStatFrame = ((System.Windows.Shapes.Rectangle)(this.FindName("MPStatFrame"))); this.MPStatEmpty = ((System.Windows.Shapes.Rectangle)(this.FindName("MPStatEmpty"))); this.MPStatBar = ((System.Windows.Shapes.Rectangle)(this.FindName("MPStatBar"))); this.MPPlayTime = ((System.Windows.Controls.TextBlock)(this.FindName("MPPlayTime"))); this.MPTime = ((System.Windows.Controls.TextBlock)(this.FindName("MPTime"))); this.GRListSelector = ((System.Windows.Controls.Grid)(this.FindName("GRListSelector"))); this.GridSharp = ((System.Windows.Controls.Grid)(this.FindName("GridSharp"))); this.Grida = ((System.Windows.Controls.Grid)(this.FindName("Grida"))); this.Gridb = ((System.Windows.Controls.Grid)(this.FindName("Gridb"))); this.Gridc = ((System.Windows.Controls.Grid)(this.FindName("Gridc"))); this.Gridd = ((System.Windows.Controls.Grid)(this.FindName("Gridd"))); this.Gride = ((System.Windows.Controls.Grid)(this.FindName("Gride"))); this.Gridf = ((System.Windows.Controls.Grid)(this.FindName("Gridf"))); this.Gridg = ((System.Windows.Controls.Grid)(this.FindName("Gridg"))); this.Gridh = ((System.Windows.Controls.Grid)(this.FindName("Gridh"))); this.Gridi = ((System.Windows.Controls.Grid)(this.FindName("Gridi"))); this.Gridj = ((System.Windows.Controls.Grid)(this.FindName("Gridj"))); this.Gridk = ((System.Windows.Controls.Grid)(this.FindName("Gridk"))); this.Gridl = ((System.Windows.Controls.Grid)(this.FindName("Gridl"))); this.Gridm = ((System.Windows.Controls.Grid)(this.FindName("Gridm"))); this.Gridn = ((System.Windows.Controls.Grid)(this.FindName("Gridn"))); this.Grido = ((System.Windows.Controls.Grid)(this.FindName("Grido"))); this.Gridp = ((System.Windows.Controls.Grid)(this.FindName("Gridp"))); this.Gridq = ((System.Windows.Controls.Grid)(this.FindName("Gridq"))); this.Gridr = ((System.Windows.Controls.Grid)(this.FindName("Gridr"))); this.Grids = ((System.Windows.Controls.Grid)(this.FindName("Grids"))); this.Gridt = ((System.Windows.Controls.Grid)(this.FindName("Gridt"))); this.Gridu = ((System.Windows.Controls.Grid)(this.FindName("Gridu"))); this.Gridv = ((System.Windows.Controls.Grid)(this.FindName("Gridv"))); this.Gridw = ((System.Windows.Controls.Grid)(this.FindName("Gridw"))); this.Gridx = ((System.Windows.Controls.Grid)(this.FindName("Gridx"))); this.Gridy = ((System.Windows.Controls.Grid)(this.FindName("Gridy"))); this.Gridz = ((System.Windows.Controls.Grid)(this.FindName("Gridz"))); this.GridGlobal = ((System.Windows.Controls.Grid)(this.FindName("GridGlobal"))); this.ImageGlobe = ((System.Windows.Controls.Image)(this.FindName("ImageGlobe"))); this.GRFullscreenPlayer = ((System.Windows.Controls.Grid)(this.FindName("GRFullscreenPlayer"))); this.FPGRImage = ((System.Windows.Controls.Grid)(this.FindName("FPGRImage"))); this.FPImageFrame = ((System.Windows.Shapes.Rectangle)(this.FindName("FPImageFrame"))); this.FPImageAlbumImage = ((System.Windows.Controls.Image)(this.FindName("FPImageAlbumImage"))); this.transform = ((System.Windows.Media.CompositeTransform)(this.FindName("transform"))); this.FPSPButtons = ((System.Windows.Controls.StackPanel)(this.FindName("FPSPButtons"))); this.FPBackBg = ((System.Windows.Shapes.Ellipse)(this.FindName("FPBackBg"))); this.FPBack = ((System.Windows.Controls.Image)(this.FindName("FPBack"))); this.FPPlayPauseBg = ((System.Windows.Shapes.Ellipse)(this.FindName("FPPlayPauseBg"))); this.FPPlayOnBg = ((System.Windows.Shapes.Ellipse)(this.FindName("FPPlayOnBg"))); this.FPPlayPause = ((System.Windows.Controls.Image)(this.FindName("FPPlayPause"))); this.FPForwardBg = ((System.Windows.Shapes.Ellipse)(this.FindName("FPForwardBg"))); this.FPForward = ((System.Windows.Controls.Image)(this.FindName("FPForward"))); this.FPSPSongData = ((System.Windows.Controls.StackPanel)(this.FindName("FPSPSongData"))); this.FPSongName = ((System.Windows.Controls.TextBlock)(this.FindName("FPSongName"))); this.FPSongArtist = ((System.Windows.Controls.TextBlock)(this.FindName("FPSongArtist"))); this.FPSongAlbum = ((System.Windows.Controls.TextBlock)(this.FindName("FPSongAlbum"))); this.FPGRBar = ((System.Windows.Controls.Grid)(this.FindName("FPGRBar"))); this.FPStatFrame = ((System.Windows.Shapes.Rectangle)(this.FindName("FPStatFrame"))); this.FPStatEmpty = ((System.Windows.Shapes.Rectangle)(this.FindName("FPStatEmpty"))); this.FPStatBar = ((System.Windows.Shapes.Rectangle)(this.FindName("FPStatBar"))); this.FPPlayTime = ((System.Windows.Controls.TextBlock)(this.FindName("FPPlayTime"))); this.FPTime = ((System.Windows.Controls.TextBlock)(this.FindName("FPTime"))); this.FPGRButtons2 = ((System.Windows.Controls.Grid)(this.FindName("FPGRButtons2"))); this.RTCloseBg = ((System.Windows.Shapes.Rectangle)(this.FindName("RTCloseBg"))); this.FPClose = ((System.Windows.Controls.Image)(this.FindName("FPClose"))); this.FPRepead = ((System.Windows.Controls.Image)(this.FindName("FPRepead"))); this.FPShuffle = ((System.Windows.Controls.Image)(this.FindName("FPShuffle"))); this.FPTBRepead = ((System.Windows.Controls.TextBlock)(this.FindName("FPTBRepead"))); this.GRUpdateList = ((System.Windows.Controls.Grid)(this.FindName("GRUpdateList"))); this.TBUpdateList = ((System.Windows.Controls.TextBlock)(this.FindName("TBUpdateList"))); this.GRRate = ((System.Windows.Controls.Grid)(this.FindName("GRRate"))); this.LogoRate = ((System.Windows.Controls.Image)(this.FindName("LogoRate"))); this.TBTop = ((System.Windows.Controls.TextBlock)(this.FindName("TBTop"))); this.BtnRateRate = ((System.Windows.Controls.Button)(this.FindName("BtnRateRate"))); this.BtnRateLater = ((System.Windows.Controls.Button)(this.FindName("BtnRateLater"))); this.BtnRateNever = ((System.Windows.Controls.Button)(this.FindName("BtnRateNever"))); this.GRAnimation = ((System.Windows.Controls.Grid)(this.FindName("GRAnimation"))); this.Img2 = ((System.Windows.Controls.Image)(this.FindName("Img2"))); this.ImgSchein = ((System.Windows.Controls.Image)(this.FindName("ImgSchein"))); this.Img1 = ((System.Windows.Controls.Image)(this.FindName("Img1"))); this.StartUpInfo = ((System.Windows.Controls.TextBlock)(this.FindName("StartUpInfo"))); this.Greetings = ((System.Windows.Controls.TextBlock)(this.FindName("Greetings"))); }