示例#1
0
        private void btnEntranceControl_Click(object sender, EventArgs e)
        {
            EntranceControlForm entranceControlForm = new EntranceControlForm(db, startForm, this);

            this.Hide();
            entranceControlForm.Show();
        }
 // ==================================================
 public EntranceControlStatisticsForm(RoofingCompanyEntities db, StartForm startForm, EntranceControlForm entranceControlForm)
 {
     InitializeComponent();
     this.db                  = db;
     this.startForm           = startForm;
     this.entranceControlForm = entranceControlForm;
 }