コード例 #1
0
 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());
 }
コード例 #2
0
 public void SavePreferences(Preferences prefs, String key)
 {
     prefs.WriteProfileInt(key, "AttribToTrack", (int)m_Attrib);
     prefs.WriteProfileString(key, "ColorScheme", m_ColorsCombo.GetSelectedSchemeAsString());
 }