Example #1
0
        public Add()
        {
            this.InitializeComponent();

            this.navigationHelper = new NavigationHelper(this);
            this.navigationHelper.LoadState += this.NavigationHelper_LoadState;
            this.navigationHelper.SaveState += this.NavigationHelper_SaveState;
            
        }
        public SerDetails()
        {
            this.InitializeComponent();

            this.navigationHelper = new NavigationHelper(this);
            this.navigationHelper.LoadState += this.NavigationHelper_LoadState;
            this.navigationHelper.SaveState += this.NavigationHelper_SaveState;
            this.RegisterForShare();

            StatusBar statusBar = StatusBar.GetForCurrentView();
            statusBar.BackgroundOpacity = this.Opacity;
            statusBar.BackgroundColor = Color.FromArgb(255, 43, 166, 255);
            
        }
        public AddService()
        {
            this.InitializeComponent();

            this.navigationHelper = new NavigationHelper(this);
            this.navigationHelper.LoadState += this.NavigationHelper_LoadState;
            this.navigationHelper.SaveState += this.NavigationHelper_SaveState;
            for (int i = 0; i < Services.allServices.Count; i++)
            {
                CheckBox checkBox1 = new CheckBox();
                checkBox1.Click += CheckHandler;
                checkBox1.Content = (new Uri(Services.allServices.ElementAt(i).Item1).Host.ToUpper().Trim().Replace("WWW.", "")).ToString();
                ListServices.Items.Add(checkBox1);
            }
        }