public void SaveDataLayers(Dictionary <string, string> dicLayers)
        {
            SerializerXml serialize = new SerializerXml();

            foreach (var item in dicLayers)
            {
                TranferLayer dataTransferLayer = new TranferLayer();
                dataTransferLayer.AuthorMark    = Environment.UserName;
                dataTransferLayer.LayerDocument = item.Key;
                dataTransferLayer.LayerStandart = item.Value;
                MainForm.listDataLayers.Add(dataTransferLayer);
            }
            serialize.SerializeList(MainForm.listDataLayers.GroupBy(x => x.LayerDocument).Select(q => q.First()).ToList());
        }
        public void SaveDataLayers(Dictionary<string, string> dicLayers)
        {
            SerializerXml serialize = new SerializerXml();
             foreach (var item in dicLayers)
             {
            TranferLayer dataTransferLayer = new TranferLayer();
            dataTransferLayer.AuthorMark = Environment.UserName;
            dataTransferLayer.LayerDocument = item.Key;
            dataTransferLayer.LayerStandart = item.Value;
            MainForm.listDataLayers.Add(dataTransferLayer);

             }
             serialize.SerializeList(MainForm.listDataLayers.GroupBy(x => x.LayerDocument).Select(q => q.First()).ToList());
        }