Dictionary <int, string> DictionaryMarques; // Useful for combobox /// <summary> /// Constructor of the class /// </summary> /// <param name="ControllerArticles">Controller to use</param> /// <param name="Article">The article to modify or null if none</param> public AddUpdateArticle(ControllerViewArticle ControllerArticles, Articles Article = null) { this.ControllerArticles = ControllerArticles; this.Article = Article; InitializeComponent(); InitializeGraphics(); }
/// <summary> /// Constructor of the class /// </summary> public Main() : base() { InitializeComponent(); ControllerArticles = new ControllerViewArticle(); InitHeader(); // Init header of the listView GroupsListView = new List <Hashtable>(); RefreshOwnView(); }