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

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

            absences.Show();
        }