コード例 #1
0
 public PageListeMails()
 {
     InitializeComponent();
     worker.DoWork             += worker_DoWork;
     worker.RunWorkerCompleted += worker_RunWorkerCompleted;
     listViewEmail.ItemsSource  = NavigateReceptionMail.GetNavigationData(this.NavigationService);
 }
コード例 #2
0
        private void worker_DoWork(object sender, DoWorkEventArgs e)
        {
            liste_mail_test = RecevoirMailHelper.getInstance.RecupererMails();

            NavigateReceptionMail.setData(liste_mail_test);
        }
コード例 #3
0
 private void worker_RunWorkerCompleted(object sender, RunWorkerCompletedEventArgs e)
 {
     label_status.Content      = "";
     listViewEmail.ItemsSource = listViewEmail.ItemsSource = NavigateReceptionMail.GetNavigationData(this.NavigationService);
 }
コード例 #4
0
 private void worker_RunWorkerCompleted(object sender, RunWorkerCompletedEventArgs e)
 {
     NavigateReceptionMail.Navigate(this.NavigationService, new Uri("./RecevoirMails/PageListeMails.xaml", UriKind.Relative), liste_mail_test);
 }