Exemplo n.º 1
0
 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")));
 }
Exemplo n.º 2
0
        public bool GoToState(VisualState state, bool useTransitions)
        {
            if (state == CurrentState)
            {
                return true;
            }

            string currentStateName = CurrentState != null ? CurrentState.Name : String.Empty;
            VisualTransition transition = useTransitions ? GetTransition(Transitions, currentStateName, state.Name) : null;
            Storyboard transitionStoryboard = transition != null ? transition.Storyboard : null;

            Storyboard storyboard;
            if (transitionStoryboard != null && state.Storyboard != null)
            {
                // create a sequential animation with the transition storyboard first and then the state storyboard
                SequentialTimeline sequentialTimeline = new SequentialTimeline();
                sequentialTimeline.Children.Add(transitionStoryboard);
                sequentialTimeline.Children.Add(state.Storyboard);

                storyboard = new Storyboard();
                storyboard.Children.Add(sequentialTimeline);
            }
            else
            {
                storyboard = transitionStoryboard ?? state.Storyboard;
            }

            StartNewStoryboard(storyboard);

            CurrentState = state;
            return true;
        }
Exemplo n.º 3
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/WPCandle;component/MainPage.xaml", System.UriKind.Relative));
     this.phoneApplicationPage = ((Microsoft.Phone.Controls.PhoneApplicationPage)(this.FindName("phoneApplicationPage")));
     this.LayoutRoot           = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.VisualStateGroup     = ((System.Windows.VisualStateGroup)(this.FindName("VisualStateGroup")));
     this.No_Info         = ((System.Windows.VisualState)(this.FindName("No_Info")));
     this.Info            = ((System.Windows.VisualState)(this.FindName("Info")));
     this.LandStates      = ((System.Windows.VisualStateGroup)(this.FindName("LandStates")));
     this.LandscapeState  = ((System.Windows.VisualState)(this.FindName("LandscapeState")));
     this.PortraitState   = ((System.Windows.VisualState)(this.FindName("PortraitState")));
     this.TitlePanel      = ((System.Windows.Controls.StackPanel)(this.FindName("TitlePanel")));
     this.Scene           = ((System.Windows.Controls.Grid)(this.FindName("Scene")));
     this.Floor           = ((System.Windows.Shapes.Rectangle)(this.FindName("Floor")));
     this.Bg              = ((System.Windows.Shapes.Rectangle)(this.FindName("Bg")));
     this.viewbox         = ((System.Windows.Controls.Viewbox)(this.FindName("viewbox")));
     this.grid            = ((System.Windows.Controls.Grid)(this.FindName("grid")));
     this.Scene_Bg        = ((System.Windows.Controls.Grid)(this.FindName("Scene_Bg")));
     this.MainCandle      = ((WPCandle.IndividualCandleControl)(this.FindName("MainCandle")));
     this.Scene_Fg        = ((System.Windows.Controls.Grid)(this.FindName("Scene_Fg")));
     this.InfoGrid        = ((System.Windows.Controls.Grid)(this.FindName("InfoGrid")));
     this.stackPanel      = ((System.Windows.Controls.Grid)(this.FindName("stackPanel")));
     this.ExitButton_Copy = ((System.Windows.Controls.Button)(this.FindName("ExitButton_Copy")));
     this.ExitButton      = ((System.Windows.Controls.Button)(this.FindName("ExitButton")));
     this.DebugTextBlock  = ((System.Windows.Controls.TextBlock)(this.FindName("DebugTextBlock")));
     this.InfoButton_Copy = ((System.Windows.Controls.Button)(this.FindName("InfoButton_Copy")));
     this.InfoButton      = ((System.Windows.Controls.Button)(this.FindName("InfoButton")));
 }
Exemplo n.º 4
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/WebControl;component/Controls/HMIValve.xaml", System.UriKind.Relative));
     this.tbToolTip           = ((System.Windows.Controls.TextBlock)(this.FindName("tbToolTip")));
     this.MouseStateGroup     = ((System.Windows.VisualStateGroup)(this.FindName("MouseStateGroup")));
     this.ControlMouseEnter   = ((System.Windows.VisualState)(this.FindName("ControlMouseEnter")));
     this.ControlMouseLeave   = ((System.Windows.VisualState)(this.FindName("ControlMouseLeave")));
     this.ValueStateGroup     = ((System.Windows.VisualStateGroup)(this.FindName("ValueStateGroup")));
     this.ControlValueON      = ((System.Windows.VisualState)(this.FindName("ControlValueON")));
     this.ControlValueOFF     = ((System.Windows.VisualState)(this.FindName("ControlValueOFF")));
     this.ControlValueUnknown = ((System.Windows.VisualState)(this.FindName("ControlValueUnknown")));
     this.ActualStateGroup    = ((System.Windows.VisualStateGroup)(this.FindName("ActualStateGroup")));
     this.ControlActualTrue   = ((System.Windows.VisualState)(this.FindName("ControlActualTrue")));
     this.ControlActualFalse  = ((System.Windows.VisualState)(this.FindName("ControlActualFalse")));
     this.path      = ((System.Windows.Shapes.Path)(this.FindName("path")));
     this.line1     = ((System.Windows.Shapes.Path)(this.FindName("line1")));
     this.line2     = ((System.Windows.Shapes.Path)(this.FindName("line2")));
     this.tbUnknown = ((System.Windows.Controls.TextBlock)(this.FindName("tbUnknown")));
     this.recMouse  = ((System.Windows.Shapes.Rectangle)(this.FindName("recMouse")));
     this.vwWarning = ((System.Windows.Controls.Viewbox)(this.FindName("vwWarning")));
 }
 public void InitializeComponent()
 {
     if (!this._contentLoaded)
     {
         this._contentLoaded = true;
         Application.LoadComponent(this, new Uri("/TWC.OVP;component/Views/Shell/SportsNetworkShellView.xaml", UriKind.Relative));
         this.LayoutRoot = (Grid) base.FindName("LayoutRoot");
         this.ControllerStates = (VisualStateGroup) base.FindName("ControllerStates");
         this.ShowController = (VisualState) base.FindName("ShowController");
         this.HideController = (VisualState) base.FindName("HideController");
         this.WindowStates = (VisualStateGroup) base.FindName("WindowStates");
         this.FullScreen = (VisualState) base.FindName("FullScreen");
         this.Embedded = (VisualState) base.FindName("Embedded");
         this.CaptionSettingsStates = (VisualStateGroup) base.FindName("CaptionSettingsStates");
         this.ShowCaptionSettings = (VisualState) base.FindName("ShowCaptionSettings");
         this.HideCaptionSettings = (VisualState) base.FindName("HideCaptionSettings");
         this.BackgroundRectangle = (Rectangle) base.FindName("BackgroundRectangle");
         this.AssetViewer = (ContentControl) base.FindName("AssetViewer");
         this.Controller = (Grid) base.FindName("Controller");
         this.volumeControl = (VolumeControl) base.FindName("volumeControl");
         this.ClosedCaptioning = (ToggleButton) base.FindName("ClosedCaptioning");
         this.FullScreenGrid = (Grid) base.FindName("FullScreenGrid");
         this.FullScreenButton = (Button) base.FindName("FullScreenButton");
         this.ExitFullScreenGrid = (Grid) base.FindName("ExitFullScreenGrid");
         this.ExitFullScreenButton = (Button) base.FindName("ExitFullScreenButton");
         this.Interaction = (ContentControl) base.FindName("Interaction");
     }
 }
 public void InitializeComponent()
 {
     if (!this._contentLoaded)
     {
         this._contentLoaded = true;
         Application.LoadComponent(this, new Uri("/TWC.OVP;component/Views/Shell/OnDemandShellView.xaml", UriKind.Relative));
         this.userControl = (UserControl) base.FindName("userControl");
         this.LayoutRoot = (Grid) base.FindName("LayoutRoot");
         this.AssetInfoStates = (VisualStateGroup) base.FindName("AssetInfoStates");
         this.ShowAssetInfo = (VisualState) base.FindName("ShowAssetInfo");
         this.InfoPanelIn = (Storyboard) base.FindName("InfoPanelIn");
         this.HideAssetInfo = (VisualState) base.FindName("HideAssetInfo");
         this.ShowSmallAssetInfoPopupBubble = (VisualState) base.FindName("ShowSmallAssetInfoPopupBubble");
         this.CaptionSettingsStates = (VisualStateGroup) base.FindName("CaptionSettingsStates");
         this.ShowCaptionSettings = (VisualState) base.FindName("ShowCaptionSettings");
         this.HideCaptionSettings = (VisualState) base.FindName("HideCaptionSettings");
         this.CaptionSettingsPopupStates = (VisualStateGroup) base.FindName("CaptionSettingsPopupStates");
         this.ShowSettingsBubble = (VisualState) base.FindName("ShowSettingsBubble");
         this.HideSettingsBubble = (VisualState) base.FindName("HideSettingsBubble");
         this.BackgroundRectangle = (Rectangle) base.FindName("BackgroundRectangle");
         this.AssetViewer = (ContentControl) base.FindName("AssetViewer");
         this.ClickToggleControlBarAction = (ActionMessage) base.FindName("ClickToggleControlBarAction");
         this.controller = (OnDemandController) base.FindName("controller");
         this.assetInfoContentControl = (BubbleContentControl) base.FindName("assetInfoContentControl");
         this.captionBubble = (BubbleContentControl) base.FindName("captionBubble");
         this.CaptionSettings = (ContentControl) base.FindName("CaptionSettings");
         this.Interaction = (ContentControl) base.FindName("Interaction");
     }
 }
