public OshTrainingNewEmployeeForm(RoofingCompanyEntities db, StartForm startForm, OshTrainingForm oshTrainingForm)
 {
     this.db              = db;
     this.startForm       = startForm;
     this.oshTrainingForm = oshTrainingForm;
     InitializeComponent();
 }
示例#2
0
        private void btnOSHTraining_Click(object sender, EventArgs e)
        {
            OshTrainingForm oshTrainingForm = new OshTrainingForm(db, startForm, this);

            this.Hide();
            oshTrainingForm.Show();
        }