예제 #1
0
 public HoraireBeta(Loader loader)
 {
     this.loader = loader;
     InitializeComponent();
     FillInterface();
     Graphics grfx = this.panelCentral_Horaire.CreateGraphics();
     grille = new GrilleHoraire(grfx, loader, getDebutSemaine());
 }
예제 #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é");
     
 }
예제 #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é");
        }
예제 #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);
        }
예제 #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);
        }