Exemplo n.º 7
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.HideShowNav = ((System.Windows.VisualStateGroup)(target));
                return;

            case 2:
                this.ShowNav = ((System.Windows.VisualState)(target));
                return;

            case 3:
                this.HideNav = ((System.Windows.VisualState)(target));
                return;

            case 4:
                this.ShowObject = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 5:
                this.NavPanel = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 6:
                this.HideObject = ((System.Windows.Shapes.Rectangle)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.LayoutRoot = ((System.Windows.Controls.Grid)(target));
                return;

            case 2:
                this.VisualStateGroup = ((System.Windows.VisualStateGroup)(target));
                return;

            case 3:
                this.GridOn = ((System.Windows.VisualState)(target));
                return;

            case 4:
                this.GridOff = ((System.Windows.VisualState)(target));
                return;

            case 5:
                this.grid1 = ((System.Windows.Controls.Grid)(target));
                return;

            case 6:
                this.FullFigure = ((Visifire.Charts.DataSeries)(target));
                return;

            case 7:
                this.grid = ((System.Windows.Controls.Grid)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 9
0
 public void InitializeComponent()
 {
     if (!this._contentLoaded)
     {
         this._contentLoaded = true;
         Application.LoadComponent(this, new Uri("/TWC.OVP;component/Controls/ErrorMessageBox.xaml", UriKind.Relative));
         this.LayoutRoot = (Grid) base.FindName("LayoutRoot");
         this.DetailsEnabledStates = (VisualStateGroup) base.FindName("DetailsEnabledStates");
         this.ErrorMessageDetailDisabled = (VisualState) base.FindName("ErrorMessageDetailDisabled");
         this.ErrorMessageDetailEnabled = (VisualState) base.FindName("ErrorMessageDetailEnabled");
         this.DetailsStates = (VisualStateGroup) base.FindName("DetailsStates");
         this.DetailsVisible = (VisualState) base.FindName("DetailsVisible");
         this.DetailsNotVisible = (VisualState) base.FindName("DetailsNotVisible");
         this.BackgroundRectangle = (Rectangle) base.FindName("BackgroundRectangle");
         this.InnerDialogGrid = (Grid) base.FindName("InnerDialogGrid");
         this.DialogRectangle = (Rectangle) base.FindName("DialogRectangle");
         this.CloseButton = (Button) base.FindName("CloseButton");
         this.ErrorMessageTitleTextBlock = (TextBlock) base.FindName("ErrorMessageTitleTextBlock");
         this.ErrorMessageTextBlock = (TextBlock) base.FindName("ErrorMessageTextBlock");
         this.ButtonOK = (Button) base.FindName("ButtonOK");
         this.Icon = (TextBlock) base.FindName("Icon");
         this.SimpleErrorDetails = (Grid) base.FindName("SimpleErrorDetails");
         this.ShowDetailsToggle = (TextToggleButton) base.FindName("ShowDetailsToggle");
         this.DetailsTextBox = (TextBox) base.FindName("DetailsTextBox");
     }
 }
Exemplo n.º 10
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/Bubbles%20Projeto;component/MainPage.xaml", System.UriKind.Relative));
     this.ShowQuizBannerAndPlay             = ((System.Windows.Media.Animation.Storyboard)(this.FindName("ShowQuizBannerAndPlay")));
     this.EsconderQuizBannerAndPlay         = ((System.Windows.Media.Animation.Storyboard)(this.FindName("EsconderQuizBannerAndPlay")));
     this.ShowPuzzleBannerAndPlay           = ((System.Windows.Media.Animation.Storyboard)(this.FindName("ShowPuzzleBannerAndPlay")));
     this.EsconderPuzzleBannerAndPlay       = ((System.Windows.Media.Animation.Storyboard)(this.FindName("EsconderPuzzleBannerAndPlay")));
     this.EsconderLastGameBannerAndPlay     = ((System.Windows.Media.Animation.Storyboard)(this.FindName("EsconderLastGameBannerAndPlay")));
     this.EsconderCuriosidadesBannerAndPlay = ((System.Windows.Media.Animation.Storyboard)(this.FindName("EsconderCuriosidadesBannerAndPlay")));
     this.LayoutRoot              = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.Bolhas                  = ((System.Windows.VisualStateGroup)(this.FindName("Bolhas")));
     this.ShowGeniusAndPlay       = ((System.Windows.VisualState)(this.FindName("ShowGeniusAndPlay")));
     this.ShowPuzzleAndPlay       = ((System.Windows.VisualState)(this.FindName("ShowPuzzleAndPlay")));
     this.ShowCuriosidadesAndPlay = ((System.Windows.VisualState)(this.FindName("ShowCuriosidadesAndPlay")));
     this.ShowLastGameAndPlay     = ((System.Windows.VisualState)(this.FindName("ShowLastGameAndPlay")));
     this.frame             = ((System.Windows.Controls.Frame)(this.FindName("frame")));
     this.Mirror_Image      = ((System.Windows.Controls.HyperlinkButton)(this.FindName("Mirror_Image")));
     this.MouseEnter        = ((Microsoft.Expression.Interactivity.Core.ChangePropertyAction)(this.FindName("MouseEnter")));
     this.MouseLeave        = ((Microsoft.Expression.Interactivity.Core.ChangePropertyAction)(this.FindName("MouseLeave")));
     this.Color_Frenzy      = ((System.Windows.Controls.HyperlinkButton)(this.FindName("Color_Frenzy")));
     this.MouseEnter1       = ((Microsoft.Expression.Interactivity.Core.ChangePropertyAction)(this.FindName("MouseEnter1")));
     this.MouseLeave1       = ((Microsoft.Expression.Interactivity.Core.ChangePropertyAction)(this.FindName("MouseLeave1")));
     this.Puzzlemania       = ((System.Windows.Controls.HyperlinkButton)(this.FindName("Puzzlemania")));
     this.MouseEnter2       = ((Microsoft.Expression.Interactivity.Core.ChangePropertyAction)(this.FindName("MouseEnter2")));
     this.MouseLeave2       = ((Microsoft.Expression.Interactivity.Core.ChangePropertyAction)(this.FindName("MouseLeave2")));
     this.Quiz_Genius       = ((System.Windows.Controls.HyperlinkButton)(this.FindName("Quiz_Genius")));
     this.MouseEnter3       = ((Microsoft.Expression.Interactivity.Core.ChangePropertyAction)(this.FindName("MouseEnter3")));
     this.MouseLeave3       = ((Microsoft.Expression.Interactivity.Core.ChangePropertyAction)(this.FindName("MouseLeave3")));
     this.ControladorMusica = ((System.Windows.Controls.Grid)(this.FindName("ControladorMusica")));
     this.Play = ((System.Windows.Controls.Image)(this.FindName("Play")));
     this.MouseLeftButtonDownPlay = ((Microsoft.Expression.Interactivity.Core.CallMethodAction)(this.FindName("MouseLeftButtonDownPlay")));
     this.MostrarPause            = ((Microsoft.Expression.Interactivity.Core.ChangePropertyAction)(this.FindName("MostrarPause")));
     this.EsconderPlay            = ((Microsoft.Expression.Interactivity.Core.ChangePropertyAction)(this.FindName("EsconderPlay")));
     this.Pause = ((System.Windows.Controls.Image)(this.FindName("Pause")));
     this.MouseLeftButtonDownPause = ((Microsoft.Expression.Interactivity.Core.CallMethodAction)(this.FindName("MouseLeftButtonDownPause")));
     this.MostrarPlay               = ((Microsoft.Expression.Interactivity.Core.ChangePropertyAction)(this.FindName("MostrarPlay")));
     this.EsconderPause             = ((Microsoft.Expression.Interactivity.Core.ChangePropertyAction)(this.FindName("EsconderPause")));
     this.Unmute                    = ((System.Windows.Controls.Image)(this.FindName("Unmute")));
     this.MouseLeftButtonDownUnmute = ((Microsoft.Expression.Interactivity.Core.ChangePropertyAction)(this.FindName("MouseLeftButtonDownUnmute")));
     this.MostrarMute               = ((Microsoft.Expression.Interactivity.Core.ChangePropertyAction)(this.FindName("MostrarMute")));
     this.EsconderUnmute            = ((Microsoft.Expression.Interactivity.Core.ChangePropertyAction)(this.FindName("EsconderUnmute")));
     this.Mute = ((System.Windows.Controls.Image)(this.FindName("Mute")));
     this.MouseLeftButtonDownMute = ((Microsoft.Expression.Interactivity.Core.ChangePropertyAction)(this.FindName("MouseLeftButtonDownMute")));
     this.MostrarUnmute           = ((Microsoft.Expression.Interactivity.Core.ChangePropertyAction)(this.FindName("MostrarUnmute")));
     this.EsconderMute            = ((Microsoft.Expression.Interactivity.Core.ChangePropertyAction)(this.FindName("EsconderMute")));
     this.mediaElement            = ((System.Windows.Controls.MediaElement)(this.FindName("mediaElement")));
     this.QuizGenius       = ((System.Windows.Controls.Image)(this.FindName("QuizGenius")));
     this.PlayQuiz         = ((System.Windows.Controls.HyperlinkButton)(this.FindName("PlayQuiz")));
     this.PuzzleMania      = ((System.Windows.Controls.Image)(this.FindName("PuzzleMania")));
     this.Curiosidades     = ((System.Windows.Controls.Image)(this.FindName("Curiosidades")));
     this.LastGame         = ((System.Windows.Controls.Image)(this.FindName("LastGame")));
     this.PlayCuriosidades = ((System.Windows.Controls.HyperlinkButton)(this.FindName("PlayCuriosidades")));
     this.PlayPuzzle       = ((System.Windows.Controls.HyperlinkButton)(this.FindName("PlayPuzzle")));
     this.PlayLastGame     = ((System.Windows.Controls.HyperlinkButton)(this.FindName("PlayLastGame")));
 }
Exemplo n.º 11
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/WebControl;component/Controls/%D0%9A%D0%BE%D0%BF%D0%B8%D1%8F%20HMILamp.xaml", System.UriKind.Relative));
     this.StoryboardON        = ((System.Windows.Media.Animation.Storyboard)(this.FindName("StoryboardON")));
     this.tbToolTip           = ((System.Windows.Controls.TextBlock)(this.FindName("tbToolTip")));
     this.MouseStateGroup     = ((System.Windows.VisualStateGroup)(this.FindName("MouseStateGroup")));
     this.ControlMouseEnter   = ((System.Windows.VisualState)(this.FindName("ControlMouseEnter")));
     this.ControlMouseLeave   = ((System.Windows.VisualState)(this.FindName("ControlMouseLeave")));
     this.ValueStateGroup     = ((System.Windows.VisualStateGroup)(this.FindName("ValueStateGroup")));
     this.ControlValueON      = ((System.Windows.VisualState)(this.FindName("ControlValueON")));
     this.ControlValueOFF     = ((System.Windows.VisualState)(this.FindName("ControlValueOFF")));
     this.ControlValueUnknown = ((System.Windows.VisualState)(this.FindName("ControlValueUnknown")));
     this.ActualStateGroup    = ((System.Windows.VisualStateGroup)(this.FindName("ActualStateGroup")));
     this.ControlActualTrue   = ((System.Windows.VisualState)(this.FindName("ControlActualTrue")));
     this.ControlActualFalse  = ((System.Windows.VisualState)(this.FindName("ControlActualFalse")));
     this.elBase    = ((System.Windows.Shapes.Ellipse)(this.FindName("elBase")));
     this.elMouse   = ((System.Windows.Shapes.Ellipse)(this.FindName("elMouse")));
     this.tbUnknown = ((System.Windows.Controls.TextBlock)(this.FindName("tbUnknown")));
     this.vwWarning = ((System.Windows.Controls.Viewbox)(this.FindName("vwWarning")));
 }
 internal VisualStateChangedEventArgs(VisualState oldState, VisualState newState, FrameworkElement control, FrameworkElement stateGroupsRoot)
 {
     _oldState = oldState;
     _newState = newState;
     _control = control;
     _stateGroupsRoot = stateGroupsRoot;
 }
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/gAMS_Sacombank;component/UploadControl/FileUploadRowControl.xaml", System.UriKind.Relative));
     this.RootItemRow   = ((System.Windows.Controls.UserControl)(this.FindName("RootItemRow")));
     this.LayoutRoot    = ((System.Windows.Controls.Border)(this.FindName("LayoutRoot")));
     this.StatusGroup   = ((System.Windows.VisualStateGroup)(this.FindName("StatusGroup")));
     this.Pending       = ((System.Windows.VisualState)(this.FindName("Pending")));
     this.Resizing      = ((System.Windows.VisualState)(this.FindName("Resizing")));
     this.Error         = ((System.Windows.VisualState)(this.FindName("Error")));
     this.Complete      = ((System.Windows.VisualState)(this.FindName("Complete")));
     this.CompleteAdmin = ((System.Windows.VisualState)(this.FindName("CompleteAdmin")));
     this.DisableAll    = ((System.Windows.VisualState)(this.FindName("DisableAll")));
     this.Removed       = ((System.Windows.VisualState)(this.FindName("Removed")));
     this.Uploading     = ((System.Windows.VisualState)(this.FindName("Uploading")));
     this.gridUpload    = ((System.Windows.Controls.Grid)(this.FindName("gridUpload")));
     this.imagePreview  = ((System.Windows.Controls.Image)(this.FindName("imagePreview")));
     this.progressBar   = ((System.Windows.Controls.ProgressBar)(this.FindName("progressBar")));
     this.errorImage    = ((System.Windows.Controls.Image)(this.FindName("errorImage")));
     this.resizeImage   = ((System.Windows.Controls.Image)(this.FindName("resizeImage")));
     this.completeImage = ((System.Windows.Controls.Image)(this.FindName("completeImage")));
     this.pendingImage  = ((System.Windows.Controls.Image)(this.FindName("pendingImage")));
     this.removeButton  = ((System.Windows.Controls.Button)(this.FindName("removeButton")));
 }
