Наследование: System.Windows.Controls.ContentControl
Пример #1
0
 /// <summary>
 /// 加载数据到开关控件
 /// </summary>
 /// <param name="key">键</param>
 /// <param name="ToggleSwitch">开关控件</param>
 public static void LoadDataTo(string key, ToggleSwitch ToggleSwitch)
 {
     if (ToggleSwitch != null)
     {
         if (items == null)
         {
             ReadFromFile();
         }
         if (!items.ContainsKey(key))
         {
             items.Add(key, "");
         }
         try
         {
             if (!string.IsNullOrEmpty(items[key]))
             {
                 if (items[key].ToString().ToLower() == "true")
                 {
                     ToggleSwitch.IsChecked = true;
                 }
                 else
                 {
                     ToggleSwitch.IsChecked = false;
                 }
             }
         }
         catch (Exception)
         {
             ToggleSwitch.IsChecked = false;
         }
     }
 }
Пример #2
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/HFR7;component/Settings.xaml", System.UriKind.Relative));
     this.SettingsPA               = ((Microsoft.Phone.Controls.PhoneApplicationPage)(this.FindName("SettingsPA")));
     this.LayoutRoot               = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.backgroundImageBrush     = ((System.Windows.Media.ImageBrush)(this.FindName("backgroundImageBrush")));
     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.fontSizeListPicker       = ((Microsoft.Phone.Controls.ListPicker)(this.FindName("fontSizeListPicker")));
     this.favorisListPicker        = ((Microsoft.Phone.Controls.ListPicker)(this.FindName("favorisListPicker")));
     this.displayAvatarsListPicker = ((Microsoft.Phone.Controls.ListPicker)(this.FindName("displayAvatarsListPicker")));
     this.displayImagesListPicker  = ((Microsoft.Phone.Controls.ListPicker)(this.FindName("displayImagesListPicker")));
     this.disableLandscape         = ((Microsoft.Phone.Controls.ToggleSwitch)(this.FindName("disableLandscape")));
     this.pinchToZoom              = ((Microsoft.Phone.Controls.ToggleSwitch)(this.FindName("pinchToZoom")));
     this.activateFavAgent         = ((Microsoft.Phone.Controls.ToggleSwitch)(this.FindName("activateFavAgent")));
     this.activateMpNotif          = ((Microsoft.Phone.Controls.ToggleSwitch)(this.FindName("activateMpNotif")));
     this.activateCache            = ((Microsoft.Phone.Controls.ToggleSwitch)(this.FindName("activateCache")));
     this.runUnderLockScreen       = ((Microsoft.Phone.Controls.ToggleSwitch)(this.FindName("runUnderLockScreen")));
     this.refreshFavWP             = ((Microsoft.Phone.Controls.ToggleSwitch)(this.FindName("refreshFavWP")));
     this.vibrateLoad              = ((Microsoft.Phone.Controls.ToggleSwitch)(this.FindName("vibrateLoad")));
 }
Пример #3
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/DatenErkundungen;component/InfoPage.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.textBlock5       = ((System.Windows.Controls.TextBlock)(this.FindName("textBlock5")));
     this.stackPanel1      = ((System.Windows.Controls.StackPanel)(this.FindName("stackPanel1")));
     this.textBlock1       = ((System.Windows.Controls.TextBlock)(this.FindName("textBlock1")));
     this.textBlock2       = ((System.Windows.Controls.TextBlock)(this.FindName("textBlock2")));
     this.textBlock3       = ((System.Windows.Controls.TextBlock)(this.FindName("textBlock3")));
     this.toggleSwitch1    = ((Microsoft.Phone.Controls.ToggleSwitch)(this.FindName("toggleSwitch1")));
     this.stackPanel2      = ((System.Windows.Controls.StackPanel)(this.FindName("stackPanel2")));
     this.button3          = ((System.Windows.Controls.Button)(this.FindName("button3")));
     this.button4          = ((System.Windows.Controls.Button)(this.FindName("button4")));
     this.stackPanel4      = ((System.Windows.Controls.StackPanel)(this.FindName("stackPanel4")));
     this.stackPanel5      = ((System.Windows.Controls.StackPanel)(this.FindName("stackPanel5")));
     this.button5          = ((System.Windows.Controls.Button)(this.FindName("button5")));
     this.button6          = ((System.Windows.Controls.Button)(this.FindName("button6")));
 }
Пример #4
0
            /**
             * Constructor
             */
            public ToggleButton()
            {
                mToggleButton = new Microsoft.Phone.Controls.ToggleSwitch();
                View          = mToggleButton;

                /**
                 * implementation of the Click event
                 */
                mToggleButton.Click += new EventHandler <RoutedEventArgs>(
                    delegate(Object from, RoutedEventArgs evt)
                {
                    //click event needs a memory chunk of 8 bytes
                    Memory eventData = new Memory(12);

                    //starting with the 0 Byte we write the eventType
                    const int MAWidgetEventData_eventType = 0;
                    //starting with the 4th Byte we write the widgetHandle
                    const int MAWidgetEventData_widgetHandle = 4;
                    //starting with the 8th Byte write the selectedIndex
                    const int MAWidgetEventData_checked = 8;
                    int state = mToggleButton.IsChecked.Value ? 1 : 0;

                    eventData.WriteInt32(MAWidgetEventData_eventType, MoSync.Constants.MAW_EVENT_CLICKED);
                    eventData.WriteInt32(MAWidgetEventData_widgetHandle, mHandle);
                    eventData.WriteInt32(MAWidgetEventData_checked, state);

                    //posting a CustomEvent
                    mRuntime.PostCustomEvent(MoSync.Constants.EVENT_TYPE_WIDGET, eventData);
                });
            }
Пример #5
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/Beem;component/SettingsPage.xaml", System.UriKind.Relative));
     this.LayoutRoot          = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.ContentPanel        = ((System.Windows.Controls.StackPanel)(this.FindName("ContentPanel")));
     this.btnDelete           = ((System.Windows.Controls.Button)(this.FindName("btnDelete")));
     this.btnClearControls    = ((System.Windows.Controls.Button)(this.FindName("btnClearControls")));
     this.txtKey              = ((System.Windows.Controls.TextBox)(this.FindName("txtKey")));
     this.btnAuthorize        = ((System.Windows.Controls.Button)(this.FindName("btnAuthorize")));
     this.btnGetKey           = ((System.Windows.Controls.Button)(this.FindName("btnGetKey")));
     this.imgProfile          = ((System.Windows.Controls.Image)(this.FindName("imgProfile")));
     this.txtMicrosoftEmail   = ((System.Windows.Controls.TextBlock)(this.FindName("txtMicrosoftEmail")));
     this.btnSignIn           = ((Microsoft.Live.Controls.SignInButton)(this.FindName("btnSignIn")));
     this.txtLastFmUsername   = ((System.Windows.Controls.TextBox)(this.FindName("txtLastFmUsername")));
     this.txtLastFmPassword   = ((System.Windows.Controls.PasswordBox)(this.FindName("txtLastFmPassword")));
     this.btnLastFmLogin      = ((System.Windows.Controls.Button)(this.FindName("btnLastFmLogin")));
     this.tglScrobbleOnLaunch = ((Microsoft.Phone.Controls.ToggleSwitch)(this.FindName("tglScrobbleOnLaunch")));
     this.btnLastFmDeauth     = ((System.Windows.Controls.Button)(this.FindName("btnLastFmDeauth")));
     this.grdLoading          = ((System.Windows.Controls.Grid)(this.FindName("grdLoading")));
 }
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/MyLocalPharmacy;component/View/PillReminder.xaml", System.UriKind.Relative));
     this.LayoutRoot              = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.TitlePanel              = ((System.Windows.Controls.StackPanel)(this.FindName("TitlePanel")));
     this.PopupSearch             = ((System.Windows.Controls.Primitives.Popup)(this.FindName("PopupSearch")));
     this.acbDrugSearch           = ((Microsoft.Phone.Controls.AutoCompleteBox)(this.FindName("acbDrugSearch")));
     this.lstDrugSearch           = ((System.Windows.Controls.ListBox)(this.FindName("lstDrugSearch")));
     this.popupConfirm            = ((System.Windows.Controls.Primitives.Popup)(this.FindName("popupConfirm")));
     this.btnPopupcancel          = ((System.Windows.Controls.Button)(this.FindName("btnPopupcancel")));
     this.btnPopupOk              = ((System.Windows.Controls.Button)(this.FindName("btnPopupOk")));
     this.popupConfirmLeavePage   = ((System.Windows.Controls.Primitives.Popup)(this.FindName("popupConfirmLeavePage")));
     this.btnPopupcancelLeavePage = ((System.Windows.Controls.Button)(this.FindName("btnPopupcancelLeavePage")));
     this.btnPopupOkLeavePage     = ((System.Windows.Controls.Button)(this.FindName("btnPopupOkLeavePage")));
     this.ContentPanel            = ((System.Windows.Controls.Grid)(this.FindName("ContentPanel")));
     this.toggleName              = ((Microsoft.Phone.Controls.ToggleSwitch)(this.FindName("toggleName")));
     this.dpkDate           = ((Microsoft.Phone.Controls.DatePicker)(this.FindName("dpkDate")));
     this.tpkTime           = ((Microsoft.Phone.Controls.TimePicker)(this.FindName("tpkTime")));
     this.tbxDrugSearch     = ((Microsoft.Phone.Controls.PhoneTextBox)(this.FindName("tbxDrugSearch")));
     this.imgSearch         = ((System.Windows.Controls.Image)(this.FindName("imgSearch")));
     this.tbxQty            = ((Microsoft.Phone.Controls.PhoneTextBox)(this.FindName("tbxQty")));
     this.PillsReminderList = ((System.Windows.Controls.ListBox)(this.FindName("PillsReminderList")));
     this.btnSave           = ((Microsoft.Phone.Shell.ApplicationBarIconButton)(this.FindName("btnSave")));
 }
