public Alerte(tache t, modif_tache page, int id_user) { this.t = new tache(); this.t = t; this.m = page; this.id_user = id_user; InitializeComponent(); }
public Alerte(AddEvent eve, int id_user, Boolean new_event) { this.id_user = id_user; this.eve = eve; this.t = null; this.new_event = new_event; InitializeComponent(); }
public modif_alerte(tache t, int id_user, list_taches page) { this.eve = null; this.id_user = id_user; this.t = t; this.taches = page; InitializeComponent(); Date.Value = ((t.get_alert()).gettemps()); music.Text = (t.get_alert()).getson(); }
public add_tache(add_act a, int id) { this.t = new tache(); t.set_alert(null); this.p = null; this.id_user = id; page = new add_act(); this.page = a; InitializeComponent(); }
public modif_alerte(tache t, add_tache page, int id_user) { this.t = new tache(); this.t = t; this.page = page; this.eve = null; this.id_user = id_user; InitializeComponent(); Date.Value = (t.get_alert()).gettemps(); music.Text = (t.get_alert()).getson(); }
public modif_alerte(alerte_class a, tache t, int id_user, modif_tache m) { this.eve = null; this.t = new tache(); this.t = t; this.m = m; this.id_user = id_user; this.al = a; InitializeComponent(); Date.Value = (al.gettemps()); music.Text = al.getson(); }
public add_tache(activ_class a, int id, list_taches p) { page = new add_act(); this.t = new tache(); t.set_alert(null); this.p = new list_taches(); this.p = p; this.id_user = id; this.a = a; InitializeComponent(); }
public docs_tache_events(int id_user, event_class eve, evenement events, acceuil home) { this.id_user = id_user; this.t = null; this.eve = eve; this.events = events; this.taches = null; this.home = home; InitializeComponent(); info.Text = eve.getDesig(); methodes m = new methodes(); list = m.docs_of_event(eve.getId(), id_user); afficher(list); }
public docs_tache_events(int id_user, tache t, list_taches taches, acceuil home) { this.id_user = id_user; this.t = t; this.eve = null; this.events = null; this.taches = taches; InitializeComponent(); info.Text = t.get_des(); this.home = home; methodes m = new methodes(); list = m.docs_of_tache(t.get_id(), id_user); afficher(list); }
public modif_tache(tache t, list_taches page, int pos) { this.page = page; this.pos = pos; InitializeComponent(); this.t = t; id = t.get_id(); designationTextBox.Text = t.get_des(); prioritéComboBox.Text = t.get_prio(); dateDatePicker.Text = t.get_date().Date.ToString(); débutTimePicker.Text = t.get_date().ToString("HH:mm"); finTimePicker.Text = t.getfin().ToString("HH:mm"); etatComboBox.Text = t.get_etat(); if (t.get_alert() != null) { Image img = new Image(); img.Source = new BitmapImage(new Uri("modif2.png", UriKind.Relative)); ajouter_alerte.Content = img; info.Text = t.get_alert().gettemps().ToString(); } }
public void add_tache_toactivity(tache t) { taches.Add(t); }
public void add_tolist(tache t) { this.list.Add(t); }
public void add_tache(tache t) { list.Add(t); list_box.Items.Clear(); afficher(list); }