Exemplo n.º 14
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.ttCaption = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 2:
                this.ttFrom = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 3:
                this.ttTo = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 4:
                this.ttData = ((System.Windows.Controls.ListBox)(target));
                return;

            case 5:
                this.VisualStateGroup = ((System.Windows.VisualStateGroup)(target));
                return;

            case 6:
                this.IsMouseIn = ((System.Windows.VisualState)(target));
                return;

            case 7:
                this.IsMouseOut = ((System.Windows.VisualState)(target));
                return;

            case 8:
                this.brd = ((System.Windows.Controls.Border)(target));
                return;

            case 9:
                this.border = ((System.Windows.Controls.Border)(target));
                return;

            case 10:
                this.lLeft = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 11:
                this.lCaption = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 12:
                this.lRight = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 13:
                this.border1 = ((System.Windows.Controls.Border)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 15
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.LayoutRoot = ((System.Windows.Controls.Grid)(target));
                return;

            case 2:
                this.VisualStateGroup = ((System.Windows.VisualStateGroup)(target));
                return;

            case 3:
                this.Menu = ((System.Windows.VisualState)(target));
                return;

            case 4:
                this.Navigation = ((System.Windows.VisualState)(target));
                return;

            case 5:
                this.MainMenuRegion = ((System.Windows.Controls.ContentControl)(target));
                return;

            case 6:
                this.grid = ((System.Windows.Controls.Grid)(target));
                return;

            case 7:
                this.NavigationMenu = ((System.Windows.Controls.ContentControl)(target));
                return;

            case 8:
                this.MainRegion = ((System.Windows.Controls.ContentControl)(target));
                return;

            case 9:
                this.Logo = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 10:
                this.Logo2 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 11:
                this.txtClock = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 12:
                this.ContextSelectionRegion = ((System.Windows.Controls.ContentControl)(target));
                return;

            case 13:
                this.TraceTextBox = ((System.Windows.Controls.TextBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 16
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.LayoutRoot = ((System.Windows.Controls.Grid)(target));
                return;

            case 2:
                this.GridNetSyn = ((System.Windows.Controls.Grid)(target));
                return;

            case 3:
                this.netSyn = ((Apollo.NetSyn)(target));
                return;

            case 4:
                this.image1 = ((System.Windows.Controls.Image)(target));
                return;

            case 5:
                this.SaveAs = ((System.Windows.Controls.Button)(target));

            #line 45 "..\..\..\..\UserControls\ChartUCs\TrafficRate.xaml"
                this.SaveAs.Click += new System.Windows.RoutedEventHandler(this.SaveAs_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.Flush = ((System.Windows.Controls.Button)(target));

            #line 46 "..\..\..\..\UserControls\ChartUCs\TrafficRate.xaml"
                this.Flush.Click += new System.Windows.RoutedEventHandler(this.Flush_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.timeToShow = ((System.Windows.Controls.Label)(target));
                return;

            case 8:
                this.NetSynState = ((System.Windows.VisualStateGroup)(target));
                return;

            case 9:
                this.NetOn = ((System.Windows.VisualState)(target));
                return;

            case 10:
                this.NetOff = ((System.Windows.VisualState)(target));
                return;
            }
            this._contentLoaded = true;
        }
 void OnVisualStateChanged(Action doAfterChange, VisualState state) {
     if(state == null) {
         doAfterChange();
     } else {
         stopStateChanges = true;
         state.Storyboard.Completed += (s, e) => doAfterChange();
         VisualStateManager.GoToState(this, state.Name, true);
     }
 }
        public VisualStateAnimation(Control Control, VisualState State, TimeSpan AnimationLength)
            : base(null, AnimationLength)
        {
            this.Control = Control;
            this.State = State;

            Storyboard = new Storyboard();
            Storyboard.Duration = new Duration(AnimationLength);
        }
Exemplo n.º 19
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/Bubbles%20Projeto;component/Views/Curiosidades.xaml", System.UriKind.Relative));
     this.Zooming              = ((System.Windows.Media.Animation.Storyboard)(this.FindName("Zooming")));
     this.ZoomOut              = ((System.Windows.Media.Animation.Storyboard)(this.FindName("ZoomOut")));
     this.LayoutRoot           = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.ImageVisualGroup     = ((System.Windows.VisualStateGroup)(this.FindName("ImageVisualGroup")));
     this.ImagemFullSize1      = ((System.Windows.VisualState)(this.FindName("ImagemFullSize1")));
     this.ImagemFullSize2      = ((System.Windows.VisualState)(this.FindName("ImagemFullSize2")));
     this.ImagemFullSize3      = ((System.Windows.VisualState)(this.FindName("ImagemFullSize3")));
     this.ImagemFullSize4      = ((System.Windows.VisualState)(this.FindName("ImagemFullSize4")));
     this.ImagemFullSize5      = ((System.Windows.VisualState)(this.FindName("ImagemFullSize5")));
     this.ImagemFullSize6      = ((System.Windows.VisualState)(this.FindName("ImagemFullSize6")));
     this.ImagemFullSize7      = ((System.Windows.VisualState)(this.FindName("ImagemFullSize7")));
     this.ImagemFullSize8      = ((System.Windows.VisualState)(this.FindName("ImagemFullSize8")));
     this.ImagemFullSize9      = ((System.Windows.VisualState)(this.FindName("ImagemFullSize9")));
     this.ImagemFullSize10     = ((System.Windows.VisualState)(this.FindName("ImagemFullSize10")));
     this.Normal               = ((System.Windows.VisualState)(this.FindName("Normal")));
     this.retract              = ((Microsoft.Expression.Interactivity.Core.GoToStateAction)(this.FindName("retract")));
     this.Image1               = ((System.Windows.Controls.Border)(this.FindName("Image1")));
     this.MouseLeftButtonDown  = ((Microsoft.Expression.Interactivity.Core.GoToStateAction)(this.FindName("MouseLeftButtonDown")));
     this.Image2               = ((System.Windows.Controls.Border)(this.FindName("Image2")));
     this.MouseLeftButtonDown1 = ((Microsoft.Expression.Interactivity.Core.GoToStateAction)(this.FindName("MouseLeftButtonDown1")));
     this.Image3               = ((System.Windows.Controls.Border)(this.FindName("Image3")));
     this.MouseLeftButtonDown2 = ((Microsoft.Expression.Interactivity.Core.GoToStateAction)(this.FindName("MouseLeftButtonDown2")));
     this.Image4               = ((System.Windows.Controls.Border)(this.FindName("Image4")));
     this.MouseLeftButtonDown3 = ((Microsoft.Expression.Interactivity.Core.GoToStateAction)(this.FindName("MouseLeftButtonDown3")));
     this.Image5               = ((System.Windows.Controls.Border)(this.FindName("Image5")));
     this.MouseLeftButtonDown4 = ((Microsoft.Expression.Interactivity.Core.GoToStateAction)(this.FindName("MouseLeftButtonDown4")));
     this.Image6               = ((System.Windows.Controls.Border)(this.FindName("Image6")));
     this.MouseLeftButtonDown5 = ((Microsoft.Expression.Interactivity.Core.GoToStateAction)(this.FindName("MouseLeftButtonDown5")));
     this.Image7               = ((System.Windows.Controls.Border)(this.FindName("Image7")));
     this.MouseLeftButtonDown6 = ((Microsoft.Expression.Interactivity.Core.GoToStateAction)(this.FindName("MouseLeftButtonDown6")));
     this.Image8               = ((System.Windows.Controls.Border)(this.FindName("Image8")));
     this.MouseLeftButtonDown7 = ((Microsoft.Expression.Interactivity.Core.GoToStateAction)(this.FindName("MouseLeftButtonDown7")));
     this.Image9               = ((System.Windows.Controls.Border)(this.FindName("Image9")));
     this.MouseLeftButtonDown8 = ((Microsoft.Expression.Interactivity.Core.GoToStateAction)(this.FindName("MouseLeftButtonDown8")));
     this.Image10              = ((System.Windows.Controls.Border)(this.FindName("Image10")));
     this.MouseLeftButtonDown9 = ((Microsoft.Expression.Interactivity.Core.GoToStateAction)(this.FindName("MouseLeftButtonDown9")));
     this.textoImagem1         = ((System.Windows.Controls.TextBox)(this.FindName("textoImagem1")));
     this.textoImagem2         = ((System.Windows.Controls.TextBox)(this.FindName("textoImagem2")));
     this.textoImagem3         = ((System.Windows.Controls.TextBox)(this.FindName("textoImagem3")));
     this.textoImagem4         = ((System.Windows.Controls.TextBox)(this.FindName("textoImagem4")));
     this.textoImagem5         = ((System.Windows.Controls.TextBox)(this.FindName("textoImagem5")));
     this.textoImagem6         = ((System.Windows.Controls.TextBox)(this.FindName("textoImagem6")));
     this.textoImagem7         = ((System.Windows.Controls.TextBox)(this.FindName("textoImagem7")));
     this.textoImagem8         = ((System.Windows.Controls.TextBox)(this.FindName("textoImagem8")));
     this.textoImagem9         = ((System.Windows.Controls.TextBox)(this.FindName("textoImagem9")));
     this.textoImagem10        = ((System.Windows.Controls.TextBox)(this.FindName("textoImagem10")));
 }
Exemplo n.º 20
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.VisualStateGroup = ((System.Windows.VisualStateGroup)(target));
                return;

            case 2:
                this.CashState = ((System.Windows.VisualState)(target));
                return;

            case 3:
                this.CreditState = ((System.Windows.VisualState)(target));
                return;

            case 4:
                this.bg = ((System.Windows.Controls.Border)(target));
                return;

            case 5:
                this.radioBtnCashbag = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 6:
                this.radioBtnCredit = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 7:
                this.txtCash = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 8:
                this.txtCredit = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 9:
                this.passwordBox = ((System.Windows.Controls.PasswordBox)(target));
                return;

            case 10:

            #line 219 "..\..\..\View\BuyInsuranceWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);

            #line default
            #line hidden
                return;

            case 11:
                this.textBlock = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 21
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/ClassLibrary;component/ContentScaler.xaml", System.UriKind.Relative));
     this.CommonStates = ((System.Windows.VisualStateGroup)(this.FindName("CommonStates")));
     this.Normal = ((System.Windows.VisualState)(this.FindName("Normal")));
     this.MouseOver = ((System.Windows.VisualState)(this.FindName("MouseOver")));
     this.presenter = ((ClassLibrary.ContentScalerPresenter)(this.FindName("presenter")));
 }
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/WindowsPhonePrototype1.Screens;component/Baby_Stages.xaml", System.UriKind.Relative));
     this.PhoneChrome = ((Microsoft.Expression.Prototyping.WindowsPhone.Mockups.WindowsPhoneChrome)(this.FindName("PhoneChrome")));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.CommonStates = ((System.Windows.VisualStateGroup)(this.FindName("CommonStates")));
     this.Portrait = ((System.Windows.VisualState)(this.FindName("Portrait")));
     this.Landscape = ((System.Windows.VisualState)(this.FindName("Landscape")));
 }
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/Conversion%20App;component/CustomUserControl.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.CommonStates = ((System.Windows.VisualStateGroup)(this.FindName("CommonStates")));
     this.Normal = ((System.Windows.VisualState)(this.FindName("Normal")));
     this.Selected = ((System.Windows.VisualState)(this.FindName("Selected")));
     this.textBlock = ((System.Windows.Controls.TextBlock)(this.FindName("textBlock")));
 }
