コード例 #1
0
 public NewMaintenanceForm(RoofingCompanyEntities db, StartForm startForm, FailureListForm failureListForm)
 {
     this.db              = db;
     this.startForm       = startForm;
     this.failureListForm = failureListForm;
     InitializeComponent();
 }
コード例 #2
0
        private void btnNewMaintenance_Click(object sender, EventArgs e)
        {
            FailureListForm failureListForm = new FailureListForm(this.db, startForm, this);

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