Пример #7
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/Medibox;component/Pages/NewMedicinePage.xaml", System.UriKind.Relative));
     this.LayoutRoot                = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.txtHelpMedicinName        = ((System.Windows.Controls.TextBlock)(this.FindName("txtHelpMedicinName")));
     this.boxMedicinName            = ((Microsoft.Phone.Controls.PhoneTextBox)(this.FindName("boxMedicinName")));
     this.txtHelpDose               = ((System.Windows.Controls.TextBlock)(this.FindName("txtHelpDose")));
     this.boxDose                   = ((Microsoft.Phone.Controls.PhoneTextBox)(this.FindName("boxDose")));
     this.txtHelpNumberOfDosePerDay = ((System.Windows.Controls.TextBlock)(this.FindName("txtHelpNumberOfDosePerDay")));
     this.boxNumberOfDosePerDay     = ((Microsoft.Phone.Controls.ListPicker)(this.FindName("boxNumberOfDosePerDay")));
     this.txtHelpStartDate          = ((System.Windows.Controls.TextBlock)(this.FindName("txtHelpStartDate")));
     this.boxStartDate              = ((Microsoft.Phone.Controls.DatePicker)(this.FindName("boxStartDate")));
     this.txtHelpStartTime          = ((System.Windows.Controls.TextBlock)(this.FindName("txtHelpStartTime")));
     this.boxStartTime              = ((Microsoft.Phone.Controls.TimePicker)(this.FindName("boxStartTime")));
     this.txtStopDate               = ((System.Windows.Controls.TextBlock)(this.FindName("txtStopDate")));
     this.boxStopDate               = ((Microsoft.Phone.Controls.DatePicker)(this.FindName("boxStopDate")));
     this.txtHelpReminder           = ((System.Windows.Controls.TextBlock)(this.FindName("txtHelpReminder")));
     this.btnReminder               = ((Microsoft.Phone.Controls.ToggleSwitch)(this.FindName("btnReminder")));
     this.txtHelpPriority           = ((System.Windows.Controls.TextBlock)(this.FindName("txtHelpPriority")));
     this.btnPriority               = ((Microsoft.Phone.Controls.ToggleSwitch)(this.FindName("btnPriority")));
     this.txtHelpNote               = ((System.Windows.Controls.TextBlock)(this.FindName("txtHelpNote")));
     this.boxNote                   = ((Microsoft.Phone.Controls.PhoneTextBox)(this.FindName("boxNote")));
 }
Пример #8
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/RipTrail;component/AppSettings.xaml", System.UriKind.Relative));
     this.LayoutRoot             = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.pivAppSettings         = ((Microsoft.Phone.Controls.Pivot)(this.FindName("pivAppSettings")));
     this.ContentGridMapSettings = ((System.Windows.Controls.Grid)(this.FindName("ContentGridMapSettings")));
     this.lstMapTypes            = ((Microsoft.Phone.Controls.ListPicker)(this.FindName("lstMapTypes")));
     this.lstMapColors           = ((Microsoft.Phone.Controls.ListPicker)(this.FindName("lstMapColors")));
     this.togCourse = ((Microsoft.Phone.Controls.ToggleSwitch)(this.FindName("togCourse")));
     this.ContentPanelAppSettings     = ((System.Windows.Controls.Grid)(this.FindName("ContentPanelAppSettings")));
     this.togMyLocation               = ((Microsoft.Phone.Controls.ToggleSwitch)(this.FindName("togMyLocation")));
     this.lstMapUnits                 = ((Microsoft.Phone.Controls.ListPicker)(this.FindName("lstMapUnits")));
     this.togScreenSleep              = ((Microsoft.Phone.Controls.ToggleSwitch)(this.FindName("togScreenSleep")));
     this.btnResetOdo                 = ((System.Windows.Controls.Button)(this.FindName("btnResetOdo")));
     this.pivCompassOptions           = ((Microsoft.Phone.Controls.PivotItem)(this.FindName("pivCompassOptions")));
     this.ContentPanelCompassSettings = ((System.Windows.Controls.Grid)(this.FindName("ContentPanelCompassSettings")));
     this.calibrationStackPanel       = ((System.Windows.Controls.StackPanel)(this.FindName("calibrationStackPanel")));
     this.calibrationTextBlock        = ((System.Windows.Controls.TextBlock)(this.FindName("calibrationTextBlock")));
     this.calibrationButton           = ((System.Windows.Controls.Button)(this.FindName("calibrationButton")));
     this.grdCalibrationPanel         = ((System.Windows.Controls.Grid)(this.FindName("grdCalibrationPanel")));
     this.btnCalibrateCompass         = ((System.Windows.Controls.Button)(this.FindName("btnCalibrateCompass")));
     this.togHideCompassRose          = ((Microsoft.Phone.Controls.ToggleSwitch)(this.FindName("togHideCompassRose")));
 }
Пример #9
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/YueFM%20for%20Windows%20Phone%208;component/SettingPage.xaml", System.UriKind.Relative));
     this.LayoutRoot        = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.Pivot             = ((Microsoft.Phone.Controls.Pivot)(this.FindName("Pivot")));
     this.AccountTextBlock  = ((System.Windows.Controls.TextBlock)(this.FindName("AccountTextBlock")));
     this.LogoutButton      = ((System.Windows.Controls.Button)(this.FindName("LogoutButton")));
     this.SkyDriveTextBlock = ((System.Windows.Controls.TextBlock)(this.FindName("SkyDriveTextBlock")));
     this.ButtonSignin      = ((Microsoft.Live.Controls.SignInButton)(this.FindName("ButtonSignin")));
     this.accountControl    = ((Alexis.WindowsPhone.Social.AccountControl)(this.FindName("accountControl")));
     this.FontListPicker    = ((Microsoft.Phone.Controls.ListPicker)(this.FindName("FontListPicker")));
     this.SizeTextBlock     = ((System.Windows.Controls.TextBlock)(this.FindName("SizeTextBlock")));
     this.SliderFontSize    = ((System.Windows.Controls.Slider)(this.FindName("SliderFontSize")));
     this.ImageToggleSwitch = ((Microsoft.Phone.Controls.ToggleSwitch)(this.FindName("ImageToggleSwitch")));
     this.NightToggleSwitch = ((Microsoft.Phone.Controls.ToggleSwitch)(this.FindName("NightToggleSwitch")));
     this.NightStackPanel   = ((System.Windows.Controls.StackPanel)(this.FindName("NightStackPanel")));
     this.NightStackPanelFadeInStoryboard  = ((System.Windows.Media.Animation.Storyboard)(this.FindName("NightStackPanelFadeInStoryboard")));
     this.NightStackPanelFadeOutStoryboard = ((System.Windows.Media.Animation.Storyboard)(this.FindName("NightStackPanelFadeOutStoryboard")));
     this.NightStackPanelTransformGroup    = ((System.Windows.Media.TransformGroup)(this.FindName("NightStackPanelTransformGroup")));
     this.NightStackPanelScaleTransform    = ((System.Windows.Media.ScaleTransform)(this.FindName("NightStackPanelScaleTransform")));
     this.NightTextBlock    = ((System.Windows.Controls.TextBlock)(this.FindName("NightTextBlock")));
     this.SliderNight       = ((System.Windows.Controls.Slider)(this.FindName("SliderNight")));
     this.QuitToggleSwitch  = ((Microsoft.Phone.Controls.ToggleSwitch)(this.FindName("QuitToggleSwitch")));
     this.crashToggleSwitch = ((Microsoft.Phone.Controls.ToggleSwitch)(this.FindName("crashToggleSwitch")));
     this.marketButton      = ((System.Windows.Controls.Button)(this.FindName("marketButton")));
     this.mailButton        = ((System.Windows.Controls.Button)(this.FindName("mailButton")));
 }
