private void SaveSettings(UserSettings us)
 {
     BinaryFormatter binFormat = new BinaryFormatter();
     using (Stream fStream = new FileStream(MyCL.FileName, FileMode.Create, FileAccess.Write, FileShare.None))
     {
         binFormat.Serialize(fStream, us);
         fStream.Close();
     }
 }
 void rgbiSkins_GalleryItemClick(object sender, DevExpress.XtraBars.Ribbon.GalleryItemClickEventArgs e)
 {
     UserSettings us = new UserSettings();
     us.SkinName = UserLookAndFeel.Default.ActiveSkinName;
     SaveSettings(us);
 }