Пример #1
0
 public FormViewModel(ObservableCollection<string> packges, Form form = null)
 {
     FormObject = form ?? new Form
                              {
                                  UsedPackages = new ObservableCollection<string>(),
                                  UnusedPackages = new ObservableCollection<string>(packges)
                              };
 }
Пример #2
0
 public FormViewModel(Form form = null)
 {
     FormObject = form ?? new Form();
 }