Пример #10
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/NoiseMap;component/Settings.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.EnableLocation = ((Microsoft.Phone.Controls.ToggleSwitch)(this.FindName("EnableLocation")));
 }
Пример #11
0
 private ToggleSwitch CreateBoundToggleSwitch(string header, string propertyPath)
 {
     ToggleSwitch ts = new ToggleSwitch()
     {
         Header = header,
         Margin = new Thickness(0, 0, 0, 10)
     };
     ts.SetBinding(ToggleSwitch.IsCheckedProperty, GetBinding(propertyPath));
     return ts;
 }
Пример #12
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/MusicPlayer;component/SettingSubPage/PlaySetting.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.ContentPanel = ((System.Windows.Controls.Grid)(this.FindName("ContentPanel")));
     this.TSIsGoMainPage = ((Microsoft.Phone.Controls.ToggleSwitch)(this.FindName("TSIsGoMainPage")));
 }
Пример #13
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/Xenosaga;component/LayoutAdministrador/OpcionesPreguntaEncuesta.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.ContentPanel = ((System.Windows.Controls.Grid)(this.FindName("ContentPanel")));
     this.ToggleSwitch = ((Microsoft.Phone.Controls.ToggleSwitch)(this.FindName("ToggleSwitch")));
 }
Пример #14
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/TuneYourMood;component/SettingsPage.xaml", System.UriKind.Relative));
     this.ApplicationTitle = ((System.Windows.Controls.TextBlock)(this.FindName("ApplicationTitle")));
     this.tagTitle = ((System.Windows.Controls.TextBlock)(this.FindName("tagTitle")));
     this.backgroundPicker = ((Telerik.Windows.Controls.RadListPicker)(this.FindName("backgroundPicker")));
     this.downloadFavorites = ((Microsoft.Phone.Controls.ToggleSwitch)(this.FindName("downloadFavorites")));
 }
Пример #15
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/Safepal;component/reportform.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.ContentPanel = ((System.Windows.Controls.Grid)(this.FindName("ContentPanel")));
     this.tglSwitch = ((Microsoft.Phone.Controls.ToggleSwitch)(this.FindName("tglSwitch")));
     this.YobDate = ((Microsoft.Phone.Controls.DatePicker)(this.FindName("YobDate")));
 }
Пример #16
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/AppSeafileClient;component/Class/PivotHelpControl.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.toggle_debug = ((Microsoft.Phone.Controls.ToggleSwitch)(this.FindName("toggle_debug")));
     this.textblock_debug = ((System.Windows.Controls.TextBox)(this.FindName("textblock_debug")));
     this.debug_send = ((System.Windows.Controls.Button)(this.FindName("debug_send")));
 }
Пример #17
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/Xenosaga;component/Login.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.ContentPanel = ((System.Windows.Controls.Grid)(this.FindName("ContentPanel")));
     this.btnIngresar = ((System.Windows.Controls.Button)(this.FindName("btnIngresar")));
     this.ToggleSwitch = ((Microsoft.Phone.Controls.ToggleSwitch)(this.FindName("ToggleSwitch")));
 }
Пример #18
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/Puzzle;component/Pages/SettingAndAboutPage.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.settingAndAboutPivot = ((Microsoft.Phone.Controls.Pivot)(this.FindName("settingAndAboutPivot")));
     this.tilePageExitTipSettingSwitcher = ((Microsoft.Phone.Controls.ToggleSwitch)(this.FindName("tilePageExitTipSettingSwitcher")));
     this.mainPageBackKeyPressTipSettingSwitcher = ((Microsoft.Phone.Controls.ToggleSwitch)(this.FindName("mainPageBackKeyPressTipSettingSwitcher")));
 }
Пример #19
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/NoiseMap;component/PageViews/Settings.xaml", System.UriKind.Relative));
     this.LayoutRoot     = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.EnableLocation = ((Microsoft.Phone.Controls.ToggleSwitch)(this.FindName("EnableLocation")));
 }
Пример #20
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/PsychicTest;component/View/Settings.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.ContentPanel = ((System.Windows.Controls.StackPanel)(this.FindName("ContentPanel")));
     this.SoundSwitch = ((Microsoft.Phone.Controls.ToggleSwitch)(this.FindName("SoundSwitch")));
     this.LspNumberGuesses = ((Microsoft.Phone.Controls.ListPicker)(this.FindName("LspNumberGuesses")));
     this.PickerFullModeItemTemplate = ((System.Windows.DataTemplate)(this.FindName("PickerFullModeItemTemplate")));
 }
Пример #21
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/TS;component/Setting.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.ContentPanel = ((System.Windows.Controls.ListBox)(this.FindName("ContentPanel")));
     this.Push = ((Microsoft.Phone.Controls.ToggleSwitch)(this.FindName("Push")));
     this.Lt = ((Microsoft.Phone.Controls.ToggleSwitch)(this.FindName("Lt")));
     this.test = ((System.Windows.Controls.Image)(this.FindName("test")));
 }
Пример #22
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/HexDecBinConverter;component/SettingPage.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.TitlePanel = ((System.Windows.Controls.StackPanel)(this.FindName("TitlePanel")));
     this.ContentPanel = ((System.Windows.Controls.Grid)(this.FindName("ContentPanel")));
     this.ContentGrid = ((System.Windows.Controls.Grid)(this.FindName("ContentGrid")));
     this.SystemTrayToggelButton = ((Microsoft.Phone.Controls.ToggleSwitch)(this.FindName("SystemTrayToggelButton")));
 }
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/StreetFitness;component/View/SettingsView.xaml", System.UriKind.Relative));
     this.LayoutRoot   = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.ContentPanel = ((System.Windows.Controls.Grid)(this.FindName("ContentPanel")));
     this.toggleSwitch = ((Microsoft.Phone.Controls.ToggleSwitch)(this.FindName("toggleSwitch")));
 }
Пример #24
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/EnterraPokerTimer;component/Views/GameTimePage.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.GameGrid = ((System.Windows.Controls.Grid)(this.FindName("GameGrid")));
     this.Days = ((Microsoft.Phone.Controls.Primitives.LoopingSelector)(this.FindName("Days")));
     this.HoursGame = ((Microsoft.Phone.Controls.Primitives.LoopingSelector)(this.FindName("HoursGame")));
     this.MinGame = ((Microsoft.Phone.Controls.Primitives.LoopingSelector)(this.FindName("MinGame")));
     this.gameUnlimited = ((Microsoft.Phone.Controls.ToggleSwitch)(this.FindName("gameUnlimited")));
 }
Пример #25
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/ShareMyKebab;component/customize.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.LocationContentPanel = ((System.Windows.Controls.StackPanel)(this.FindName("LocationContentPanel")));
     this.EnableLocation = ((Microsoft.Phone.Controls.ToggleSwitch)(this.FindName("EnableLocation")));
 }
Пример #26
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/Puzzle;component/Pages/SettingAndAboutPage.xaml", System.UriKind.Relative));
     this.LayoutRoot                             = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.settingAndAboutPivot                   = ((Microsoft.Phone.Controls.Pivot)(this.FindName("settingAndAboutPivot")));
     this.tilePageExitTipSettingSwitcher         = ((Microsoft.Phone.Controls.ToggleSwitch)(this.FindName("tilePageExitTipSettingSwitcher")));
     this.mainPageBackKeyPressTipSettingSwitcher = ((Microsoft.Phone.Controls.ToggleSwitch)(this.FindName("mainPageBackKeyPressTipSettingSwitcher")));
 }
