/// <summary> /// Constructor of the class /// </summary> /// <param name="ControllerSubFamilly">Controller to use</param> /// <param name="SubFamily">The sub family to modify or null if none</param> public AddUpdateSubFamily(ControllerView_SubFamily ControllerSubFamilly, SousFamilles SubFamily = null) { this.ControllerSubFamilly = ControllerSubFamilly; this.SubFamily = SubFamily; InitializeComponent(); InitializeGraphics(); }
/// <summary> /// Constructor of this class. /// </summary> public SubFamilyWindows() { InitializeComponent(); Controller = new ControllerView_SubFamily(); InitHeader(); // Init header of the listView GroupsListView = new List <Hashtable>(); RefreshOwnView(); }