public GestionComptes(IClientService clientService, IFacturationService facturationService) { //InitialiserEnvironnementAsync(); this.clientService = clientService; this.facturationService = facturationService; InitializeComponent(); this.backgroundWorkerFacturation.RunWorkerAsync(); cmbChercherClient.TextChanged += CmbChercherClient_TextChanged; cmbChercherCompte.TextChanged += CmbChercherCompte_TextChanged; cmbChercherCompte.SelectionChangeCommitted += CmbChercherCompte_SelectionChangeCommitted; cmbChercherClient.SelectionChangeCommitted += CmbChercherClient_SelectionChangeCommitted; grdComptes.SelectionChanged += GrdComptes_SelectionChanged; cmbTerritoire.TextChanged += CmbTerritoire_TextChanged; cmbTerritoire.SelectionChangeCommitted += CmbTerritoire_SelectionChangeCommitted; btnAjouterClient.Click += BtnAjouterClient_Click; btnAjouterCompte.Enabled = false; btnConsulterClient.Enabled = false; btnConsulterCompte.Enabled = false; btnConsulterFacture.Enabled = false; btnModifierClient.Enabled = false; btnModifierCompte.Enabled = false; btnSupprimerCompte.Enabled = false; btnVoirFilm.Enabled = false; }
public SupprimerCompte(int numéroCompte, IClientService clientService, IFacturationService facturationService) { this.numéroCompte = numéroCompte; this.clientService = clientService; this.facturationService = facturationService; InitializeComponent(); }
public AjouterCompte(int numéroClient, IClientService clientService, IFacturationService facturationService) { this.facturationService = facturationService; this.clientService = clientService; this.numéroClient = numéroClient; InitializeComponent(); InitialiserForm(); }
public Authentification(IClientService clientService, IFacturationService facturationService) { this.facturationService = facturationService; this.clientService = clientService; InitialiserEnvironnement(); InitializeComponent(); }
public AjouterClient(IClientService clientService, IFacturationService facturationService) { this.facturationService = facturationService; this.clientService = clientService; InitializeComponent(); }