public void BindPresentationModel(PreferencesPModel pModel)
        {
            if (preferencesPModelBindingSource.Count > 0)
                preferencesPModelBindingSource.Clear();

            preferencesPModelBindingSource.Add(pModel);
        }
Beispiel #2
0
 /// <summary>
 /// Opens window with preferences options
 /// </summary>
 public void OpenPreferences()
 {
     PreferencesPModel preferences = new PreferencesPModel(_Settings, new PreferencesForm());
     preferences.OpenWindow();
 }