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

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