private void WhenStateChanges(ListViewModelStatesEnum obj)
 {
     selectState = obj;
     if (selectState == ListViewModelStatesEnum.AddEdit)
     {
         SelectEditButtonTitle = "Edytuj";
     }
     else
     {
         SelectEditButtonTitle = "Wybierz";
     }
 }
Beispiel #2
0
 public SelectListSelectionState(ListViewModelStatesEnum listViewModelStatesEnum)
 {
     this.listViewModelStatesEnum = listViewModelStatesEnum;
 }