Inheritance: MenuBase
示例#1
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/WAO%20Player;component/MainPage.xaml", System.UriKind.Relative));
     this.Animation_Opicaty    = ((System.Windows.Media.Animation.Storyboard)(this.FindName("Animation_Opicaty")));
     this.LayoutRoot           = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.textBlock            = ((System.Windows.Controls.TextBlock)(this.FindName("textBlock")));
     this.Slider_Time          = ((System.Windows.Controls.Slider)(this.FindName("Slider_Time")));
     this.Btn_Pre              = ((System.Windows.Controls.Button)(this.FindName("Btn_Pre")));
     this.Btn_Play             = ((System.Windows.Controls.Button)(this.FindName("Btn_Play")));
     this.Btn_Next             = ((System.Windows.Controls.Button)(this.FindName("Btn_Next")));
     this.Text_Name            = ((System.Windows.Controls.TextBlock)(this.FindName("Text_Name")));
     this.TextBlock_Lyric      = ((System.Windows.Controls.TextBlock)(this.FindName("TextBlock_Lyric")));
     this.Player               = ((System.Windows.Controls.MediaElement)(this.FindName("Player")));
     this.List_Song_Offline    = ((System.Windows.Controls.ListBox)(this.FindName("List_Song_Offline")));
     this.MyContextMenu        = ((Microsoft.Phone.Controls.ContextMenu)(this.FindName("MyContextMenu")));
     this.Text_Search          = ((System.Windows.Controls.TextBox)(this.FindName("Text_Search")));
     this.Button_Search        = ((System.Windows.Controls.Button)(this.FindName("Button_Search")));
     this.List_Song_Online     = ((System.Windows.Controls.ListBox)(this.FindName("List_Song_Online")));
     this.List_Song_NowPlaying = ((System.Windows.Controls.ListBox)(this.FindName("List_Song_NowPlaying")));
 }
示例#2
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/EnterraPokerTimer;component/Views/ToursPage.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.TextBoxEnabled = ((System.Windows.Controls.TextBox)(this.FindName("TextBoxEnabled")));
     this.List = ((System.Windows.Controls.ListBox)(this.FindName("List")));
     this.TestContextMenu = ((Microsoft.Phone.Controls.ContextMenu)(this.FindName("TestContextMenu")));
 }
示例#3
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/PokerTimer;component/Views/SettingsGeneralPage.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.MainPivot = ((Microsoft.Phone.Controls.Pivot)(this.FindName("MainPivot")));
     this.List = ((System.Windows.Controls.ListBox)(this.FindName("List")));
     this.PlayerMenu = ((Microsoft.Phone.Controls.ContextMenu)(this.FindName("PlayerMenu")));
 }
示例#4
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/PokerTimer;component/Views/PlayersInLandPage.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.MenuPlayer = ((Microsoft.Phone.Controls.ContextMenu)(this.FindName("MenuPlayer")));
     this.ContentPanel = ((System.Windows.Controls.ListBox)(this.FindName("ContentPanel")));
     this.List = ((System.Windows.Controls.ListBox)(this.FindName("List")));
 }
示例#5
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/AnyPlace;component/UCCustomToolTip.xaml", System.UriKind.Relative));
     this.imgmarker = ((System.Windows.Controls.Image)(this.FindName("imgmarker")));
     this.c_menu = ((Microsoft.Phone.Controls.ContextMenu)(this.FindName("c_menu")));
     this.nav_here = ((Microsoft.Phone.Controls.MenuItem)(this.FindName("nav_here")));
     this.source_poi = ((Microsoft.Phone.Controls.MenuItem)(this.FindName("source_poi")));
 }
示例#6
0
 public static void SetContextMenu(DependencyObject obj, ContextMenu value)
 {
     var oldValue = GetContextMenu(obj);
     obj.SetValue(ContextMenuProperty, value);
     if (oldValue == null)
     {
         (obj as UIElement).RightTapped += PopupMenu_RightTapped;
     }
     if (value == null)
     {
         (obj as UIElement).RightTapped -= PopupMenu_RightTapped;
     }
 }
示例#7
0
        public PlayersInLandViewModel(ContextMenu playerMenu)
        {
            PlayerTapCommand = new RelayCommand<int>(player_Tap);
            _gameMain = (FrezoutGame) GetService<INavigationService>().GetLastNavigationData();

            Players = _gameMain.Players;
            NamePage = _gameMain.Name;

            SetGameMain(_gameMain);
            PlayerMenu = playerMenu;

            InitializeHeadTable();
        }
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/AnyPlace;component/UCCustomToolTip.xaml", System.UriKind.Relative));
     this.imgmarker  = ((System.Windows.Controls.Image)(this.FindName("imgmarker")));
     this.c_menu     = ((Microsoft.Phone.Controls.ContextMenu)(this.FindName("c_menu")));
     this.nav_here   = ((Microsoft.Phone.Controls.MenuItem)(this.FindName("nav_here")));
     this.source_poi = ((Microsoft.Phone.Controls.MenuItem)(this.FindName("source_poi")));
 }
