示例#1
0
        private void btnOSHControl_Click(object sender, EventArgs e)
        {
            OSHControl oshControlForm = new OSHControl(db, startForm, this);

            this.Hide();
            oshControlForm.Show();
        }
 public OSHControlHistory(RoofingCompanyEntities db, StartForm startForm, OSHControl oSHControl)
 {
     InitializeComponent();
     this.db         = db;
     this.startForm  = startForm;
     this.oSHControl = oSHControl;
 }