using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace SimpleDataContext
{
    public partial class Page : UserControl
    {
        public Page()
        {
            InitializeComponent();

            CompanyForm.DataContext = new Company{ CompanyName = "Microsoft", 
                Address = "Vyskočilova 2a", 
                City = "Praha", 
                Country = "Czech Republic", 
                PostalCode = "140 00" };
        }
    }

    public class Company
    {
        public String CompanyName { get; set; }
        public String Address { get; set; }
        public String City { get; set; }
        public String Country { get; set; }
        public String PostalCode { get; set; }
    }
}