示例#9
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/EnterraPokerTimer;component/ToursPage.xaml", System.UriKind.Relative));
     this.ListPickerItemTemplate = ((System.Windows.DataTemplate)(this.FindName("ListPickerItemTemplate")));
     this.ListPickerFullModeItemTemplate = ((System.Windows.DataTemplate)(this.FindName("ListPickerFullModeItemTemplate")));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.NamePage = ((System.Windows.Controls.TextBlock)(this.FindName("NamePage")));
     this.MessageEmpty = ((System.Windows.Controls.TextBlock)(this.FindName("MessageEmpty")));
     this.listBox = ((System.Windows.Controls.ListBox)(this.FindName("listBox")));
     this.menu = ((Microsoft.Phone.Controls.ContextMenu)(this.FindName("menu")));
     this.AddRemove = ((Microsoft.Phone.Controls.MenuItem)(this.FindName("AddRemove")));
 }
示例#10
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/JREndean.HIP.Client.WP7;component/MainPage.xaml", System.UriKind.Relative));
     this.PopupVoice         = ((System.Windows.Controls.Primitives.Popup)(this.FindName("PopupVoice")));
     this.TitlePanel         = ((System.Windows.Controls.StackPanel)(this.FindName("TitlePanel")));
     this.PageTitle          = ((System.Windows.Controls.TextBlock)(this.FindName("PageTitle")));
     this.User               = ((System.Windows.Controls.TextBlock)(this.FindName("User")));
     this.TileGrid           = ((System.Windows.Controls.Grid)(this.FindName("TileGrid")));
     this.HubTileContextMenu = ((Microsoft.Phone.Controls.ContextMenu)(this.FindName("HubTileContextMenu")));
 }
示例#11
0
        public ToursViewModel(ContextMenu test)
        {
            StartTapCommand = new RelayCommand(StartTap);
            EditTapCommand = new RelayCommand(EditTap);
            RemoveTapCommand = new RelayCommand(RemoveTap);
            DeleteTapCommand = new RelayCommand(DeleteTap);
            ItemTapCommand = new RelayCommand<object>(item_tap);
            LoadedCommand = new RelayCommand(PageLoaded);
            BackKeyPressCommand = new RelayCommand(OnBackKeyPress);

            _navigationService = GetService<INavigationService>();
            _message = GetService<IMessageBoxService>();
            _myDataContextBase = GetService<IDataBaseService>().GetDataBase();
            _testContextMenu = test; 

            OnNavigatedTo();
        }
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/contextMenu;component/MainPage.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.txbTeste = ((System.Windows.Controls.TextBlock)(this.FindName("txbTeste")));
     this.ContextMenu = ((Microsoft.Phone.Controls.ContextMenu)(this.FindName("ContextMenu")));
     this.Watch = ((Microsoft.Phone.Controls.MenuItem)(this.FindName("Watch")));
     this.Buy = ((Microsoft.Phone.Controls.MenuItem)(this.FindName("Buy")));
     this.Share = ((Microsoft.Phone.Controls.MenuItem)(this.FindName("Share")));
 }
示例#13
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/EnterraPokerTimer;component/SettingsGeneralPage.xaml", System.UriKind.Relative));
     this.ListPickerFullModeItemTemplate = ((System.Windows.DataTemplate)(this.FindName("ListPickerFullModeItemTemplate")));
     this.ListPickerItemTemplate = ((System.Windows.DataTemplate)(this.FindName("ListPickerItemTemplate")));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.Default = ((System.Windows.Controls.Button)(this.FindName("Default")));
     this.BeginGame = ((Microsoft.Phone.Controls.ListPicker)(this.FindName("BeginGame")));
     this.EndGame = ((Microsoft.Phone.Controls.ListPicker)(this.FindName("EndGame")));
     this.NewLevel = ((Microsoft.Phone.Controls.ListPicker)(this.FindName("NewLevel")));
     this.StartBreak = ((Microsoft.Phone.Controls.ListPicker)(this.FindName("StartBreak")));
     this.EndRebuyPeriod = ((Microsoft.Phone.Controls.ListPicker)(this.FindName("EndRebuyPeriod")));
     this.listBox = ((System.Windows.Controls.ListBox)(this.FindName("listBox")));
     this.menu = ((Microsoft.Phone.Controls.ContextMenu)(this.FindName("menu")));
 }
