public OSHControl(RoofingCompanyEntities db, StartForm startForm, QualityControl qualityControlForm)
 {
     InitializeComponent();
     this.db                 = db;
     this.startForm          = startForm;
     this.qualityControlForm = qualityControlForm;
 }
Exemple #2
0
        private void btnQA_Click(object sender, EventArgs e)
        {
            QualityControl qualityControlForm = new QualityControl(db, this);

            qualityControlForm.Show();
            this.Hide();
        }
 public OshTrainingForm(RoofingCompanyEntities db, StartForm startForm, QualityControl qualityControlForm)
 {
     this.db                 = db;
     this.startForm          = startForm;
     this.qualityControlForm = qualityControlForm;
     InitializeComponent();
 }
 public OutMeasures(RoofingCompanyEntities db, StartForm startForm, QualityControl qualityControlForm, OutControlForm outControlForm)
 {
     this.db                 = db;
     this.startForm          = startForm;
     this.qualityControlForm = qualityControlForm;
     this.outControlForm     = outControlForm;
     InitializeComponent();
     ComponentsDataInitialize();
 }