Ejemplo n.º 1
0
        static private bool SaveDynamic_LayoutListView(ListView view, string section, string key)
        {
            if (Settings != null)
            {
                foreach (ColumnHeader column in view.Columns)
                {
                    Settings.PutPropertyString(section, key, column.Text + "_width", column.Width.ToString());
                }
            }

            return(true);
        }
Ejemplo n.º 2
0
 public void Save(MOG_PropertiesIni ini, string section, string property, string key)
 {
     ini.PutPropertyString(section, property, key + "_OpenWidth", mOpenWidth.ToString());
     ini.PutPropertyString(section, property, key + "_CLoseWidth", mCloseWidth.ToString());
     ini.PutPropertyString(section, property, key + "_Open", Opened.ToString());
 }