示例#14
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/Rayzit;component/Pages/RayzDetails.xaml", System.UriKind.Relative));
     this.RefreshRayzRepliesAppBarButton = ((Microsoft.Phone.Shell.ApplicationBarIconButton)(this.FindName("RefreshRayzRepliesAppBarButton")));
     this.LayoutRoot      = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.PageTitle       = ((System.Windows.Controls.TextBlock)(this.FindName("PageTitle")));
     this.ContentPanel    = ((System.Windows.Controls.Grid)(this.FindName("ContentPanel")));
     this.Rayz            = ((System.Windows.Controls.Button)(this.FindName("Rayz")));
     this.RayzContextMenu = ((Microsoft.Phone.Controls.ContextMenu)(this.FindName("RayzContextMenu")));
     this.RayzRepliesList = ((Microsoft.Phone.Controls.LongListSelector)(this.FindName("RayzRepliesList")));
     this.NoRepliesGrid   = ((System.Windows.Controls.Grid)(this.FindName("NoRepliesGrid")));
     this.RayzDeletedGrid = ((System.Windows.Controls.Grid)(this.FindName("RayzDeletedGrid")));
     this.ReplyTextBox    = ((System.Windows.Controls.StackPanel)(this.FindName("ReplyTextBox")));
 }
示例#15
0
        public SettingsGeneralViewModel(ContextMenu playerMenu)
        {
            _playerMenu = playerMenu;

            DefaultTapCommand = new RelayCommand(Default_OnTap);
            PivotCommand = new RelayCommand<object>(Pivot_SelectionChanged);
            LoadedCommand = new RelayCommand(PageLoaded);
            PlayerTapCommand = new RelayCommand<object>(PlayerTap);
            RenamePlayerCommand = new RelayCommand(RenameClick);
            DeletePlayerCommand = new RelayCommand(DeleteClick);
            MenuClosedCommand = new RelayCommand(_playerMenu_Closed);

            _navigationService = GetService<INavigationService>();
            _messageBoxService = GetService<IMessageBoxService>();
            SettingsApp = new Settings();

            var app = Application.Current as App;
            if (app != null) _myDataContextBase = app.ActiveBase;

            Players = new ObservableCollection<IPlayer>(from x in _myDataContextBase.Players orderby x.Name select x);
        }
示例#16
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/EnterraPokerTimer;component/Views/GamePage.xaml", System.UriKind.Relative));
     this.Game = ((Microsoft.Phone.Controls.PhoneApplicationPage)(this.FindName("Game")));
     this.ListPickerFullModeItemTemplate = ((System.Windows.DataTemplate)(this.FindName("ListPickerFullModeItemTemplate")));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.Media = ((System.Windows.Controls.MediaElement)(this.FindName("Media")));
     this.DisMenu = ((Microsoft.Phone.Controls.ContextMenu)(this.FindName("DisMenu")));
     this.Dis1 = ((Microsoft.Phone.Controls.MenuItem)(this.FindName("Dis1")));
     this.Dis2 = ((Microsoft.Phone.Controls.MenuItem)(this.FindName("Dis2")));
     this.Dis3 = ((Microsoft.Phone.Controls.MenuItem)(this.FindName("Dis3")));
     this.GameInLanscape = ((System.Windows.Controls.ListBox)(this.FindName("GameInLanscape")));
     this.MainBlind = ((System.Windows.Controls.TextBlock)(this.FindName("MainBlind")));
     this.ListPlayersLand = ((System.Windows.Controls.ListBox)(this.FindName("ListPlayersLand")));
     this.RebuyVisibility = ((System.Windows.Controls.TextBlock)(this.FindName("RebuyVisibility")));
     this.AddonVisibility = ((System.Windows.Controls.TextBlock)(this.FindName("AddonVisibility")));
     this.RebuyColumnSpan = ((System.Windows.Controls.TextBlock)(this.FindName("RebuyColumnSpan")));
     this.RebuyHeaderName = ((System.Windows.Controls.TextBlock)(this.FindName("RebuyHeaderName")));
 }
示例#17
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/EnterraPokerTimer;component/GamePage.xaml", System.UriKind.Relative));
     this.ListPickerFullModeItemTemplate = ((System.Windows.DataTemplate)(this.FindName("ListPickerFullModeItemTemplate")));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.header = ((System.Windows.Controls.StackPanel)(this.FindName("header")));
     this.Media = ((System.Windows.Controls.MediaElement)(this.FindName("Media")));
     this.MenuDistribute = ((Microsoft.Phone.Controls.ContextMenu)(this.FindName("MenuDistribute")));
     this.MenuMain = ((Microsoft.Phone.Controls.ContextMenu)(this.FindName("MenuMain")));
     this.GamePortrait = ((System.Windows.Controls.ListBox)(this.FindName("GamePortrait")));
     this.time = ((System.Windows.Controls.TextBlock)(this.FindName("time")));
     this.MainB = ((System.Windows.Controls.TextBlock)(this.FindName("MainB")));
     this.PrizeForPlaceImage = ((System.Windows.Controls.Image)(this.FindName("PrizeForPlaceImage")));
     this.rebuyFullHeader = ((System.Windows.Controls.Grid)(this.FindName("rebuyFullHeader")));
     this.listPlayers = ((System.Windows.Controls.ListBox)(this.FindName("listPlayers")));
     this.GameLandscape = ((System.Windows.Controls.ListBox)(this.FindName("GameLandscape")));
     this.MainBlind = ((System.Windows.Controls.TextBlock)(this.FindName("MainBlind")));
     this.PrizeForPlaceImage1 = ((System.Windows.Controls.Image)(this.FindName("PrizeForPlaceImage1")));
     this.PlayButtonImage = ((System.Windows.Controls.Image)(this.FindName("PlayButtonImage")));
     this.StopButtonImage = ((System.Windows.Controls.Image)(this.FindName("StopButtonImage")));
     this.InfoButtonImage = ((System.Windows.Controls.Image)(this.FindName("InfoButtonImage")));
     this.RebuyFullHeaderLand = ((System.Windows.Controls.Grid)(this.FindName("RebuyFullHeaderLand")));
     this.listPlayersLand = ((System.Windows.Controls.ListBox)(this.FindName("listPlayersLand")));
     this.PrizesListPicker = ((Microsoft.Phone.Controls.ListPicker)(this.FindName("PrizesListPicker")));
 }