Exemplo n.º 24
0
        // Summary:
        //     Builds the visual tree for the System.Windows.Controls.Slider control when
        //     a new template is applied.
        public override void OnApplyTemplate()
        {
            base.OnApplyTemplate();

            _contentControl = GetTemplateChild(ContentContainer) as ContentControl;
            if (_contentControl != null)
                _contentControl.Content = Content;

            _flip = GetTemplateChild(Flip) as VisualState;
            if (_flip != null)
                _flip.Storyboard.Completed += OnFlipComplete;
        }
Exemplo n.º 25
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/WorkReport;component/OrderList.xaml", System.UriKind.Relative));
     this.ShowList = ((System.Windows.VisualState)(this.FindName("ShowList")));
     this.ShowReport = ((System.Windows.VisualState)(this.FindName("ShowReport")));
     this.qulityReport = ((System.Windows.Controls.Grid)(this.FindName("qulityReport")));
     this.orderList = ((System.Windows.Controls.BusyIndicator)(this.FindName("orderList")));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
 }
 protected override bool GoToStateCore(Control control, FrameworkElement templateRoot, string stateName, VisualStateGroup group, VisualState state, bool useTransitions)
 {
     if (_isSuspended)
     {
         //_states.Enqueue(stateName);
        // return true;
         return false;
     }
     else
     {
         return base.GoToStateCore(control, templateRoot, stateName, group, state, useTransitions);
     }
 }