Пример #27
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/AnyPlace;component/Settings.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.downloading = ((System.Windows.Controls.Grid)(this.FindName("downloading")));
     this.txt_download = ((System.Windows.Controls.TextBlock)(this.FindName("txt_download")));
     this.showTiles = ((Microsoft.Phone.Controls.ToggleSwitch)(this.FindName("showTiles")));
     this.showZoom = ((Microsoft.Phone.Controls.ToggleSwitch)(this.FindName("showZoom")));
     this.showTrackme = ((Microsoft.Phone.Controls.ToggleSwitch)(this.FindName("showTrackme")));
     this.listpicker = ((Microsoft.Phone.Controls.ListPicker)(this.FindName("listpicker")));
 }
Пример #28
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/Dieta;component/View/Configuracoes.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.ContentPanel = ((System.Windows.Controls.StackPanel)(this.FindName("ContentPanel")));
     this.TSwitchAgua = ((Microsoft.Phone.Controls.ToggleSwitch)(this.FindName("TSwitchAgua")));
     this.TPickerIntervaloAgua = ((Microsoft.Phone.Controls.TimePicker)(this.FindName("TPickerIntervaloAgua")));
     this.TPickerComecoAgua = ((Microsoft.Phone.Controls.TimePicker)(this.FindName("TPickerComecoAgua")));
     this.TPickerFimAgua = ((Microsoft.Phone.Controls.TimePicker)(this.FindName("TPickerFimAgua")));
     this.TSwitchRefeicao = ((Microsoft.Phone.Controls.ToggleSwitch)(this.FindName("TSwitchRefeicao")));
 }
Пример #29
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/POSH.Socrata.WP8;component/Views/Settings.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.ContentPanel = ((System.Windows.Controls.Grid)(this.FindName("ContentPanel")));
     this.lpkCityName = ((Microsoft.Phone.Controls.ListPicker)(this.FindName("lpkCityName")));
     this.chkLocation = ((System.Windows.Controls.CheckBox)(this.FindName("chkLocation")));
     this.tsNotification = ((Microsoft.Phone.Controls.ToggleSwitch)(this.FindName("tsNotification")));
     this.appBarPanel = ((Microsoft.Phone.Shell.ApplicationBar)(this.FindName("appBarPanel")));
     this.appbar_rate_app = ((Microsoft.Phone.Shell.ApplicationBarIconButton)(this.FindName("appbar_rate_app")));
 }
Пример #30
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/%D0%A1%D1%82%D1%80%D0%B0%D1%88%D0%BD%D1%8B%D0%B5%20%D0%B8%D1%81%D1%82%D0%BE%D1%8" +
                 "0%D0%B8%D0%B8%20wp8;component/Setting.xaml", System.UriKind.Relative));
     this.Storyboard1 = ((System.Windows.Media.Animation.Storyboard)(this.FindName("Storyboard1")));
     this.Storyboard2 = ((System.Windows.Media.Animation.Storyboard)(this.FindName("Storyboard2")));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.ContentPanel = ((System.Windows.Controls.ListBox)(this.FindName("ContentPanel")));
     this.Push = ((Microsoft.Phone.Controls.ToggleSwitch)(this.FindName("Push")));
     this.Lt = ((Microsoft.Phone.Controls.ToggleSwitch)(this.FindName("Lt")));
 }
Пример #31
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/MusicPlayer;component/SettingSubPage/SleepModePage.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.ContentPanel = ((System.Windows.Controls.Grid)(this.FindName("ContentPanel")));
     this.TSIsStopMusic = ((Microsoft.Phone.Controls.ToggleSwitch)(this.FindName("TSIsStopMusic")));
     this.sliderTimer = ((System.Windows.Controls.Slider)(this.FindName("sliderTimer")));
     this.TBMessage = ((System.Windows.Controls.TextBlock)(this.FindName("TBMessage")));
     this.TBTimeValue = ((System.Windows.Documents.Run)(this.FindName("TBTimeValue")));
     this.BTNStart = ((System.Windows.Controls.Primitives.ToggleButton)(this.FindName("BTNStart")));
 }
Пример #32
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/TrackingApp;component/SettingsPage.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.ContentPanel = ((System.Windows.Controls.Grid)(this.FindName("ContentPanel")));
     this.ShowInCalendarToggle = ((Microsoft.Phone.Controls.ToggleSwitch)(this.FindName("ShowInCalendarToggle")));
     this.RemindersToggle = ((Microsoft.Phone.Controls.ToggleSwitch)(this.FindName("RemindersToggle")));
     this.DeliveryTitleInput = ((System.Windows.Controls.TextBox)(this.FindName("DeliveryTitleInput")));
     this.DeliveryTimeInput = ((Microsoft.Phone.Controls.TimePicker)(this.FindName("DeliveryTimeInput")));
     this.ReminderTimeInput = ((Microsoft.Phone.Controls.TimePicker)(this.FindName("ReminderTimeInput")));
 }
Пример #33
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/Todo;component/Views/Task/TaskView.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.ContentPanel = ((System.Windows.Controls.StackPanel)(this.FindName("ContentPanel")));
     this.ReminderSwitch = ((Microsoft.Phone.Controls.ToggleSwitch)(this.FindName("ReminderSwitch")));
     this.textDescription = ((System.Windows.Controls.TextBox)(this.FindName("textDescription")));
     this.dateReminder = ((Microsoft.Phone.Controls.DatePicker)(this.FindName("dateReminder")));
     this.timeReminder = ((Microsoft.Phone.Controls.TimePicker)(this.FindName("timeReminder")));
     this.AddButton = ((System.Windows.Controls.Button)(this.FindName("AddButton")));
 }
Пример #34
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/Choose%20Your%20Path;component/Settings.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.Style      = ((Microsoft.Phone.Controls.ListPicker)(this.FindName("Style")));
     this.Color      = ((Microsoft.Phone.Controls.ListPicker)(this.FindName("Color")));
     this.Landmarks  = ((Microsoft.Phone.Controls.ToggleSwitch)(this.FindName("Landmarks")));
     this.Pedestrian = ((Microsoft.Phone.Controls.ToggleSwitch)(this.FindName("Pedestrian")));
 }
Пример #35
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/News;component/ShareContentPage.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.titleLabel = ((System.Windows.Controls.TextBlock)(this.FindName("titleLabel")));
     this.ContentPanel = ((System.Windows.Controls.ScrollViewer)(this.FindName("ContentPanel")));
     this.shareImgLabel = ((System.Windows.Controls.Image)(this.FindName("shareImgLabel")));
     this.ShowText = ((System.Windows.Controls.TextBlock)(this.FindName("ShowText")));
     this.shareTextLabel = ((System.Windows.Controls.TextBox)(this.FindName("shareTextLabel")));
     this.FacebookLabel = ((System.Windows.Controls.TextBlock)(this.FindName("FacebookLabel")));
     this.fb = ((Microsoft.Phone.Controls.ToggleSwitch)(this.FindName("fb")));
 }
Пример #36
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/Zires%20Explorer;component/Settings.xaml", System.UriKind.Relative));
     this.settings        = ((Microsoft.Phone.Controls.PhoneApplicationPage)(this.FindName("settings")));
     this.planeProjection = ((System.Windows.Media.PlaneProjection)(this.FindName("planeProjection")));
     this.LayoutRoot      = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.ContentPanel    = ((System.Windows.Controls.Grid)(this.FindName("ContentPanel")));
     this.gridView        = ((Microsoft.Phone.Controls.ToggleSwitch)(this.FindName("gridView")));
     this.listPickerColor = ((Microsoft.Phone.Controls.ListPicker)(this.FindName("listPickerColor")));
 }
