Exemple #1
0
        private void Types_ListView_ItemClick(object sender, ItemClickEventArgs e)
        {
            clickedItem = (InsuranceType)e.ClickedItem;
            Insurances  = InsurManager.GetInsurances(clickedItem.category);
            DisplayType = clickedItem.category;

            // this.contentControl.Content = new UserControl();
        }
Exemple #2
0
        public InsuranceOverview()
        {
            this.InitializeComponent();
            this.DataContext = this;
            //this.contentControl.Content = new UserControl();

            // Get data
            InsurManager   = new InsuranceManager();
            insurances     = InsurManager.GetInsurances();
            InsuranceTypes = InsurTypeManager.GetTypes();
        }