Example #1
0
        public ShowUser()
        {
            InitializeComponent();
            FetchDatabase fetch = new FetchDatabase();

            allusers.ItemsSource = fetch.getUsers();
        }
Example #2
0
        // Constructor
        public MainPage()
        {
            InitializeComponent();
            progressbar.Visibility = System.Windows.Visibility.Collapsed;

            FetchDatabase fetch = new FetchDatabase();

            number = fetch.getNumber();

            // Sample code to localize the ApplicationBar
            //BuildLocalizedApplicationBar();
        }
Example #3
0
        public EditProfilePage()
        {
            InitializeComponent();

            FetchDatabase fetch = new FetchDatabase();

            number = fetch.getNumber();
            //progressbar.Visibility = System.Windows.Visibility.Collapsed;

            xmlStringToGet = "<message>" +
                             "<msg>get_person</msg>" +
                             "<person " +
                             "search_item = '" + number + "'/>" +
                             "</message>";

            SentPostReport();

            string profileUrl = "http://192.168.43.221:8081/ukoo_circle/core/engine.php";
            //myProfile.Navigate(new Uri(profileUrl, UriKind.Absolute));
        }
        public PersonalInfoPage()
        {
            InitializeComponent();

            //get user's phone-number
            FetchDatabase fetch = new FetchDatabase();

            number = fetch.getNumber();

            //MessageBox.Show(number);

            Console.Write("Number: " + number);

            xmlString = "<message>" +
                        "<msg>get_person</msg>" +
                        "<person " +
                        "search_item = '" + number + "'/>" +
                        "</message>";

            SentPostReport();

            string profileUrl = "http://192.168.43.221:8081/ukoo_circle/core/engine.php";
            //myProfile.Navigate(new Uri(profileUrl, UriKind.Absolute));
        }