Пример #37
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/Rayzit;component/Pages/Settings.xaml", System.UriKind.Relative));
     this.LbOptionsItemTemplate = ((System.Windows.DataTemplate)(this.FindName("LbOptionsItemTemplate")));
     this.LayoutRoot            = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.RayzitSettingsPivot   = ((Microsoft.Phone.Controls.Pivot)(this.FindName("RayzitSettingsPivot")));
     this.DistanceMetricLP      = ((Microsoft.Phone.Controls.ListPicker)(this.FindName("DistanceMetricLP")));
     this.DistanceLP            = ((Microsoft.Phone.Controls.ListPicker)(this.FindName("DistanceLP")));
     this.LiveTileSwitch        = ((Microsoft.Phone.Controls.ToggleSwitch)(this.FindName("LiveTileSwitch")));
 }
Пример #38
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/PersianFacebook;component/Pages/Settings.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.chkNotification = ((Microsoft.Phone.Controls.ToggleSwitch)(this.FindName("chkNotification")));
     this.btnOK = ((Microsoft.Phone.Shell.ApplicationBarIconButton)(this.FindName("btnOK")));
     this.btnCancel = ((Microsoft.Phone.Shell.ApplicationBarIconButton)(this.FindName("btnCancel")));
 }
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/Santander;component/View/GeolocalizacionSettingsView.xaml", System.UriKind.Relative));
     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.toggleSwitch = ((Microsoft.Phone.Controls.ToggleSwitch)(this.FindName("toggleSwitch")));
     this.abbAceptar = ((Microsoft.Phone.Shell.ApplicationBarIconButton)(this.FindName("abbAceptar")));
 }
Пример #40
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/Learn%20Vietnamese;component/MainPage.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.MainLongListSelector = ((Microsoft.Phone.Controls.LongListSelector)(this.FindName("MainLongListSelector")));
     this.PlaylistVideos = ((Microsoft.Phone.Controls.LongListSelector)(this.FindName("PlaylistVideos")));
     this.isSearchLesson = ((Microsoft.Phone.Controls.ToggleSwitch)(this.FindName("isSearchLesson")));
     this.txtsearch = ((System.Windows.Controls.TextBox)(this.FindName("txtsearch")));
     this.SecondLongListSelector = ((Microsoft.Phone.Controls.LongListSelector)(this.FindName("SecondLongListSelector")));
     this.SecondVideoLongListSelector = ((Microsoft.Phone.Controls.LongListSelector)(this.FindName("SecondVideoLongListSelector")));
     this.ListMT = ((System.Windows.Controls.ListBox)(this.FindName("ListMT")));
 }
Пример #41
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/VKPro;component/SettingsPage.xaml", System.UriKind.Relative));
     this.ChangePhotoButton = ((System.Windows.Controls.Button)(this.FindName("ChangePhotoButton")));
     this.VibrationToggleSwitch = ((Microsoft.Phone.Controls.ToggleSwitch)(this.FindName("VibrationToggleSwitch")));
     this.VoiceToggleSwitch = ((Microsoft.Phone.Controls.ToggleSwitch)(this.FindName("VoiceToggleSwitch")));
     this.PushNotificationToggleSwitch = ((Microsoft.Phone.Controls.ToggleSwitch)(this.FindName("PushNotificationToggleSwitch")));
     this.NotDisturbFor1HoursButton = ((System.Windows.Controls.Button)(this.FindName("NotDisturbFor1HoursButton")));
     this.NotDisturbFor8HoursButton = ((System.Windows.Controls.Button)(this.FindName("NotDisturbFor8HoursButton")));
     this.CancelButton = ((System.Windows.Controls.Button)(this.FindName("CancelButton")));
     this.LogOutButton = ((System.Windows.Controls.Button)(this.FindName("LogOutButton")));
 }
Пример #42
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/RipTrail;component/Save.xaml", System.UriKind.Relative));
     this.LayoutRoot     = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.ContentPanel   = ((System.Windows.Controls.Grid)(this.FindName("ContentPanel")));
     this.txtTrackName   = ((System.Windows.Controls.TextBox)(this.FindName("txtTrackName")));
     this.txtDescription = ((System.Windows.Controls.TextBox)(this.FindName("txtDescription")));
     this.togClearMap    = ((Microsoft.Phone.Controls.ToggleSwitch)(this.FindName("togClearMap")));
     this.btnSave        = ((System.Windows.Controls.Button)(this.FindName("btnSave")));
 }
Пример #43
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/Chameleon;component/View/SettingPage.xaml", System.UriKind.Relative));
     this.settingPage                            = ((Microsoft.Phone.Controls.PhoneApplicationPage)(this.FindName("settingPage")));
     this.PickerItemTemplate                     = ((System.Windows.DataTemplate)(this.FindName("PickerItemTemplate")));
     this.PickerFullModeItemTemplate             = ((System.Windows.DataTemplate)(this.FindName("PickerFullModeItemTemplate")));
     this.ColorPickerItemTemplate                = ((System.Windows.DataTemplate)(this.FindName("ColorPickerItemTemplate")));
     this.ColorPickerFullModeItemTemplate        = ((System.Windows.DataTemplate)(this.FindName("ColorPickerFullModeItemTemplate")));
     this.LsIBTemplatePickerItemTemplate         = ((System.Windows.DataTemplate)(this.FindName("LsIBTemplatePickerItemTemplate")));
     this.LsIBTemplatePickerFullModeItemTemplate = ((System.Windows.DataTemplate)(this.FindName("LsIBTemplatePickerFullModeItemTemplate")));
     this.IconPickerItemTemplate                 = ((System.Windows.DataTemplate)(this.FindName("IconPickerItemTemplate")));
     this.LayoutRoot                            = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.PivotSetting                          = ((Microsoft.Phone.Controls.Pivot)(this.FindName("PivotSetting")));
     this.PILivetileSetting                     = ((Microsoft.Phone.Controls.PivotItem)(this.FindName("PILivetileSetting")));
     this.UseRandomLivetileColor                = ((Microsoft.Phone.Controls.ToggleSwitch)(this.FindName("UseRandomLivetileColor")));
     this.LivetileWeatherColorPicker            = ((Microsoft.Phone.Controls.ListPicker)(this.FindName("LivetileWeatherColorPicker")));
     this.LivetileCalendarColorPicker           = ((Microsoft.Phone.Controls.ListPicker)(this.FindName("LivetileCalendarColorPicker")));
     this.LivetileBatteryColorPicker            = ((Microsoft.Phone.Controls.ListPicker)(this.FindName("LivetileBatteryColorPicker")));
     this.LivetileFontWeightPicker              = ((Microsoft.Phone.Controls.ListPicker)(this.FindName("LivetileFontWeightPicker")));
     this.LivetileWeatherFontSizePicker         = ((Microsoft.Phone.Controls.ListPicker)(this.FindName("LivetileWeatherFontSizePicker")));
     this.LivetileBatteryFullPicker             = ((Microsoft.Phone.Controls.ListPicker)(this.FindName("LivetileBatteryFullPicker")));
     this.UpdateIntervalLivetilePicker          = ((Microsoft.Phone.Controls.ListPicker)(this.FindName("UpdateIntervalLivetilePicker")));
     this.PILockscreenSetting                   = ((Microsoft.Phone.Controls.PivotItem)(this.FindName("PILockscreenSetting")));
     this.LockscreenBackgroundTemplatePicker    = ((Microsoft.Phone.Controls.ListPicker)(this.FindName("LockscreenBackgroundTemplatePicker")));
     this.LockscreenBackgroundColortPicker      = ((Microsoft.Phone.Controls.ListPicker)(this.FindName("LockscreenBackgroundColortPicker")));
     this.LockscreenBackgroundOpacityHeader     = ((System.Windows.Controls.TextBlock)(this.FindName("LockscreenBackgroundOpacityHeader")));
     this.LockscreenBackgroundOpacity           = ((System.Windows.Controls.Slider)(this.FindName("LockscreenBackgroundOpacity")));
     this.UseLockscreenBackgroundItemSeparation = ((Microsoft.Phone.Controls.ToggleSwitch)(this.FindName("UseLockscreenBackgroundItemSeparation")));
     this.LockscreenFontWeightPicker            = ((Microsoft.Phone.Controls.ListPicker)(this.FindName("LockscreenFontWeightPicker")));
     this.UpdateIntervalLockscreenPicker        = ((Microsoft.Phone.Controls.ListPicker)(this.FindName("UpdateIntervalLockscreenPicker")));
     this.DomainFilter                          = ((System.Windows.Controls.TextBlock)(this.FindName("DomainFilter")));
     this.PIExtraSetting                        = ((Microsoft.Phone.Controls.PivotItem)(this.FindName("PIExtraSetting")));
     this.SVExtraSetting                        = ((System.Windows.Controls.ScrollViewer)(this.FindName("SVExtraSetting")));
     this.UseProtectiveColor                    = ((Microsoft.Phone.Controls.ToggleSwitch)(this.FindName("UseProtectiveColor")));
     this.SkinColorPicker                       = ((Microsoft.Phone.Controls.ListPicker)(this.FindName("SkinColorPicker")));
     this.SPExSettingWeather                    = ((System.Windows.Controls.StackPanel)(this.FindName("SPExSettingWeather")));
     this.WeatherLocation                       = ((Microsoft.Phone.Controls.ToggleSwitch)(this.FindName("WeatherLocation")));
     this.WeatherUnitPicker                     = ((Microsoft.Phone.Controls.ListPicker)(this.FindName("WeatherUnitPicker")));
     this.WeatherIconPackPicker                 = ((Microsoft.Phone.Controls.ListPicker)(this.FindName("WeatherIconPackPicker")));
     this.SPExSettingCalendar                   = ((System.Windows.Controls.StackPanel)(this.FindName("SPExSettingCalendar")));
     this.CalendarFirstDayPicker                = ((Microsoft.Phone.Controls.ListPicker)(this.FindName("CalendarFirstDayPicker")));
     this.CalednarDisplayAppointment            = ((Microsoft.Phone.Controls.ToggleSwitch)(this.FindName("CalednarDisplayAppointment")));
 }
