public MaintenanceCalendarForm(RoofingCompanyEntities db, StartForm startForm, MaintenanceManagement maintenanceManagementForm)
 {
     this.db        = db;
     this.startForm = startForm;
     this.maintenanceManagementForm = maintenanceManagementForm;
     InitializeComponent();
 }
Example #2
0
        private void btnMaintenance_Click(object sender, EventArgs e)
        {
            MaintenanceManagement maintenanceManagement = new MaintenanceManagement(db, this);

            maintenanceManagement.Show();
            this.Hide();
        }
Example #3
0
 public DescriptionList(RoofingCompanyEntities db, StartForm startForm, MaintenanceManagement maintenanceManagementForm)
 {
     this.db        = db;
     this.startForm = startForm;
     this.maintenanceManagementForm = maintenanceManagementForm;
     InitializeComponent();
 }
Example #4
0
 public PartsForm(RoofingCompanyEntities db, MaintenanceManagement maintenanceManagementForm)
 {
     this.db = db;
     this.maintenanceManagementForm = maintenanceManagementForm;
     hidden      = true;
     updatePanel = false;
     deletePanel = false;
     InitializeComponent();
     panelPartsList.Show();
     panelSearch.Hide();
     panelAdd.Hide();
     panelDelete.Hide();
     panelUpdate.Hide();
 }