public MainWindow() { InitializeComponent(); //Language = System.Windows.Markup. _dataMétéo = new DALMeteo(); tbDirectory.Text = AppDomain.CurrentDomain.BaseDirectory; btnDirectory.Click += BtnDirectory_Click; cbVues.SelectionChanged += CbVues_SelectionChanged; cbTri.SelectionChanged += CbVues_SelectionChanged; cbOrdreTri.SelectionChanged += CbVues_SelectionChanged; }
public MainWindow() { InitializeComponent(); Language = System.Windows.Markup.XmlLanguage.GetLanguage(System.Threading.Thread.CurrentThread.CurrentCulture.Name); _dal = new DALMeteo(); btnFichier.Click += BtnFichier_Click; cbVue.SelectionChanged += CbVue_SelectionChanged; cbTri.SelectionChanged += CbVue_SelectionChanged; cbTriSens.SelectionChanged += CbVue_SelectionChanged; }