private void viderLaBaseDeDonnéesToolStripMenuItem_Click(object sender, EventArgs e) { ModelListController ModelListController = new ModelListController(); ModelListController.EmptyDataBase(); LoadListView(); UpdateTreeView(); }
public AddArticle() { InitializeComponent(); ArticlesController = new ArticlesController(); ModelListController = new ModelListController(); ModelList = new ModelList(); ModelList = ModelListController.GetAllModelList(); }
public FormMain() { InitializeComponent(); this.FamilleNames = new List <string>(); this.SousFamilleNames = new List <string>(); this.MarqueNames = new List <string>(); ArticlesController = new ArticlesController(); ExportController = new ExportController(); ImportController = new ImportController(); ModelListController = new ModelListController(); SousFamilleController = new SousFamilleController(); MarqueController = new MarqueController(); FamilleController = new FamilleController(); }
public ModifyArticle(Articles Article) { InitializeComponent(); Articles = Article; //ModelList = new ModelList(); ArticleController = new ArticlesController(); MarqueController = new MarqueController(); FamilleController = new FamilleController(); SousFamilleController = new SousFamilleController(); ModelListController = new ModelListController(); ModelList = ModelListController.GetAllModelList(); }