Пример #44
0
 public void InitializeComponent()
 {
     if (!this._contentLoaded)
     {
         this._contentLoaded = true;
         Application.LoadComponent(this, new Uri("/DBMeasurer;component/SettingPage.xaml", 2));
         this.LayoutRoot = base.FindName("LayoutRoot");
         this.SP_Beauty = base.FindName("SP_Beauty");
         this.TS_ForbidLock = base.FindName("TS_ForbidLock");
         this.stackPanel1 = base.FindName("stackPanel1");
         this.textBlock14 = base.FindName("textBlock14");
         this.PrivacyPolicyButton = base.FindName("PrivacyPolicyButton");
         this.textBlock5 = base.FindName("textBlock5");
         this.textBlock6 = base.FindName("textBlock6");
     }
 }
Пример #45
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/POSH.Socrata.WP8;component/Views/Settings.xaml", System.UriKind.Relative));
     this.LayoutRoot      = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.ContentPanel    = ((System.Windows.Controls.Grid)(this.FindName("ContentPanel")));
     this.lpkCityName     = ((Microsoft.Phone.Controls.ListPicker)(this.FindName("lpkCityName")));
     this.chkLocation     = ((System.Windows.Controls.CheckBox)(this.FindName("chkLocation")));
     this.tsNotification  = ((Microsoft.Phone.Controls.ToggleSwitch)(this.FindName("tsNotification")));
     this.appBarPanel     = ((Microsoft.Phone.Shell.ApplicationBar)(this.FindName("appBarPanel")));
     this.appbar_rate_app = ((Microsoft.Phone.Shell.ApplicationBarIconButton)(this.FindName("appbar_rate_app")));
 }
Пример #46
0
        public static void RestoreState(PhoneApplicationPage page, ToggleSwitch toggleSwitch)
        {
            VerifyControlHasName(toggleSwitch, "toggleSwitch");

            string key = toggleSwitch.Name + ".IsChecked";

            if (page.State.ContainsKey(key))
            {
                bool isChecked = (bool)page.State[key];

                toggleSwitch.Loaded += delegate
                {
                    toggleSwitch.IsChecked = isChecked;
                };
            }
        }
Пример #47
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/Bands%20in%20Town;component/SettingsPage.xaml", System.UriKind.Relative));
     this.LayoutRoot            = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.ContentPanel          = ((System.Windows.Controls.Grid)(this.FindName("ContentPanel")));
     this.ToggleSwitch_location = ((Microsoft.Phone.Controls.ToggleSwitch)(this.FindName("ToggleSwitch_location")));
     this.ToggleSwitch          = ((Microsoft.Phone.Controls.ToggleSwitch)(this.FindName("ToggleSwitch")));
     this.StartDate             = ((Microsoft.Phone.Controls.DatePicker)(this.FindName("StartDate")));
     this.EndDate        = ((Microsoft.Phone.Controls.DatePicker)(this.FindName("EndDate")));
     this.DistanceSlider = ((System.Windows.Controls.Slider)(this.FindName("DistanceSlider")));
 }
Пример #48
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/DOLStatsMango;component/Views/SettingsView.xaml", System.UriKind.Relative));
     this.appBarIcon_Save = ((Microsoft.Phone.Shell.ApplicationBarIconButton)(this.FindName("appBarIcon_Save")));
     this.appBarIcon_Cancel = ((Microsoft.Phone.Shell.ApplicationBarIconButton)(this.FindName("appBarIcon_Cancel")));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.TitlePanel = ((System.Windows.Controls.StackPanel)(this.FindName("TitlePanel")));
     this.PageTitle = ((System.Windows.Controls.TextBlock)(this.FindName("PageTitle")));
     this.ContentPanel = ((System.Windows.Controls.Grid)(this.FindName("ContentPanel")));
     this.tsUseLocation = ((Microsoft.Phone.Controls.ToggleSwitch)(this.FindName("tsUseLocation")));
     this.txtLocationMessage = ((System.Windows.Controls.TextBlock)(this.FindName("txtLocationMessage")));
     this.txtGpsEnabled = ((System.Windows.Controls.TextBlock)(this.FindName("txtGpsEnabled")));
 }
Пример #49
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/AnyPlace;component/Settings.xaml", System.UriKind.Relative));
     this.LayoutRoot   = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.downloading  = ((System.Windows.Controls.Grid)(this.FindName("downloading")));
     this.txt_download = ((System.Windows.Controls.TextBlock)(this.FindName("txt_download")));
     this.showTiles    = ((Microsoft.Phone.Controls.ToggleSwitch)(this.FindName("showTiles")));
     this.showZoom     = ((Microsoft.Phone.Controls.ToggleSwitch)(this.FindName("showZoom")));
     this.showTrackme  = ((Microsoft.Phone.Controls.ToggleSwitch)(this.FindName("showTrackme")));
     this.listpicker   = ((Microsoft.Phone.Controls.ListPicker)(this.FindName("listpicker")));
 }
Пример #50
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/Smart%20Challenge;component/setMenu.xaml", System.UriKind.Relative));
     this.grid1           = ((System.Windows.Controls.Grid)(this.FindName("grid1")));
     this.sfondo1BG       = ((System.Windows.Controls.Image)(this.FindName("sfondo1BG")));
     this.selezioneLingua = ((Phone.Controls.ListPicker)(this.FindName("selezioneLingua")));
     this.lang            = ((System.Windows.Controls.TextBlock)(this.FindName("lang")));
     this.audio           = ((System.Windows.Controls.TextBlock)(this.FindName("audio")));
     this.audioOnOff      = ((Microsoft.Phone.Controls.ToggleSwitch)(this.FindName("audioOnOff")));
     this.TxtSettings     = ((System.Windows.Controls.TextBlock)(this.FindName("TxtSettings")));
     this.reset           = ((System.Windows.Controls.TextBlock)(this.FindName("reset")));
 }
