Esempio n. 1
0
 public AddAbsenceType(RoofingCompanyEntities db, StartForm startForm, Absences absences)
 {
     InitializeComponent();
     this.db        = db;
     this.startForm = startForm;
     this.absences  = absences;
 }
Esempio n. 2
0
        private void btnAbsences_Click(object sender, EventArgs e)
        {
            Absences absences = new Absences(db, startForm, this);

            absences.Show();
            this.Hide();
        }
Esempio n. 3
0
        private void btnAbsences_Click(object sender, EventArgs e)
        {
            Absences absences = new Absences(db);

            absences.Show();
        }