示例#18
0
        private async void Action_Clicked(object sender, EventArgs e)
        {
            var actionButton = sender as IApplicationBarMenuItem;
            if (actionButton == null)
                return;

            var action = actionButtons.Where(ab => ab.Value == actionButton).Select(ab => ab.Key).FirstOrDefault();
            if (action == null)
                return;

            if (action.CanExecute)
            {
                if (action.Options == null || action.Options.Length == 0)
                    await action.Execute(-1);
                else if (action.Options.Length == 1)
                    await action.Execute(action.Options[0]);
                else
                {
                    var menu = new ContextMenu();
                    menu.VerticalAlignment = VerticalAlignment.Bottom;
                    action.Options.Run(o =>
                    {
                        var menuItem = new MenuItem { DataContext = action, Header = o };
                        menuItem.Click += async (_, __) => await action.Execute(o);
                        menu.Items.Add(menuItem);
                    });

                    ContextMenuService.SetContextMenu(page, menu);
                    RoutedEventHandler closed = null;

                    closed = (_, __) =>
                    {
                        ContextMenuService.SetContextMenu(page, null);
                        menu.Closed -= closed;
                    };

                    menu.Closed += closed;
                    menu.IsOpen = true;
                }
            }
        }
示例#19
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/Santander;component/View/CambioPINView.xaml", System.UriKind.Relative));
     this.phoneApplicationPage = ((Microsoft.Phone.Controls.PhoneApplicationPage)(this.FindName("phoneApplicationPage")));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.TitlePanel = ((System.Windows.Controls.StackPanel)(this.FindName("TitlePanel")));
     this.gApplicationTitle = ((System.Windows.Controls.Grid)(this.FindName("gApplicationTitle")));
     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.w1_3 = ((System.Windows.Controls.StackPanel)(this.FindName("w1_3")));
     this.w1_3_Title = ((System.Windows.Controls.Grid)(this.FindName("w1_3_Title")));
     this.w1_3_input = ((System.Windows.Controls.StackPanel)(this.FindName("w1_3_input")));
     this.tbNIPActual = ((System.Windows.Controls.TextBlock)(this.FindName("tbNIPActual")));
     this.tbxPinActual = ((System.Windows.Controls.PasswordBox)(this.FindName("tbxPinActual")));
     this.tbNuevoNIP = ((System.Windows.Controls.TextBlock)(this.FindName("tbNuevoNIP")));
     this.tbxNuevoPIN = ((System.Windows.Controls.PasswordBox)(this.FindName("tbxNuevoPIN")));
     this.tbConcepto = ((System.Windows.Controls.TextBlock)(this.FindName("tbConcepto")));
     this.tbxConfirmaNuevoPIN = ((System.Windows.Controls.PasswordBox)(this.FindName("tbxConfirmaNuevoPIN")));
     this.Check_CambioPIN = ((System.Windows.Controls.StackPanel)(this.FindName("Check_CambioPIN")));
     this.w2_3_Title = ((System.Windows.Controls.Grid)(this.FindName("w2_3_Title")));
     this.w2_3_input = ((System.Windows.Controls.Grid)(this.FindName("w2_3_input")));
     this.btnProcess = ((System.Windows.Controls.Button)(this.FindName("btnProcess")));
     this.gAyuda = ((System.Windows.Controls.Grid)(this.FindName("gAyuda")));
     this.menu = ((Microsoft.Phone.Controls.ContextMenu)(this.FindName("menu")));
     this.menuTelefono1 = ((Microsoft.Phone.Controls.MenuItem)(this.FindName("menuTelefono1")));
     this.menuTelefono2 = ((Microsoft.Phone.Controls.MenuItem)(this.FindName("menuTelefono2")));
     this.progress = ((Santander.View.UserControls.Progress)(this.FindName("progress")));
     this.token = ((Santander.View.UserControls.Token)(this.FindName("token")));
     this.mensajeError = ((Santander.View.UserControls.MensajeError)(this.FindName("mensajeError")));
     this.apbAyuda = ((Microsoft.Phone.Shell.ApplicationBarIconButton)(this.FindName("apbAyuda")));
 }