Exemplo n.º 27
0
 public void InitializeComponent()
 {
     if (!this._contentLoaded)
     {
         this._contentLoaded = true;
         Application.LoadComponent(this, new Uri("/TWC.OVP;component/Views/InteractionView.xaml", UriKind.Relative));
         this.LayoutRoot = (Grid) base.FindName("LayoutRoot");
         this.ErrorStates = (VisualStateGroup) base.FindName("ErrorStates");
         this.ErrorMessageShown = (VisualState) base.FindName("ErrorMessageShown");
         this.ErrorMessageNotShown = (VisualState) base.FindName("ErrorMessageNotShown");
         this.ErrorMessage = (ErrorMessageBox) base.FindName("ErrorMessage");
     }
 }
Exemplo n.º 28
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/homework.Screens;component/Screen_2.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this._SketchFlowAnimation_SketchFlowAnimation = ((System.Windows.VisualStateGroup)(this.FindName("_SketchFlowAnimation_SketchFlowAnimation")));
     this.holdtimes = ((System.Windows.VisualState)(this.FindName("holdtimes")));
     this.SketchFlowAnimationFrame = ((System.Windows.VisualState)(this.FindName("SketchFlowAnimationFrame")));
     this._SketchFlowAnimation_base = ((System.Windows.VisualState)(this.FindName("_SketchFlowAnimation_base")));
     this.button = ((System.Windows.Controls.Button)(this.FindName("button")));
 }
Exemplo n.º 29
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/EFI;component/Views/MainPage.xaml", System.UriKind.Relative));
     this.Container = ((System.Windows.Controls.Grid)(this.FindName("Container")));
     this.SettingsPane = ((System.Windows.Controls.Grid)(this.FindName("SettingsPane")));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.SettingsStates = ((System.Windows.VisualStateGroup)(this.FindName("SettingsStates")));
     this.ShowSettings = ((System.Windows.VisualState)(this.FindName("ShowSettings")));
     this.HideSettings = ((System.Windows.VisualState)(this.FindName("HideSettings")));
 }
Exemplo n.º 30
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/WebControl;component/Controls/HMIPLC.xaml", System.UriKind.Relative));
     this.tbToolTip           = ((System.Windows.Controls.TextBlock)(this.FindName("tbToolTip")));
     this.MouseStateGroup     = ((System.Windows.VisualStateGroup)(this.FindName("MouseStateGroup")));
     this.ControlMouseEnter   = ((System.Windows.VisualState)(this.FindName("ControlMouseEnter")));
     this.ControlMouseLeave   = ((System.Windows.VisualState)(this.FindName("ControlMouseLeave")));
     this.ValueStateGroup     = ((System.Windows.VisualStateGroup)(this.FindName("ValueStateGroup")));
     this.ControlValueON      = ((System.Windows.VisualState)(this.FindName("ControlValueON")));
     this.ControlValueOFF     = ((System.Windows.VisualState)(this.FindName("ControlValueOFF")));
     this.ControlValueUnknown = ((System.Windows.VisualState)(this.FindName("ControlValueUnknown")));
     this.ActualStateGroup    = ((System.Windows.VisualStateGroup)(this.FindName("ActualStateGroup")));
     this.ControlActualTrue   = ((System.Windows.VisualState)(this.FindName("ControlActualTrue")));
     this.ControlActualFalse  = ((System.Windows.VisualState)(this.FindName("ControlActualFalse")));
     this.rectangle           = ((System.Windows.Shapes.Rectangle)(this.FindName("rectangle")));
     this.tbUnknown_Copy1     = ((System.Windows.Controls.TextBlock)(this.FindName("tbUnknown_Copy1")));
     this.tbUnknown_Copy2     = ((System.Windows.Controls.TextBlock)(this.FindName("tbUnknown_Copy2")));
     this.tbUnknown_Copy3     = ((System.Windows.Controls.TextBlock)(this.FindName("tbUnknown_Copy3")));
     this.tbUnknown_Copy4     = ((System.Windows.Controls.TextBlock)(this.FindName("tbUnknown_Copy4")));
     this.tbUnknown_Copy5     = ((System.Windows.Controls.TextBlock)(this.FindName("tbUnknown_Copy5")));
     this.tbUnknown_Copy6     = ((System.Windows.Controls.TextBlock)(this.FindName("tbUnknown_Copy6")));
     this.tbUnknown_Copy7     = ((System.Windows.Controls.TextBlock)(this.FindName("tbUnknown_Copy7")));
     this.tbUnknown_Copy8     = ((System.Windows.Controls.TextBlock)(this.FindName("tbUnknown_Copy8")));
     this.tbUnknown_Copy9     = ((System.Windows.Controls.TextBlock)(this.FindName("tbUnknown_Copy9")));
     this.tbUnknown_Copy10    = ((System.Windows.Controls.TextBlock)(this.FindName("tbUnknown_Copy10")));
     this.tbUnknown_Copy11    = ((System.Windows.Controls.TextBlock)(this.FindName("tbUnknown_Copy11")));
     this.tbUnknown_Copy12    = ((System.Windows.Controls.TextBlock)(this.FindName("tbUnknown_Copy12")));
     this.recMouse            = ((System.Windows.Shapes.Rectangle)(this.FindName("recMouse")));
     this.tbUnknown           = ((System.Windows.Controls.TextBlock)(this.FindName("tbUnknown")));
     this.vwWarning           = ((System.Windows.Controls.Viewbox)(this.FindName("vwWarning")));
     this.tbUnknown_Copy13    = ((System.Windows.Controls.TextBlock)(this.FindName("tbUnknown_Copy13")));
     this.tbUnknown_Copy14    = ((System.Windows.Controls.TextBlock)(this.FindName("tbUnknown_Copy14")));
     this.tbUnknown_Copy15    = ((System.Windows.Controls.TextBlock)(this.FindName("tbUnknown_Copy15")));
     this.tbUnknown_Copy16    = ((System.Windows.Controls.TextBlock)(this.FindName("tbUnknown_Copy16")));
     this.tbUnknown_Copy17    = ((System.Windows.Controls.TextBlock)(this.FindName("tbUnknown_Copy17")));
     this.tbUnknown_Copy18    = ((System.Windows.Controls.TextBlock)(this.FindName("tbUnknown_Copy18")));
     this.tbUnknown_Copy19    = ((System.Windows.Controls.TextBlock)(this.FindName("tbUnknown_Copy19")));
     this.tbUnknown_Copy20    = ((System.Windows.Controls.TextBlock)(this.FindName("tbUnknown_Copy20")));
     this.tbUnknown_Copy21    = ((System.Windows.Controls.TextBlock)(this.FindName("tbUnknown_Copy21")));
     this.tbUnknown_Copy22    = ((System.Windows.Controls.TextBlock)(this.FindName("tbUnknown_Copy22")));
     this.tbUnknown_Copy23    = ((System.Windows.Controls.TextBlock)(this.FindName("tbUnknown_Copy23")));
     this.tbUnknown_Copy24    = ((System.Windows.Controls.TextBlock)(this.FindName("tbUnknown_Copy24")));
     this.tbUnknown_Copy25    = ((System.Windows.Controls.TextBlock)(this.FindName("tbUnknown_Copy25")));
     this.tbUnknown_Copy26    = ((System.Windows.Controls.TextBlock)(this.FindName("tbUnknown_Copy26")));
     this.tbUnknown_Copy27    = ((System.Windows.Controls.TextBlock)(this.FindName("tbUnknown_Copy27")));
 }
