public void ShowPreferencesEditor()
{
PreferencesEditor prefsEditor = new PreferencesEditor(_agsEditor.Preferences);
if (prefsEditor.ShowDialog() == DialogResult.OK)
{
_agsEditor.Preferences.SaveToRegistry();
//_mainForm.SetProjectTreeLocation(_agsEditor.Preferences.ProjectTreeOnRight);
}
prefsEditor.Dispose();
}