//constructor
 public ControllerNetwork(ControllerParent calling, FormNetwork view, ArrayList list_customers, ArrayList list_networks, ArrayList list_networkinventories) : base(calling, list_customers)
 {
     //connect controller to its view
     this.view                    = view;
     this.list_networks           = list_networks;
     this.list_networkinventories = list_networkinventories;
 }
 //constructor
 public ControllerLicense(ControllerParent calling, FormLicense view, ArrayList list_customers, ArrayList list_licenses, ArrayList list_licenseInventories) : base(calling, list_customers)
 {
     //connect controller to its view
     this.view = view;
     this.list_allAvailableLicenses = list_licenses;
     this.list_licenseInventories   = list_licenseInventories;
 }
 //constructor
 public ControllerNetwork(ControllerParent calling, FormNetwork view, ArrayList list_customers, ArrayList list_networks, ArrayList list_networkinventories) : base(calling, list_customers)
 {
     //connect controller to its view
     this.view = view;
     this.list_networks = list_networks;
     this.list_networkinventories = list_networkinventories;
 }
 //constructor
 public ControllerLicense(ControllerParent calling, FormLicense view, ArrayList list_customers, ArrayList list_licenses, ArrayList list_licenseInventories) : base(calling, list_customers)
 {
     //connect controller to its view
     this.view = view;
     this.list_allAvailableLicenses = list_licenses;
     this.list_licenseInventories = list_licenseInventories;
 }
 public ControllerParent(ControllerParent callingController, ArrayList list_customers)
 {
     this.callingController = callingController;
     if (list_customers == null) this.list_customers = new ArrayList();
     else this.list_customers = list_customers;
     this.db = new Database();
     currentCustomer = null;
 }
 //constrctor
 public ControllerChanges(ControllerParent calling, FormChange view, ArrayList list_customers, ArrayList list_networks, ArrayList list_networkinventories, ArrayList list_licenseInventories, ArrayList list_allAvailableLicenses, ArrayList list_systems) : base(calling, list_customers)
 {
     //connect controller to its view
     this.view = view;
     this.list_networks = list_networks;
     this.list_networkInventories = list_networkinventories;
     this.list_licenseInventories = list_licenseInventories;
     this.list_allAvailableLicenses = list_allAvailableLicenses;
     this.list_systems = list_systems;
 }
 //constrctor
 public ControllerChanges(ControllerParent calling, FormChange view, ArrayList list_customers, ArrayList list_networks, ArrayList list_networkinventories, ArrayList list_licenseInventories, ArrayList list_allAvailableLicenses, ArrayList list_systems) : base(calling, list_customers)
 {
     //connect controller to its view
     this.view                      = view;
     this.list_networks             = list_networks;
     this.list_networkInventories   = list_networkinventories;
     this.list_licenseInventories   = list_licenseInventories;
     this.list_allAvailableLicenses = list_allAvailableLicenses;
     this.list_systems              = list_systems;
 }
 //constructor
 public ControllerAudit(ControllerParent calling, FormAudit view, ArrayList list_customers, ArrayList list_licenseinventories, ArrayList list_systeminventories, ArrayList list_audits, ArrayList list_licenses) : base(calling, list_customers)
 {
     //connect controller to its view
     this.view = view;
     this.list_licenseInventories = list_licenseinventories;
     this.list_systemInventories = list_systeminventories;
     this.list_audits = list_audits;
     this.list_allAvailableLicenses = list_licenses;
     currentAudit = null;
     currentLicenseInventory = null;
     currentSystemInventory = null;
 }
示例#9
0
 //constructor
 public ControllerAudit(ControllerParent calling, FormAudit view, ArrayList list_customers, ArrayList list_licenseinventories, ArrayList list_systeminventories, ArrayList list_audits, ArrayList list_licenses) : base(calling, list_customers)
 {
     //connect controller to its view
     this.view = view;
     this.list_licenseInventories   = list_licenseinventories;
     this.list_systemInventories    = list_systeminventories;
     this.list_audits               = list_audits;
     this.list_allAvailableLicenses = list_licenses;
     currentAudit            = null;
     currentLicenseInventory = null;
     currentSystemInventory  = null;
 }
 //constructor
 public ControllerSystemInventory(ControllerParent calling, FormSystemInventory view, ArrayList list_customers,
                                  ArrayList list_networks, ArrayList list_networkinventories, ArrayList list_systems, ArrayList list_systemInventories, ArrayList list_licenses) : base(calling, list_customers)
 {
     //connect controller to its view
     this.view = view;
     this.list_networks = list_networks;
     this.list_networkinventories = list_networkinventories;
     this.list_systems = list_systems;
     this.list_systemInventories = list_systemInventories;
     this.list_allAvailableLicenses = list_licenses;
     selectedNetworks = new ArrayList();
     chkall = false;
 }
示例#11
0
 //constructor
 public ControllerSystemInventory(ControllerParent calling, FormSystemInventory view, ArrayList list_customers,
                                  ArrayList list_networks, ArrayList list_networkinventories, ArrayList list_systems, ArrayList list_systemInventories, ArrayList list_licenses) : base(calling, list_customers)
 {
     //connect controller to its view
     this.view                      = view;
     this.list_networks             = list_networks;
     this.list_networkinventories   = list_networkinventories;
     this.list_systems              = list_systems;
     this.list_systemInventories    = list_systemInventories;
     this.list_allAvailableLicenses = list_licenses;
     selectedNetworks               = new ArrayList();
     chkall = false;
 }
 public ControllerParent(ControllerParent callingController, ArrayList list_customers)
 {
     this.callingController = callingController;
     if (list_customers == null)
     {
         this.list_customers = new ArrayList();
     }
     else
     {
         this.list_customers = list_customers;
     }
     this.db         = new Database();
     currentCustomer = null;
 }
 //Constructor
 public ControllerCustomer(ControllerParent calling, FormCustomer view, ArrayList list_customers) : base(calling, list_customers)
 {
     //connect controller to its view
     this.view = view;
 }
示例#14
0
 //Constructor
 public ControllerCustomer(ControllerParent calling, FormCustomer view, ArrayList list_customers) : base(calling, list_customers)
 {
     //connect controller to its view
     this.view = view;
 }