Exemplo n.º 31
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.GUI2FullPrototypeScreens_Screen_1_1_Name = ((GUI2FullPrototypeScreens.Screen_1_1)(target));
                return;

            case 2:
                this.LayoutRoot = ((System.Windows.Controls.Grid)(target));
                return;

            case 3:
                this._SketchFlowAnimation_SketchFlowAnimation = ((System.Windows.VisualStateGroup)(target));
                return;

            case 4:
                this.holdtimes = ((System.Windows.VisualState)(target));
                return;

            case 5:
                this._SketchFlowAnimation_base = ((System.Windows.VisualState)(target));
                return;

            case 6:
                this.SketchFlowAnimationFrame1 = ((System.Windows.VisualState)(target));
                return;

            case 7:
                this.SketchFlowAnimationFrame = ((System.Windows.VisualState)(target));
                return;

            case 8:
                this.Confirm_button = ((System.Windows.Controls.Button)(target));
                return;

            case 9:
                this.confirmcut = ((Microsoft.Expression.Prototyping.Behavior.PlaySketchFlowAnimationAction)(target));
                return;

            case 10:
                this.label = ((System.Windows.Controls.Label)(target));
                return;

            case 11:
                this.label1 = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/Conversion%20App;component/CustomUserControl.xaml", System.UriKind.Relative));
     this.LayoutRoot   = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.CommonStates = ((System.Windows.VisualStateGroup)(this.FindName("CommonStates")));
     this.Normal       = ((System.Windows.VisualState)(this.FindName("Normal")));
     this.Selected     = ((System.Windows.VisualState)(this.FindName("Selected")));
     this.textBlock    = ((System.Windows.Controls.TextBlock)(this.FindName("textBlock")));
 }
Exemplo n.º 33
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.MouseStateGroup = ((System.Windows.VisualStateGroup)(target));
                return;

            case 2:
                this.ControlMouseEnter = ((System.Windows.VisualState)(target));
                return;

            case 3:
                this.ControlMouseLeave = ((System.Windows.VisualState)(target));
                return;

            case 4:
                this.ValueStateGroup = ((System.Windows.VisualStateGroup)(target));
                return;

            case 5:
                this.ActualStateGroup = ((System.Windows.VisualStateGroup)(target));
                return;

            case 6:
                this.ControlActualTrue = ((System.Windows.VisualState)(target));
                return;

            case 7:
                this.ControlActualFalse = ((System.Windows.VisualState)(target));
                return;

            case 8:
                this.recMouse = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 9:
                this.txtCaption = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 10:
                this.vwWarning = ((System.Windows.Controls.Viewbox)(target));
                return;

            case 11:
                this.recFill = ((System.Windows.Shapes.Rectangle)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 34
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/WorkReport;component/OrderList.xaml", System.UriKind.Relative));
     this.ShowList     = ((System.Windows.VisualState)(this.FindName("ShowList")));
     this.ShowReport   = ((System.Windows.VisualState)(this.FindName("ShowReport")));
     this.qulityReport = ((System.Windows.Controls.Grid)(this.FindName("qulityReport")));
     this.orderList    = ((System.Windows.Controls.BusyIndicator)(this.FindName("orderList")));
     this.LayoutRoot   = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
 }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.UserControl = ((Apollo.TrafficRateStatic)(target));
                return;

            case 2:
                this.LayoutRoot = ((System.Windows.Controls.Grid)(target));
                return;

            case 3:
                this.VisualStateGroup = ((System.Windows.VisualStateGroup)(target));
                return;

            case 4:
                this.GridOn = ((System.Windows.VisualState)(target));
                return;

            case 5:
                this.GridOff = ((System.Windows.VisualState)(target));
                return;

            case 6:
                this.grid1 = ((System.Windows.Controls.Grid)(target));
                return;

            case 7:
                this.TRBulletMax = ((Apollo.TrafficRateBullet)(target));
                return;

            case 8:
                this.TRBulletAvr = ((Apollo.TrafficRateBullet)(target));
                return;

            case 9:
                this.grid = ((System.Windows.Controls.Grid)(target));
                return;

            case 10:
                this.avrRateLabel = ((System.Windows.Controls.Label)(target));
                return;

            case 11:
                this.maxRateLabel = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 36
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.CommonStates = ((System.Windows.VisualStateGroup)(target));
                return;

            case 2:
                this.ScreenAnalyzer = ((System.Windows.VisualState)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 37
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/PushClient;component/Views/InboxView.xaml", System.UriKind.Relative));
     this.LayoutRoot       = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.Views            = ((System.Windows.VisualStateGroup)(this.FindName("Views")));
     this.NormalView       = ((System.Windows.VisualState)(this.FindName("NormalView")));
     this.ScheduleView     = ((System.Windows.VisualState)(this.FindName("ScheduleView")));
     this.TileScheduleView = ((System.Windows.Controls.Border)(this.FindName("TileScheduleView")));
 }
Exemplo n.º 38
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/WebControl;component/Controls/CheckUpdateLabel.xaml", System.UriKind.Relative));
     this.StoryboardUnchecked = ((System.Windows.Media.Animation.Storyboard)(this.FindName("StoryboardUnchecked")));
     this.VisualStateGroup    = ((System.Windows.VisualStateGroup)(this.FindName("VisualStateGroup")));
     this.ControlChecked      = ((System.Windows.VisualState)(this.FindName("ControlChecked")));
     this.ControlUnchecked    = ((System.Windows.VisualState)(this.FindName("ControlUnchecked")));
     this.path = ((System.Windows.Shapes.Path)(this.FindName("path")));
     this.grid = ((System.Windows.Controls.Grid)(this.FindName("grid")));
 }
Exemplo n.º 39
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/Procbel.Apps.Silverlight.Modules.Contacts;component/Views/ContactsView.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.ViewStates = ((System.Windows.VisualStateGroup)(this.FindName("ViewStates")));
     this.ListState = ((System.Windows.VisualState)(this.FindName("ListState")));
     this.OpportunitiesState = ((System.Windows.VisualState)(this.FindName("OpportunitiesState")));
     this.ActivitiesState = ((System.Windows.VisualState)(this.FindName("ActivitiesState")));
     this.ContactsListRegion = ((System.Windows.Controls.ContentControl)(this.FindName("ContactsListRegion")));
     this.ContactDetailsRegion = ((System.Windows.Controls.ContentControl)(this.FindName("ContactDetailsRegion")));
     this.ContactMiscDetailsRegion = ((System.Windows.Controls.ContentControl)(this.FindName("ContactMiscDetailsRegion")));
 }
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/Microsoft.HealthMonitorPlayer;component/Views/Player.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.SettingStates = ((System.Windows.VisualStateGroup)(this.FindName("SettingStates")));
     this.SettingsVisible = ((System.Windows.VisualState)(this.FindName("SettingsVisible")));
     this.SettingsHidden = ((System.Windows.VisualState)(this.FindName("SettingsHidden")));
     this.playerSmooth = ((Microsoft.SilverlightMediaFramework.Core.SMFPlayer)(this.FindName("playerSmooth")));
     this.SettingsPanel = ((System.Windows.Controls.Border)(this.FindName("SettingsPanel")));
     this.SettingsScaler = ((System.Windows.Media.ScaleTransform)(this.FindName("SettingsScaler")));
     this.TraceConfig = ((Microsoft.HealthMonitorPlayer.Views.TraceConfig)(this.FindName("TraceConfig")));
 }
Exemplo n.º 41
0
        public override void OnApplyTemplate()
        {
            base.OnApplyTemplate();

            _tileText = (TextBlock)GetTemplateChild("TileText");
            _tileImage = (SingleResolutionImage)GetTemplateChild("TileImage");
            _fadeOutState = (VisualState)GetTemplateChild("Faded");
            _fadeOutState.Storyboard.Completed += FadeOutStoryboard_Completed;

            Grid tileTextGrid = (Grid)GetTemplateChild("TileTextGrid");
            tileTextGrid.Tap += (sender, e) => Dismiss(TileResult.TextOption);
            _tileImage.Tap += (sender, e) => Dismiss(TileResult.ImageOption);

            UpdateVisuals();
        }
Exemplo n.º 42
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/Microsoft.Phone.Controls.Toolkit;component/DateTimePickers/DatePickerPage.xaml", System.UriKind.Relative));
     this.VisibilityStates = ((System.Windows.VisualStateGroup)(this.FindName("VisibilityStates")));
     this.Open = ((System.Windows.VisualState)(this.FindName("Open")));
     this.Closed = ((System.Windows.VisualState)(this.FindName("Closed")));
     this.PlaneProjection = ((System.Windows.Media.PlaneProjection)(this.FindName("PlaneProjection")));
     this.SystemTrayPlaceholder = ((System.Windows.Shapes.Rectangle)(this.FindName("SystemTrayPlaceholder")));
     this.SecondarySelector = ((Microsoft.Phone.Controls.Primitives.LoopingSelector)(this.FindName("SecondarySelector")));
     this.TertiarySelector = ((Microsoft.Phone.Controls.Primitives.LoopingSelector)(this.FindName("TertiarySelector")));
     this.PrimarySelector = ((Microsoft.Phone.Controls.Primitives.LoopingSelector)(this.FindName("PrimarySelector")));
 }
