Ejemplo n.º 1
0
 public HoraireBeta(Loader loader)
 {
     this.loader = loader;
     InitializeComponent();
     FillInterface();
     Graphics grfx = this.panelCentral_Horaire.CreateGraphics();
     grille = new GrilleHoraire(grfx, loader, getDebutSemaine());
 }
Ejemplo n.º 2
0
 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é");
     
 }
Ejemplo n.º 3
0
        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é");
        }
Ejemplo n.º 4
0
        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);
        }
Ejemplo n.º 5
0
        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);
        }