示例#20
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/EnterraPokerTimer;component/Views/GamePage.xaml", System.UriKind.Relative));
     this.Game = ((Microsoft.Phone.Controls.PhoneApplicationPage)(this.FindName("Game")));
     this.ListPickerFullModeItemTemplate = ((System.Windows.DataTemplate)(this.FindName("ListPickerFullModeItemTemplate")));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.Media = ((System.Windows.Controls.MediaElement)(this.FindName("Media")));
     this.FontSizePortraitBlock = ((System.Windows.Controls.TextBlock)(this.FindName("FontSizePortraitBlock")));
     this.FontSizeLanscapeBlock = ((System.Windows.Controls.TextBlock)(this.FindName("FontSizeLanscapeBlock")));
     this.DisMenu = ((Microsoft.Phone.Controls.ContextMenu)(this.FindName("DisMenu")));
     this.MenuPlayer = ((Microsoft.Phone.Controls.ContextMenu)(this.FindName("MenuPlayer")));
     this.GameInPortrait = ((System.Windows.Controls.ListBox)(this.FindName("GameInPortrait")));
     this.time = ((System.Windows.Controls.TextBlock)(this.FindName("time")));
     this.Viewbox2 = ((System.Windows.Controls.Viewbox)(this.FindName("Viewbox2")));
     this.List = ((System.Windows.Controls.ListBox)(this.FindName("List")));
     this.GameInLanscape = ((System.Windows.Controls.Grid)(this.FindName("GameInLanscape")));
     this.Viewbox1 = ((System.Windows.Controls.Viewbox)(this.FindName("Viewbox1")));
     this.StackPanel = ((System.Windows.Controls.StackPanel)(this.FindName("StackPanel")));
     this.ListPickerPrizeLand = ((Microsoft.Phone.Controls.ListPicker)(this.FindName("ListPickerPrizeLand")));
 }
示例#21
0
        void ellipse_Hold(object sender, System.Windows.Input.GestureEventArgs e)
        {
            Friend selectedFriend= (sender as Ellipse).DataContext as Friend;
            ContextMenu menu = new ContextMenu();
            MenuItem item = new MenuItem();
            item.Header = AppResources.FriendsView_SeeMore;
            item.DataContext = selectedFriend;
            item.Tap += SeeMore;
            menu.Items.Add(item);

            MenuItem itemTwo = new MenuItem();
            itemTwo.Header = AppResources.GPS_GetDirections;
            itemTwo.Tap += GetDirections;
            itemTwo.DataContext = selectedFriend;
            menu.Items.Add(itemTwo);

            ContextMenuService.SetContextMenu(sender as Ellipse, menu);
        }
示例#22
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/Santander;component/View/RenovarNipAccesoView.xaml", System.UriKind.Relative));
     this.apbAyuda = ((Microsoft.Phone.Shell.ApplicationBarIconButton)(this.FindName("apbAyuda")));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.TitlePanel = ((System.Windows.Controls.StackPanel)(this.FindName("TitlePanel")));
     this.gApplicationTitle = ((System.Windows.Controls.Grid)(this.FindName("gApplicationTitle")));
     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.w1_2 = ((System.Windows.Controls.StackPanel)(this.FindName("w1_2")));
     this.w1_2_Title = ((System.Windows.Controls.Grid)(this.FindName("w1_2_Title")));
     this.w1_2_input = ((System.Windows.Controls.StackPanel)(this.FindName("w1_2_input")));
     this.tbUsuario = ((System.Windows.Controls.TextBlock)(this.FindName("tbUsuario")));
     this.tbxNipActual = ((System.Windows.Controls.PasswordBox)(this.FindName("tbxNipActual")));
     this.tbxNuevoNipAcceso = ((System.Windows.Controls.PasswordBox)(this.FindName("tbxNuevoNipAcceso")));
     this.tbxConfirmarNuevoNipAcceso = ((System.Windows.Controls.PasswordBox)(this.FindName("tbxConfirmarNuevoNipAcceso")));
     this.w2_2 = ((System.Windows.Controls.StackPanel)(this.FindName("w2_2")));
     this.w2_2_Title = ((System.Windows.Controls.Grid)(this.FindName("w2_2_Title")));
     this.w2_2_input = ((System.Windows.Controls.StackPanel)(this.FindName("w2_2_input")));
     this.imgEstatus = ((System.Windows.Controls.Image)(this.FindName("imgEstatus")));
     this.w2_3_input = ((System.Windows.Controls.StackPanel)(this.FindName("w2_3_input")));
     this.btnProceso = ((System.Windows.Controls.Button)(this.FindName("btnProceso")));
     this.gAyuda = ((System.Windows.Controls.Grid)(this.FindName("gAyuda")));
     this.menu = ((Microsoft.Phone.Controls.ContextMenu)(this.FindName("menu")));
     this.menuTelefono1 = ((Microsoft.Phone.Controls.MenuItem)(this.FindName("menuTelefono1")));
     this.menuTelefono2 = ((Microsoft.Phone.Controls.MenuItem)(this.FindName("menuTelefono2")));
     this.progress = ((Santander.View.UserControls.Progress)(this.FindName("progress")));
 }