Exemplo n.º 43
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/Flippingcardanimation;component/MainPage.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.VisualStateGroup = ((System.Windows.VisualStateGroup)(this.FindName("VisualStateGroup")));
     this.FlipCardFront = ((System.Windows.VisualState)(this.FindName("FlipCardFront")));
     this.FlipCardBack = ((System.Windows.VisualState)(this.FindName("FlipCardBack")));
     this.TitlePanel = ((System.Windows.Controls.StackPanel)(this.FindName("TitlePanel")));
     this.ContentPanel = ((System.Windows.Controls.Grid)(this.FindName("ContentPanel")));
     this.backrectangle = ((System.Windows.Shapes.Rectangle)(this.FindName("backrectangle")));
     this.frontrectangle = ((System.Windows.Shapes.Rectangle)(this.FindName("frontrectangle")));
 }
Exemplo n.º 44
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.grid = ((System.Windows.Controls.Grid)(target));

            #line 9 "..\..\StarButton.xaml"
                this.grid.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.StarControl_MouseDown);

            #line default
            #line hidden

            #line 9 "..\..\StarButton.xaml"
                this.grid.MouseEnter += new System.Windows.Input.MouseEventHandler(this.StarControl_MouseEnter);

            #line default
            #line hidden

            #line 9 "..\..\StarButton.xaml"
                this.grid.MouseLeave += new System.Windows.Input.MouseEventHandler(this.StarControl_MouseLeave);

            #line default
            #line hidden
                return;

            case 2:
                this.MouseStateGroup = ((System.Windows.VisualStateGroup)(target));
                return;

            case 3:
                this.MouseDownStar = ((System.Windows.VisualState)(target));
                return;

            case 4:
                this.MouseExitStar = ((System.Windows.VisualState)(target));
                return;

            case 5:
                this.MouseEnterStar = ((System.Windows.VisualState)(target));
                return;

            case 6:
                this.path = ((System.Windows.Shapes.Path)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 45
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 22 "..\..\MainWindow.xaml"
                ((MusicPlayer.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.LayoutRoot = ((System.Windows.Controls.Grid)(target));
                return;

            case 3:
                this.Listvisible = ((System.Windows.VisualStateGroup)(target));
                return;

            case 4:
                this.True = ((System.Windows.VisualState)(target));
                return;

            case 5:
                this.False = ((System.Windows.VisualState)(target));
                return;

            case 6:
                this.playingView = ((MusicPlayer.View.PlayingView)(target));
                return;

            case 7:
                this.musicListView = ((MusicPlayer.MusicListView)(target));
                return;

            case 8:

            #line 118 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ExitClick);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/ZDIMSDemo;component/SilverlightControl1.xaml", System.UriKind.Relative));
     this.LayoutRoot       = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.MouseOverStates  = ((System.Windows.VisualStateGroup)(this.FindName("MouseOverStates")));
     this.MouseIsOverTrue  = ((System.Windows.VisualState)(this.FindName("MouseIsOverTrue")));
     this.MouseIsOverFalse = ((System.Windows.VisualState)(this.FindName("MouseIsOverFalse")));
     this.ThumbnailImage   = ((System.Windows.Controls.Image)(this.FindName("ThumbnailImage")));
     this.ZoomBtn          = ((System.Windows.Controls.Button)(this.FindName("ZoomBtn")));
     this.textBlock1       = ((System.Windows.Controls.TextBlock)(this.FindName("textBlock1")));
 }
Exemplo n.º 47
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/AllNets;component/TwitterLogIn.xaml", System.UriKind.Relative));
     this.Container           = ((System.Windows.Controls.Grid)(this.FindName("Container")));
     this.SettingsStateGroup  = ((System.Windows.VisualStateGroup)(this.FindName("SettingsStateGroup")));
     this.SettingsClosedState = ((System.Windows.VisualState)(this.FindName("SettingsClosedState")));
     this.SettingsOpenState   = ((System.Windows.VisualState)(this.FindName("SettingsOpenState")));
     this.SettingsPane        = ((System.Windows.Controls.Grid)(this.FindName("SettingsPane")));
     this.LayoutRoot          = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.ContentPanel        = ((System.Windows.Controls.Grid)(this.FindName("ContentPanel")));
 }
Exemplo n.º 48
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/Zires%20Explorer;component/Player/Item.xaml", System.UriKind.Relative));
     this.itemControl  = ((System.Windows.Controls.UserControl)(this.FindName("itemControl")));
     this.LayoutRoot   = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.CommonStates = ((System.Windows.VisualStateGroup)(this.FindName("CommonStates")));
     this.Normal       = ((System.Windows.VisualState)(this.FindName("Normal")));
     this.Selected     = ((System.Windows.VisualState)(this.FindName("Selected")));
     this.selected     = ((System.Windows.Controls.Grid)(this.FindName("selected")));
     this.item         = ((System.Windows.Controls.Button)(this.FindName("item")));
 }
Exemplo n.º 49
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/UsingBingMaps;component/MainPage.xaml", System.UriKind.Relative));
     this.LayoutRoot     = ((System.Windows.Controls.Canvas)(this.FindName("LayoutRoot")));
     this.MapView        = ((System.Windows.Controls.Border)(this.FindName("MapView")));
     this.RouteView      = ((System.Windows.Controls.Border)(this.FindName("RouteView")));
     this.RouteStates    = ((System.Windows.VisualStateGroup)(this.FindName("RouteStates")));
     this.ShowRoute      = ((System.Windows.VisualState)(this.FindName("ShowRoute")));
     this.HideRoute      = ((System.Windows.VisualState)(this.FindName("HideRoute")));
     this.applicationBar = ((Microsoft.Phone.Shell.ApplicationBar)(this.FindName("applicationBar")));
 }
Exemplo n.º 50
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/Microsoft.Phone.Controls.Toolkit;component/DateTimePickers/TimePickerPage.xaml", System.UriKind.Relative));
     this.VisibilityStates      = ((System.Windows.VisualStateGroup)(this.FindName("VisibilityStates")));
     this.Open                  = ((System.Windows.VisualState)(this.FindName("Open")));
     this.Closed                = ((System.Windows.VisualState)(this.FindName("Closed")));
     this.PlaneProjection       = ((System.Windows.Media.PlaneProjection)(this.FindName("PlaneProjection")));
     this.SystemTrayPlaceholder = ((System.Windows.Shapes.Rectangle)(this.FindName("SystemTrayPlaceholder")));
     this.PrimarySelector       = ((Microsoft.Phone.Controls.Primitives.LoopingSelector)(this.FindName("PrimarySelector")));
     this.SecondarySelector     = ((Microsoft.Phone.Controls.Primitives.LoopingSelector)(this.FindName("SecondarySelector")));
     this.TertiarySelector      = ((Microsoft.Phone.Controls.Primitives.LoopingSelector)(this.FindName("TertiarySelector")));
 }
Exemplo n.º 51
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.UserControl = ((Apollo.TrafficRateRealtime)(target));
                return;

            case 2:
                this.LayoutRoot = ((System.Windows.Controls.Grid)(target));
                return;

            case 3:
                this.VisualStateGroup = ((System.Windows.VisualStateGroup)(target));
                return;

            case 4:
                this.GridOn = ((System.Windows.VisualState)(target));
                return;

            case 5:
                this.GridOff = ((System.Windows.VisualState)(target));
                return;

            case 6:
                this.grid1 = ((System.Windows.Controls.Grid)(target));
                return;

            case 7:
                this.CurRate = ((Visifire.Charts.Title)(target));
                return;

            case 8:
                this.Realtime = ((Visifire.Charts.DataSeries)(target));
                return;

            case 9:
                this.grid = ((System.Windows.Controls.Grid)(target));
                return;

            case 10:
                this.currentRate = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }
 public void InitializeComponent()
 {
     if (!this._contentLoaded)
     {
         this._contentLoaded = true;
         Application.LoadComponent(this, new Uri("/TWC.OVP;component/Controls/CaptionSettingsPopupContents.xaml", UriKind.Relative));
         this.userControl = (UserControl) base.FindName("userControl");
         this.LanguageOptionStates = (VisualStateGroup) base.FindName("LanguageOptionStates");
         this.ShowSettings = (VisualState) base.FindName("ShowSettings");
         this.HideSettings = (VisualState) base.FindName("HideSettings");
         this.MouseOverRect = (Rectangle) base.FindName("MouseOverRect");
         this.CaptionsToggle = (TextToggleButton) base.FindName("CaptionsToggle");
         this.SettingsGrid = (Grid) base.FindName("SettingsGrid");
         this.languageListBox = (ListBox) base.FindName("languageListBox");
         this.ClosedCaptioningSettings = (Button) base.FindName("ClosedCaptioningSettings");
     }
 }
