Exemplo n.º 1
0
        public CompAllerRetourUC()
        {
            ViewModel = new CompAllerRetourModel();
            DataContext = ViewModel;
            InitializeComponent();

            res = new ResultWindow();
            res.Title = this.ToString();
            res.Content = this;
            res.Show();
        }
        public CompTauxRecouvrementUC()
        {
            ViewModel = new CompTauxRecouvrementModel();
            DataContext = ViewModel;
            InitializeComponent();

            res = new ResultWindow();
            res.Title = this.ToString();
            res.Content = this;
            res.Show();
        }
Exemplo n.º 3
0
        public CompDispersionPAUC()
        {
            ViewModel = new CompDispersionPAModel();
            DataContext = ViewModel;
            InitializeComponent();

            res = new ResultWindow();
            res.Title = this.ToString();
            res.Content = this;
            res.Show();
        }
Exemplo n.º 4
0
        /// <summary>
        /// Constructeur de la classe TauxRecouvrementUC
        /// </summary>
        public TauxRecouvrementUC()
        {
            // On définit le modèle
            ViewModel = new TauxRecouvrementModel();
            DataContext = ViewModel;
            InitializeComponent();

            // On affiche le résultat
            res = new ResultWindow();
            res.Title = this.ToString();
            res.Content = this;
            res.Show();
        }
        /// <summary>
        /// Constructeur de la classe DensiteRecouvrementUC
        /// </summary>
        /// <param name="mode">Type de heatmap (transparence ou couleur)</param>
        public DensiteRecouvrementUC(string mode)
        {
            GetData();
            LoadData();

            InitializeComponent();
            Mode = mode;

            Index = 1;
            lblNumImage.Content = "Image " + ImageEnCours.Numero + " (" + Index + "e image sur " + MesImages.Count() + ")";
            lblTitleIndicateur.Content = this.ToString();

            SetUpModel();

            res = new ResultWindow();
            res.Title = this.ToString();
            res.Content = this;
            res.Show();
        }