public void SavePreferences(Preferences prefs, String key) { prefs.WriteProfileInt(key, "AttribToTrack", (int)m_Attrib); prefs.WriteProfileString(key, "ColorScheme", m_ColorsCombo.GetSelectedSchemeAsString()); prefs.WriteProfileInt(key, "SplitterPosFromRight", (ClientRectangle.Right - SplitterCentre().X)); prefs.WriteProfileInt(key, "LayoutStyle", (int)m_StylesCombo.GetSelectedStyle()); }
public void SavePreferences(Preferences prefs, String key) { prefs.WriteProfileInt(key, "AttribToTrack", (int)m_Attrib); prefs.WriteProfileString(key, "ColorScheme", m_ColorsCombo.GetSelectedSchemeAsString()); }