示例#23
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/Santander;component/View/AfiliacionView.xaml", System.UriKind.Relative));
     this.phoneApplicationPage = ((Microsoft.Phone.Controls.PhoneApplicationPage)(this.FindName("phoneApplicationPage")));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.TitlePanel = ((System.Windows.Controls.StackPanel)(this.FindName("TitlePanel")));
     this.gApplicationTitle = ((System.Windows.Controls.Grid)(this.FindName("gApplicationTitle")));
     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.w1_6 = ((System.Windows.Controls.StackPanel)(this.FindName("w1_6")));
     this.w1_6_Title = ((System.Windows.Controls.Grid)(this.FindName("w1_6_Title")));
     this.w1_6_input = ((System.Windows.Controls.StackPanel)(this.FindName("w1_6_input")));
     this.tbClaveUsuario = ((System.Windows.Controls.TextBlock)(this.FindName("tbClaveUsuario")));
     this.tbxTipoOperacion = ((System.Windows.Controls.TextBox)(this.FindName("tbxTipoOperacion")));
     this.tbxClaveCliente = ((System.Windows.Controls.PasswordBox)(this.FindName("tbxClaveCliente")));
     this.tbxNIP = ((System.Windows.Controls.PasswordBox)(this.FindName("tbxNIP")));
     this.w2_6 = ((System.Windows.Controls.StackPanel)(this.FindName("w2_6")));
     this.w2_6_Title = ((System.Windows.Controls.Grid)(this.FindName("w2_6_Title")));
     this.w2_6_input = ((System.Windows.Controls.StackPanel)(this.FindName("w2_6_input")));
     this.tbxNuevoNipAcceso = ((System.Windows.Controls.PasswordBox)(this.FindName("tbxNuevoNipAcceso")));
     this.tbxConfirmarNuevoNipAcceso = ((System.Windows.Controls.PasswordBox)(this.FindName("tbxConfirmarNuevoNipAcceso")));
     this.w3_6 = ((System.Windows.Controls.StackPanel)(this.FindName("w3_6")));
     this.w3_6_Title = ((System.Windows.Controls.Grid)(this.FindName("w3_6_Title")));
     this.w3_6_input = ((System.Windows.Controls.StackPanel)(this.FindName("w3_6_input")));
     this.tbxTelefonoCelular = ((System.Windows.Controls.TextBox)(this.FindName("tbxTelefonoCelular")));
     this.tbxCompaniaCelular = ((System.Windows.Controls.TextBox)(this.FindName("tbxCompaniaCelular")));
     this.tbxCorreoElectronico = ((System.Windows.Controls.TextBox)(this.FindName("tbxCorreoElectronico")));
     this.w3_6_Message = ((System.Windows.Controls.StackPanel)(this.FindName("w3_6_Message")));
     this.w3_6_Message2 = ((System.Windows.Controls.StackPanel)(this.FindName("w3_6_Message2")));
     this.w2_3_ST = ((System.Windows.Controls.StackPanel)(this.FindName("w2_3_ST")));
     this.tLeyendaJuridicoSuperToken = ((System.Windows.Controls.TextBlock)(this.FindName("tLeyendaJuridicoSuperToken")));
     this.w4_6 = ((System.Windows.Controls.StackPanel)(this.FindName("w4_6")));
     this.w4_6_Title = ((System.Windows.Controls.Grid)(this.FindName("w4_6_Title")));
     this.w4_6_input = ((System.Windows.Controls.StackPanel)(this.FindName("w4_6_input")));
     this.lstImagenes = ((Santander.View.UserControls.Imagenes)(this.FindName("lstImagenes")));
     this.btnOtrasImagenes = ((System.Windows.Controls.Button)(this.FindName("btnOtrasImagenes")));
     this.tbxFrase = ((System.Windows.Controls.TextBox)(this.FindName("tbxFrase")));
     this.w5_6 = ((System.Windows.Controls.StackPanel)(this.FindName("w5_6")));
     this.w5_6_Title = ((System.Windows.Controls.Grid)(this.FindName("w5_6_Title")));
     this.w5_6_input = ((System.Windows.Controls.StackPanel)(this.FindName("w5_6_input")));
     this.imgSeleccionada = ((System.Windows.Controls.Image)(this.FindName("imgSeleccionada")));
     this.tbFrase = ((System.Windows.Controls.TextBlock)(this.FindName("tbFrase")));
     this.tbxPreguntaSecreta = ((System.Windows.Controls.TextBox)(this.FindName("tbxPreguntaSecreta")));
     this.tbxRespuesta = ((System.Windows.Controls.TextBox)(this.FindName("tbxRespuesta")));
     this.chkRecordarDisp = ((System.Windows.Controls.CheckBox)(this.FindName("chkRecordarDisp")));
     this.w51_6 = ((System.Windows.Controls.StackPanel)(this.FindName("w51_6")));
     this.w51_6_Title = ((System.Windows.Controls.Grid)(this.FindName("w51_6_Title")));
     this.w51_6_input = ((System.Windows.Controls.StackPanel)(this.FindName("w51_6_input")));
     this.imgSeleccionada1 = ((System.Windows.Controls.Image)(this.FindName("imgSeleccionada1")));
     this.tbFrase1 = ((System.Windows.Controls.TextBlock)(this.FindName("tbFrase1")));
     this.pregunta = ((System.Windows.Controls.TextBlock)(this.FindName("pregunta")));
     this.respuesta = ((System.Windows.Controls.TextBlock)(this.FindName("respuesta")));
     this.w6_6 = ((System.Windows.Controls.StackPanel)(this.FindName("w6_6")));
     this.w6_6_Title = ((System.Windows.Controls.Grid)(this.FindName("w6_6_Title")));
     this.w6_6_input = ((System.Windows.Controls.StackPanel)(this.FindName("w6_6_input")));
     this.btnActualizar = ((System.Windows.Controls.Button)(this.FindName("btnActualizar")));
     this.btnProceso = ((System.Windows.Controls.Button)(this.FindName("btnProceso")));
     this.gAyuda = ((System.Windows.Controls.Grid)(this.FindName("gAyuda")));
     this.menu = ((Microsoft.Phone.Controls.ContextMenu)(this.FindName("menu")));
     this.menuTelefono1 = ((Microsoft.Phone.Controls.MenuItem)(this.FindName("menuTelefono1")));
     this.menuTelefono2 = ((Microsoft.Phone.Controls.MenuItem)(this.FindName("menuTelefono2")));
     this.progress = ((Santander.View.UserControls.Progress)(this.FindName("progress")));
     this.lstCompaniasCelular = ((Santander.View.UserControls.CustomList)(this.FindName("lstCompaniasCelular")));
     this.lstPreguntas = ((Santander.View.UserControls.CustomList)(this.FindName("lstPreguntas")));
     this.lstTipoOperaciones = ((Santander.View.UserControls.CustomList)(this.FindName("lstTipoOperaciones")));
     this.token = ((Santander.View.UserControls.Token)(this.FindName("token")));
     this.introducirPin = ((Santander.View.UserControls.IntroducirPin)(this.FindName("introducirPin")));
     this.apbAyuda = ((Microsoft.Phone.Shell.ApplicationBarIconButton)(this.FindName("apbAyuda")));
 }
