mardi 12 septembre 2017

Which design pattern or (MVC,MVVM) should be used in winform with treelist(checkbox) Control

I have realized the function:

By checking or not checking the checkbox of the treelist to change the Visible property of coloums of gridview

But all of my code is in one class(UI),and Iam trying to remodel my code but failed.

I want to binding the property of the CheckState of the treelist with the data,but the tree list contains different nodes

Is there any way to make my code better,or some design pattern to recomend

Thanks

Aucun commentaire:

Enregistrer un commentaire