Exemplo n.º 1
0
        public MainWindow()
        {
            InitializeComponent();
            Language = System.Windows.Markup.XmlLanguage.GetLanguage(System.Threading.Thread.CurrentThread.CurrentCulture.Name);
            _meteo   = new DALMeteo();

            btChargerFichier.Click += SelectFichierChargerDonnees;
            cbVue.SelectionChanged += ChoisirVue;

            ccDetail.Visibility = Visibility.Hidden;
        }
Exemplo n.º 2
0
        public MainWindow()
        {
            InitializeComponent();
            Language = System.Windows.Markup.XmlLanguage.GetLanguage(System.Threading.Thread.CurrentThread.CurrentCulture.Name);
            _meteo   = new DALMeteo();

            btChargerFichier.Click += SelectFichierChargerDonnees;
            //cbVue.SelectionChanged += ChoisirVue;
            //cbTrie.SelectionChanged += ChoisirVue;
            //cbSensTri.SelectionChanged += ChoisirVue;
            btFiltre.Click += Filtrer;

            ccDetail.Visibility = Visibility.Hidden;

            dpTri.AddHandler(System.Windows.Controls.Primitives.ButtonBase.ClickEvent,
                             new RoutedEventHandler(ChoisirVue));
        }