示例#24
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/Santander;component/View/VisualizacionView.xaml", System.UriKind.Relative));
     this.phoneApplicationPage = ((Microsoft.Phone.Controls.PhoneApplicationPage)(this.FindName("phoneApplicationPage")));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.TitlePanel = ((System.Windows.Controls.StackPanel)(this.FindName("TitlePanel")));
     this.gApplicationTitle = ((System.Windows.Controls.Grid)(this.FindName("gApplicationTitle")));
     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.w1_3 = ((System.Windows.Controls.StackPanel)(this.FindName("w1_3")));
     this.Visualizacion3 = ((System.Windows.Controls.StackPanel)(this.FindName("Visualizacion3")));
     this.tbNIP = ((System.Windows.Controls.TextBlock)(this.FindName("tbNIP")));
     this.progressBar = ((System.Windows.Controls.ProgressBar)(this.FindName("progressBar")));
     this.Imagen = ((System.Windows.Controls.Image)(this.FindName("Imagen")));
     this.gAyuda = ((System.Windows.Controls.Grid)(this.FindName("gAyuda")));
     this.menu = ((Microsoft.Phone.Controls.ContextMenu)(this.FindName("menu")));
     this.menuTelefono1 = ((Microsoft.Phone.Controls.MenuItem)(this.FindName("menuTelefono1")));
     this.menuTelefono2 = ((Microsoft.Phone.Controls.MenuItem)(this.FindName("menuTelefono2")));
     this.tbObtenerNIPDinamico = ((System.Windows.Controls.TextBlock)(this.FindName("tbObtenerNIPDinamico")));
     this.apbAyuda = ((Microsoft.Phone.Shell.ApplicationBarIconButton)(this.FindName("apbAyuda")));
 }
