public CompAllerRetourUC() { ViewModel = new CompAllerRetourModel(); DataContext = ViewModel; InitializeComponent(); res = new ResultWindow(); res.Title = this.ToString(); res.Content = this; res.Show(); }
public CompDispersionPAUC() { ViewModel = new CompDispersionPAModel(); 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(); }
/// <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 CompDensiteRecouvrementUC /// </summary> /// <param name="mode"></param> public CompDensiteRecouvrementUC(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(); }
public override string ToString() { string res = "CompDensiteRecouvrement"; res += AppData.ComparateursDensiteRecouvrement.Last().Title + "_"; res += AppData.ComparateursDensiteRecouvrement.Last().IndicCompare.Title; return res; }