Exemplo n.º 53
0
 public void InitializeComponent()
 {
     if (!this._contentLoaded)
     {
         this._contentLoaded = true;
         Application.LoadComponent(this, new Uri("/TWC.OVP;component/Views/LiveAssetInfoView.xaml", UriKind.Relative));
         this.LayoutRoot = (Grid) base.FindName("LayoutRoot");
         this.AssetInfoLoadingStates = (VisualStateGroup) base.FindName("AssetInfoLoadingStates");
         this.Loading = (VisualState) base.FindName("Loading");
         this.LoadedState = (VisualState) base.FindName("LoadedState");
         this.LoadedGrid = (Grid) base.FindName("LoadedGrid");
         this.assetInfoPanel = (BubbleContentControl) base.FindName("assetInfoPanel");
         this.LoadingGrid = (Grid) base.FindName("LoadingGrid");
         this.assetInfoPanel_Copy = (BubbleContentControl) base.FindName("assetInfoPanel_Copy");
         this.Spinner = (LoadSpinnerControl) base.FindName("Spinner");
     }
 }
Exemplo n.º 54
0
		public void AddStateAtRuntime ()
		{
			Rectangle rect = new Rectangle { Name = RootName };
			VSMControl c = new VSMControl ();
			c.ApplyTemplate ();

			// Create a visual state in code which we will try to use to animate the template element called 'Grid'
			foreach (VisualStateGroup g in VisualStateManager.GetVisualStateGroups (c.TemplateGrid)) {
				VisualState s = new VisualState ();
				s.SetValue (FrameworkElement.NameProperty, "C");
				s.Storyboard = CreateWidthStoryboard (RootName, 600, 700);
				g.States.Add (s);
			}

			// The template element "Grid" can't be found by the new storyboard
			CreateAsyncTest (c,
				() => {
					Assert.IsTrue (VisualStateManager.GoToState (c, "A", false), "#1");
					Assert.Throws<InvalidOperationException> (() => VisualStateManager.GoToState (c, "C", false), "#2");

					// Adding a new element called 'Grid' to the TestPanel does not work
					TestPanel.Children.Add (rect);
					Assert.Throws<InvalidOperationException> (() => VisualStateManager.GoToState (c, "C", false), "#3");

					// The new element is not findable from the control
					Assert.IsNull (c.FindName (RootName), "#4");
					Assert.AreSame (rect, TestPanel.FindName (RootName), "#5");

					// Adding it to the template grid instead
					TestPanel.Children.Remove (rect);
					c.TemplateGrid.Children.Add (rect);

					// It's not findable from the panel, but it is from the Control
					Assert.AreSame (rect, c.FindName (RootName), "#6");
					Assert.IsNull (TestPanel.FindName (RootName), "#7");

					// Once it's findable from the control, the storyboard will resolve to the new element and succeed
					Assert.IsTrue (VisualStateManager.GoToState (c, "C", false), "#8");
			},
			() => {
					Assert.AreEqual (700, rect.Width, "#9");
					// The template element 'Grid' is not changed
					Assert.IsTrue (Double.IsNaN (c.TemplateGrid.Width), "#10");
				}
			);
		}
Exemplo n.º 55
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/ERP;component/Views/Login/LoginStatus.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.loginStates = ((System.Windows.VisualStateGroup)(this.FindName("loginStates")));
     this.windowsAuth = ((System.Windows.VisualState)(this.FindName("windowsAuth")));
     this.loggedIn = ((System.Windows.VisualState)(this.FindName("loggedIn")));
     this.loggedOut = ((System.Windows.VisualState)(this.FindName("loggedOut")));
     this.loginControls = ((System.Windows.Controls.StackPanel)(this.FindName("loginControls")));
     this.loginButton = ((System.Windows.Controls.Button)(this.FindName("loginButton")));
     this.logoutControls = ((System.Windows.Controls.StackPanel)(this.FindName("logoutControls")));
     this.welcomeText = ((System.Windows.Controls.TextBlock)(this.FindName("welcomeText")));
     this.logoutButton = ((System.Windows.Controls.Button)(this.FindName("logoutButton")));
 }
Exemplo n.º 56
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/JNotes;component/Views/TreeViewItemUC.xaml", System.UriKind.Relative));
     this.userControl = ((System.Windows.Controls.UserControl)(this.FindName("userControl")));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.EditStates = ((System.Windows.VisualStateGroup)(this.FindName("EditStates")));
     this.EditOff = ((System.Windows.VisualState)(this.FindName("EditOff")));
     this.EditOn = ((System.Windows.VisualState)(this.FindName("EditOn")));
     this.VisibilityStates = ((System.Windows.VisualStateGroup)(this.FindName("VisibilityStates")));
     this.Normal = ((System.Windows.VisualState)(this.FindName("Normal")));
     this.Collapsed = ((System.Windows.VisualState)(this.FindName("Collapsed")));
     this.textBlock = ((System.Windows.Controls.TextBlock)(this.FindName("textBlock")));
     this.txtEdit = ((System.Windows.Controls.TextBox)(this.FindName("txtEdit")));
 }
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/Procbel.Apps.Silverlight.Modules.Contacts;component/Views/ContactOpportunitiesUs" +
                 "erControl.xaml", System.UriKind.Relative));
     this.uc = ((System.Windows.Controls.UserControl)(this.FindName("uc")));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.VisualStateGroup = ((System.Windows.VisualStateGroup)(this.FindName("VisualStateGroup")));
     this.Normal = ((System.Windows.VisualState)(this.FindName("Normal")));
     this.Edit = ((System.Windows.VisualState)(this.FindName("Edit")));
     this.opportunitiesGrid = ((RadGridView)(this.FindName("opportunitiesGrid")));
     this.overlayRectangle = ((System.Windows.Shapes.Rectangle)(this.FindName("overlayRectangle")));
     this.border = ((System.Windows.Controls.Border)(this.FindName("border")));
     this.dataForm = ((RadDataForm)(this.FindName("dataForm")));
     this.productsDataSource = ((RadDomainDataSource)(this.FindName("productsDataSource")));
 }
Exemplo n.º 58
0
        private static void transitionToState(object sender, DependencyPropertyChangedEventArgs args)
        {
            var c = sender as FrameworkElement;
            if (c == null)
            {
                throw new ArgumentException("CurrentState is only supported on the FrameworkElement type");
            }

            _lastState = args.NewValue.ToString();

            _visualState = TryGetVisualState(_lastState, c);
            if (_visualState != null && _visualState.Storyboard != null)
            {
                _visualState.Storyboard.Completed += storyboardCompleted;
            }

            GoToElementState(c, _lastState, false);
        }
Exemplo n.º 59
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/LateralMenus;component/MainPage.xaml", System.UriKind.Relative));
     this.canvas = ((System.Windows.Controls.Canvas)(this.FindName("canvas")));
     this.moveAnimation = ((System.Windows.Media.Animation.Storyboard)(this.FindName("moveAnimation")));
     this.CommonStates = ((System.Windows.VisualStateGroup)(this.FindName("CommonStates")));
     this.Normal = ((System.Windows.VisualState)(this.FindName("Normal")));
     this.LeftMenuOpened = ((System.Windows.VisualState)(this.FindName("LeftMenuOpened")));
     this.RightMenuOpened = ((System.Windows.VisualState)(this.FindName("RightMenuOpened")));
     this.LayoutRoot = ((System.Windows.Controls.Canvas)(this.FindName("LayoutRoot")));
     this.grdCommands = ((System.Windows.Controls.Grid)(this.FindName("grdCommands")));
     this.Add = ((System.Windows.Controls.Button)(this.FindName("Add")));
     this.ListBox1 = ((System.Windows.Controls.ListBox)(this.FindName("ListBox1")));
     this.RecordingDetails = ((System.Windows.Controls.StackPanel)(this.FindName("RecordingDetails")));
 }
Exemplo n.º 60
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/SMT.FileUpLoad;component/FileUploadRowControl.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Border)(this.FindName("LayoutRoot")));
     this.StatusGroup = ((System.Windows.VisualStateGroup)(this.FindName("StatusGroup")));
     this.Pending = ((System.Windows.VisualState)(this.FindName("Pending")));
     this.Resizing = ((System.Windows.VisualState)(this.FindName("Resizing")));
     this.Error = ((System.Windows.VisualState)(this.FindName("Error")));
     this.Complete = ((System.Windows.VisualState)(this.FindName("Complete")));
     this.Uploading = ((System.Windows.VisualState)(this.FindName("Uploading")));
     this.imagePreview = ((System.Windows.Controls.Image)(this.FindName("imagePreview")));
     this.TbName = ((System.Windows.Controls.TextBlock)(this.FindName("TbName")));
     this.PercentageProgress = ((System.Windows.Controls.ProgressBar)(this.FindName("PercentageProgress")));
     this.removeButton = ((System.Windows.Controls.Button)(this.FindName("removeButton")));
 }