Пример #51
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/PicAid%201.0;component/user_profile.xaml", System.UriKind.Relative));
     this.LayoutRoot         = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.ContentPanel       = ((System.Windows.Controls.Grid)(this.FindName("ContentPanel")));
     this.mail_block         = ((System.Windows.Controls.TextBlock)(this.FindName("mail_block")));
     this.name_block         = ((System.Windows.Controls.TextBlock)(this.FindName("name_block")));
     this.city_block         = ((System.Windows.Controls.TextBlock)(this.FindName("city_block")));
     this.gender_block       = ((System.Windows.Controls.TextBlock)(this.FindName("gender_block")));
     this.mobile_block       = ((System.Windows.Controls.TextBlock)(this.FindName("mobile_block")));
     this.dob_block          = ((System.Windows.Controls.TextBlock)(this.FindName("dob_block")));
     this.tglBlood           = ((Microsoft.Phone.Controls.ToggleSwitch)(this.FindName("tglBlood")));
     this.Donate_blood_stack = ((System.Windows.Controls.StackPanel)(this.FindName("Donate_blood_stack")));
     this.APO                = ((System.Windows.Controls.RadioButton)(this.FindName("APO")));
     this.BPO                = ((System.Windows.Controls.RadioButton)(this.FindName("BPO")));
     this.ABPO               = ((System.Windows.Controls.RadioButton)(this.FindName("ABPO")));
     this.OPO                = ((System.Windows.Controls.RadioButton)(this.FindName("OPO")));
     this.ANAG               = ((System.Windows.Controls.RadioButton)(this.FindName("ANAG")));
     this.BNAG               = ((System.Windows.Controls.RadioButton)(this.FindName("BNAG")));
     this.ABNAG              = ((System.Windows.Controls.RadioButton)(this.FindName("ABNAG")));
     this.ONAG               = ((System.Windows.Controls.RadioButton)(this.FindName("ONAG")));
     this.tglOrgan           = ((Microsoft.Phone.Controls.ToggleSwitch)(this.FindName("tglOrgan")));
     this.Donate_organ_stack = ((System.Windows.Controls.StackPanel)(this.FindName("Donate_organ_stack")));
     this.lstOrganList       = ((System.Windows.Controls.ListBox)(this.FindName("lstOrganList")));
     this.btn_save           = ((System.Windows.Controls.Button)(this.FindName("btn_save")));
     this.tglPaientBlood     = ((Microsoft.Phone.Controls.ToggleSwitch)(this.FindName("tglPaientBlood")));
     this.Need_blood_stack   = ((System.Windows.Controls.StackPanel)(this.FindName("Need_blood_stack")));
     this.NDAPO              = ((System.Windows.Controls.RadioButton)(this.FindName("NDAPO")));
     this.NDBPO              = ((System.Windows.Controls.RadioButton)(this.FindName("NDBPO")));
     this.NDABPO             = ((System.Windows.Controls.RadioButton)(this.FindName("NDABPO")));
     this.NDOPO              = ((System.Windows.Controls.RadioButton)(this.FindName("NDOPO")));
     this.NDANAG             = ((System.Windows.Controls.RadioButton)(this.FindName("NDANAG")));
     this.NDBNAG             = ((System.Windows.Controls.RadioButton)(this.FindName("NDBNAG")));
     this.NDABNAG            = ((System.Windows.Controls.RadioButton)(this.FindName("NDABNAG")));
     this.NDONAG             = ((System.Windows.Controls.RadioButton)(this.FindName("NDONAG")));
     this.needbld_btn        = ((System.Windows.Controls.Button)(this.FindName("needbld_btn")));
     this.tglPatientOrgan    = ((Microsoft.Phone.Controls.ToggleSwitch)(this.FindName("tglPatientOrgan")));
     this.Need_Organ_stack   = ((System.Windows.Controls.StackPanel)(this.FindName("Need_Organ_stack")));
     this.lstNeedOrganList   = ((System.Windows.Controls.ListBox)(this.FindName("lstNeedOrganList")));
     this.needorg_btn        = ((System.Windows.Controls.Button)(this.FindName("needorg_btn")));
 }
Пример #52
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/batteryBetter;component/Notifications.xaml", System.UriKind.Relative));
     this.LayoutRoot        = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.ContentPanel      = ((System.Windows.Controls.Grid)(this.FindName("ContentPanel")));
     this.ContentGrid       = ((System.Windows.Controls.ScrollViewer)(this.FindName("ContentGrid")));
     this.BatteryLowSwitch  = ((Microsoft.Phone.Controls.ToggleSwitch)(this.FindName("BatteryLowSwitch")));
     this.lowBattery        = ((System.Windows.Controls.TextBlock)(this.FindName("lowBattery")));
     this.slider2           = ((System.Windows.Controls.Slider)(this.FindName("slider2")));
     this.BatteryFullSwitch = ((Microsoft.Phone.Controls.ToggleSwitch)(this.FindName("BatteryFullSwitch")));
     this.pushNotifications = ((System.Windows.Controls.TextBlock)(this.FindName("pushNotifications")));
     this.slider1           = ((System.Windows.Controls.Slider)(this.FindName("slider1")));
 }
Пример #53
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/DiscountMe;component/Ventanas/LoginPage.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.nombreUsuarioTextBox   = ((System.Windows.Controls.TextBox)(this.FindName("nombreUsuarioTextBox")));
     this.passwordTextBox        = ((System.Windows.Controls.PasswordBox)(this.FindName("passwordTextBox")));
     this.loginButton            = ((System.Windows.Controls.Button)(this.FindName("loginButton")));
     this.recuerdameToggleSwitch = ((Microsoft.Phone.Controls.ToggleSwitch)(this.FindName("recuerdameToggleSwitch")));
 }
Пример #54
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/Facts;component/SettingsPage.xaml", System.UriKind.Relative));
     this.SPAppBar        = ((Microsoft.Phone.Shell.ApplicationBar)(this.FindName("SPAppBar")));
     this.AppEmail        = ((Microsoft.Phone.Shell.ApplicationBarIconButton)(this.FindName("AppEmail")));
     this.LayoutRoot      = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.RecTitle        = ((System.Windows.Shapes.Rectangle)(this.FindName("RecTitle")));
     this.TBNumber        = ((System.Windows.Controls.TextBlock)(this.FindName("TBNumber")));
     this.TBLogo          = ((System.Windows.Controls.TextBlock)(this.FindName("TBLogo")));
     this.PBarLeft        = ((System.Windows.Controls.ProgressBar)(this.FindName("PBarLeft")));
     this.PBarRight       = ((System.Windows.Controls.ProgressBar)(this.FindName("PBarRight")));
     this.SwitchPanel     = ((Microsoft.Phone.Controls.ToggleSwitch)(this.FindName("SwitchPanel")));
     this.SwitchTextStyle = ((Microsoft.Phone.Controls.ToggleSwitch)(this.FindName("SwitchTextStyle")));
 }
Пример #55
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/Irrigation;component/IndexPage.xaml", System.UriKind.Relative));
     this.LayoutRoot    = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.panoramaIndex = ((Microsoft.Phone.Controls.Panorama)(this.FindName("panoramaIndex")));
     this.btnEasy       = ((System.Windows.Controls.Button)(this.FindName("btnEasy")));
     this.btnNormal     = ((System.Windows.Controls.Button)(this.FindName("btnNormal")));
     this.btnHard       = ((System.Windows.Controls.Button)(this.FindName("btnHard")));
     this.btnVeryHard   = ((System.Windows.Controls.Button)(this.FindName("btnVeryHard")));
     this.tsSoundEffect = ((Microsoft.Phone.Controls.ToggleSwitch)(this.FindName("tsSoundEffect")));
     this.tsBackground  = ((Microsoft.Phone.Controls.ToggleSwitch)(this.FindName("tsBackground")));
     this.btnRating     = ((System.Windows.Controls.HyperlinkButton)(this.FindName("btnRating")));
     this.btnAuthor     = ((System.Windows.Controls.HyperlinkButton)(this.FindName("btnAuthor")));
 }
Пример #56
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/sdkVoiceAlarmClockWP8CS;component/SettingsPage.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.hourFmtToggleSwitch   = ((Microsoft.Phone.Controls.ToggleSwitch)(this.FindName("hourFmtToggleSwitch")));
     this.secFmtToggleSwitch    = ((Microsoft.Phone.Controls.ToggleSwitch)(this.FindName("secFmtToggleSwitch")));
     this.vibrationToggleSwitch = ((Microsoft.Phone.Controls.ToggleSwitch)(this.FindName("vibrationToggleSwitch")));
     this.speechToggleSwitch    = ((Microsoft.Phone.Controls.ToggleSwitch)(this.FindName("speechToggleSwitch")));
     this.VoicePwdButton        = ((System.Windows.Controls.Button)(this.FindName("VoicePwdButton")));
     this.TestVoicePwdButton    = ((System.Windows.Controls.Button)(this.FindName("TestVoicePwdButton")));
     this.TestVolumeButton      = ((System.Windows.Controls.Primitives.ToggleButton)(this.FindName("TestVolumeButton")));
 }
