public HoraireBeta(Loader loader) { this.loader = loader; InitializeComponent(); FillInterface(); Graphics grfx = this.panelCentral_Horaire.CreateGraphics(); grille = new GrilleHoraire(grfx, loader, getDebutSemaine()); }
public SelectDispo(Profil profil) { InitializeComponent(); Graphics grfx = this.panel1.CreateGraphics(); grille = new GrilleHoraire(grfx, profil, new DateTime(2010, 11, 29)); // MessageBox.Show("Jewthunder"); label1.Text = ("Disponibilités de l'employé"); }
public GrilleJour(String jourText, DateTime laDate, int jour, int posx, int posy, Graphics grfx, Profil profil, GrilleHoraire grilleH) { this.jourText = jourText; this.jour = jour; dateDuJour = laDate; posX = posx; posY = posy; width = 100; height = 500; this.profil = profil; this.grfx = grfx; laGrille = grilleH; //Petit rectangle heightHeure = ((height - 20) / nbHeures); }