示例#25
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/Santander;component/View/ActivacionView.xaml", System.UriKind.Relative));
     this.phoneApplicationPage = ((Microsoft.Phone.Controls.PhoneApplicationPage)(this.FindName("phoneApplicationPage")));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.gAyuda = ((System.Windows.Controls.Grid)(this.FindName("gAyuda")));
     this.menu = ((Microsoft.Phone.Controls.ContextMenu)(this.FindName("menu")));
     this.menuTelefono1 = ((Microsoft.Phone.Controls.MenuItem)(this.FindName("menuTelefono1")));
     this.menuTelefono2 = ((Microsoft.Phone.Controls.MenuItem)(this.FindName("menuTelefono2")));
     this.TitlePanel = ((System.Windows.Controls.StackPanel)(this.FindName("TitlePanel")));
     this.gApplicationTitle = ((System.Windows.Controls.Grid)(this.FindName("gApplicationTitle")));
     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.w0_3 = ((System.Windows.Controls.StackPanel)(this.FindName("w0_3")));
     this.w0_3_input = ((System.Windows.Controls.StackPanel)(this.FindName("w0_3_input")));
     this.tbActivacion0 = ((System.Windows.Controls.TextBlock)(this.FindName("tbActivacion0")));
     this.w1_3 = ((System.Windows.Controls.StackPanel)(this.FindName("w1_3")));
     this.w1_3_input = ((System.Windows.Controls.StackPanel)(this.FindName("w1_3_input")));
     this.tbActivacion1 = ((System.Windows.Controls.TextBlock)(this.FindName("tbActivacion1")));
     this.w2_3 = ((System.Windows.Controls.StackPanel)(this.FindName("w2_3")));
     this.w2_3_Title = ((System.Windows.Controls.Grid)(this.FindName("w2_3_Title")));
     this.w2_3_input = ((System.Windows.Controls.StackPanel)(this.FindName("w2_3_input")));
     this.tbAct01 = ((System.Windows.Controls.TextBlock)(this.FindName("tbAct01")));
     this.tbAct02 = ((System.Windows.Controls.TextBlock)(this.FindName("tbAct02")));
     this.tbCodigoCliente = ((System.Windows.Controls.TextBlock)(this.FindName("tbCodigoCliente")));
     this.tbxCodigoCliente = ((System.Windows.Controls.TextBox)(this.FindName("tbxCodigoCliente")));
     this.tbCActivacion = ((System.Windows.Controls.TextBlock)(this.FindName("tbCActivacion")));
     this.tbxCActivacion = ((System.Windows.Controls.TextBox)(this.FindName("tbxCActivacion")));
     this.tbPIN = ((System.Windows.Controls.TextBlock)(this.FindName("tbPIN")));
     this.tbMessage1 = ((System.Windows.Controls.TextBlock)(this.FindName("tbMessage1")));
     this.tbxPIN = ((System.Windows.Controls.TextBox)(this.FindName("tbxPIN")));
     this.tbConfirmarPIN = ((System.Windows.Controls.TextBlock)(this.FindName("tbConfirmarPIN")));
     this.tbxConfirmaPIN = ((System.Windows.Controls.TextBox)(this.FindName("tbxConfirmaPIN")));
     this.Check_CambioPIN = ((System.Windows.Controls.StackPanel)(this.FindName("Check_CambioPIN")));
     this.w3_3_Title = ((System.Windows.Controls.Grid)(this.FindName("w3_3_Title")));
     this.w3_3_input = ((System.Windows.Controls.Grid)(this.FindName("w3_3_input")));
     this.tActivacionSoftToken1 = ((System.Windows.Controls.TextBlock)(this.FindName("tActivacionSoftToken1")));
     this.tFecha = ((System.Windows.Controls.TextBlock)(this.FindName("tFecha")));
     this.tHora = ((System.Windows.Controls.TextBlock)(this.FindName("tHora")));
     this.tReferenciaDeOperacion = ((System.Windows.Controls.TextBlock)(this.FindName("tReferenciaDeOperacion")));
     this.tRegistroFecha = ((System.Windows.Controls.TextBlock)(this.FindName("tRegistroFecha")));
     this.tRegistroHora = ((System.Windows.Controls.TextBlock)(this.FindName("tRegistroHora")));
     this.tRegistroReferenciaOperacion = ((System.Windows.Controls.TextBlock)(this.FindName("tRegistroReferenciaOperacion")));
     this.btnProcess = ((System.Windows.Controls.Button)(this.FindName("btnProcess")));
     this.progress = ((Santander.View.UserControls.Progress)(this.FindName("progress")));
     this.token = ((Santander.View.UserControls.Token)(this.FindName("token")));
     this.MensajeError = ((Santander.View.UserControls.MensajeError)(this.FindName("MensajeError")));
     this.apbAyuda = ((Microsoft.Phone.Shell.ApplicationBarIconButton)(this.FindName("apbAyuda")));
 }