Пример #57
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/PivotApp1;component/Assets/AppBar/Asetukset.xaml", System.UriKind.Relative));
     this.BackFront      = ((Microsoft.Phone.Shell.ApplicationBarIconButton)(this.FindName("BackFront")));
     this.VaihdaLohkoa   = ((Microsoft.Phone.Shell.ApplicationBarIconButton)(this.FindName("VaihdaLohkoa")));
     this.Asetukset_Copy = ((Microsoft.Phone.Shell.ApplicationBarIconButton)(this.FindName("Asetukset_Copy")));
     this.LayoutRoot     = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.ContentPanel   = ((System.Windows.Controls.Grid)(this.FindName("ContentPanel")));
     this.AsetuksetList  = ((Microsoft.Phone.Controls.LongListSelector)(this.FindName("AsetuksetList")));
     this.Simu           = ((Microsoft.Phone.Controls.ToggleSwitch)(this.FindName("Simu")));
     this.Varina         = ((Microsoft.Phone.Controls.ToggleSwitch)(this.FindName("Varina")));
     this.LockScreen     = ((Microsoft.Phone.Controls.ToggleSwitch)(this.FindName("LockScreen")));
     this.Aanimerkki     = ((Microsoft.Phone.Controls.ToggleSwitch)(this.FindName("Aanimerkki")));
     this.PaivanOttelut  = ((Microsoft.Phone.Controls.ToggleSwitch)(this.FindName("PaivanOttelut")));
 }
Пример #58
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/ShareToAll;component/MainPivot.xaml", System.UriKind.Relative));
     this.LayoutRoot         = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.pivot1             = ((Microsoft.Phone.Controls.Pivot)(this.FindName("pivot1")));
     this.user_image         = ((System.Windows.Controls.Image)(this.FindName("user_image")));
     this.latest_update      = ((System.Windows.Controls.TextBlock)(this.FindName("latest_update")));
     this.latest_update_time = ((System.Windows.Controls.TextBlock)(this.FindName("latest_update_time")));
     this.postanupdate       = ((System.Windows.Controls.TextBlock)(this.FindName("postanupdate")));
     this.postaimage         = ((System.Windows.Controls.TextBlock)(this.FindName("postaimage")));
     this.checkin            = ((System.Windows.Controls.TextBlock)(this.FindName("checkin")));
     this.facebook_tg        = ((Microsoft.Phone.Controls.ToggleSwitch)(this.FindName("facebook_tg")));
     this.twitter_tg         = ((Microsoft.Phone.Controls.ToggleSwitch)(this.FindName("twitter_tg")));
     this.webrowser2         = ((Microsoft.Phone.Controls.WebBrowser)(this.FindName("webrowser2")));
 }
Пример #59
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/TakeMeThere;component/SettingPage.xaml", System.UriKind.Relative));
     this.LayoutRoot   = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.ContentPanel = ((System.Windows.Controls.Grid)(this.FindName("ContentPanel")));
     this.ToggleSwitch_LocationService = ((Microsoft.Phone.Controls.ToggleSwitch)(this.FindName("ToggleSwitch_LocationService")));
     this.RadioButton_gMap             = ((System.Windows.Controls.RadioButton)(this.FindName("RadioButton_gMap")));
     this.RadioButton_bMap             = ((System.Windows.Controls.RadioButton)(this.FindName("RadioButton_bMap")));
     this.RadioButton_Imperial         = ((System.Windows.Controls.RadioButton)(this.FindName("RadioButton_Imperial")));
     this.RadioButton_International    = ((System.Windows.Controls.RadioButton)(this.FindName("RadioButton_International")));
     this.Slider_Performance_Setting   = ((System.Windows.Controls.Slider)(this.FindName("Slider_Performance_Setting")));
     this.tb7 = ((System.Windows.Controls.TextBlock)(this.FindName("tb7")));
     this.TextBlock_AverageSpeed    = ((System.Windows.Controls.TextBlock)(this.FindName("TextBlock_AverageSpeed")));
     this.TextBox_AverageSpeed      = ((Microsoft.Phone.Controls.PhoneTextBox)(this.FindName("TextBox_AverageSpeed")));
     this.TextBox_PreferredEmail    = ((Microsoft.Phone.Controls.PhoneTextBox)(this.FindName("TextBox_PreferredEmail")));
     this.Grid_Animation            = ((System.Windows.Controls.Grid)(this.FindName("Grid_Animation")));
     this.ToggleSwitch_MapAnimation = ((Microsoft.Phone.Controls.ToggleSwitch)(this.FindName("ToggleSwitch_MapAnimation")));
     this.Grid_3 = ((System.Windows.Controls.Grid)(this.FindName("Grid_3")));
     this.Slider_TimeSpanUpdateCompass_sensor = ((System.Windows.Controls.Slider)(this.FindName("Slider_TimeSpanUpdateCompass_sensor")));
     this.tb3    = ((System.Windows.Controls.TextBlock)(this.FindName("tb3")));
     this.Grid_4 = ((System.Windows.Controls.Grid)(this.FindName("Grid_4")));
     this.Slider_DistanceUpdateGPS_sensor = ((System.Windows.Controls.Slider)(this.FindName("Slider_DistanceUpdateGPS_sensor")));
     this.tb4    = ((System.Windows.Controls.TextBlock)(this.FindName("tb4")));
     this.Grid_1 = ((System.Windows.Controls.Grid)(this.FindName("Grid_1")));
     this.Slider_TimeSpanRefreshCompass_main = ((System.Windows.Controls.Slider)(this.FindName("Slider_TimeSpanRefreshCompass_main")));
     this.tb1    = ((System.Windows.Controls.TextBlock)(this.FindName("tb1")));
     this.Grid_2 = ((System.Windows.Controls.Grid)(this.FindName("Grid_2")));
     this.Slider_FactorToCorrectDirection_main = ((System.Windows.Controls.Slider)(this.FindName("Slider_FactorToCorrectDirection_main")));
     this.tb2    = ((System.Windows.Controls.TextBlock)(this.FindName("tb2")));
     this.Grid_5 = ((System.Windows.Controls.Grid)(this.FindName("Grid_5")));
     this.Slider_TimeSpanRefreshCompass_map = ((System.Windows.Controls.Slider)(this.FindName("Slider_TimeSpanRefreshCompass_map")));
     this.tb5    = ((System.Windows.Controls.TextBlock)(this.FindName("tb5")));
     this.Grid_6 = ((System.Windows.Controls.Grid)(this.FindName("Grid_6")));
     this.Slider_FactorToCorrectDirection_map = ((System.Windows.Controls.Slider)(this.FindName("Slider_FactorToCorrectDirection_map")));
     this.tb6 = ((System.Windows.Controls.TextBlock)(this.FindName("tb6")));
 }
Пример #60
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/WowCommon;component/Apps/WowPad/UI/Pages/SettingsPage.xaml", System.UriKind.Relative));
     this.LayoutRoot                 = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.PickerItemTemplate         = ((System.Windows.DataTemplate)(this.FindName("PickerItemTemplate")));
     this.PickerFullModeItemTemplate = ((System.Windows.DataTemplate)(this.FindName("PickerFullModeItemTemplate")));
     this.txtSettingPageTitle        = ((Microsoft.Phone.Controls.Pivot)(this.FindName("txtSettingPageTitle")));
     this.extendToggleBtn            = ((Microsoft.Phone.Controls.ToggleSwitch)(this.FindName("extendToggleBtn")));
     this.imgQualityPicker           = ((Microsoft.Phone.Controls.ListPicker)(this.FindName("imgQualityPicker")));
     this.autoReconnToggleBtn        = ((Microsoft.Phone.Controls.ToggleSwitch)(this.FindName("autoReconnToggleBtn")));
     this.deviceTypePicker           = ((Microsoft.Phone.Controls.ListPicker)(this.FindName("deviceTypePicker")));
     this.defaultPortTxtBox          = ((System.Windows.Controls.TextBox)(this.FindName("defaultPortTxtBox")));
     this.defaultPagePicker          = ((Microsoft.Phone.Controls.ListPicker)(this.FindName("defaultPagePicker")));
     this.dataUsagePicker            = ((Microsoft.Phone.Controls.ListPicker)(this.FindName("dataUsagePicker")));
     this.fullSizeKeybdToggleBtn     = ((Microsoft.Phone.Controls.ToggleSwitch)(this.FindName("fullSizeKeybdToggleBtn")));
 }