Esempio n. 1
0
        /// <summary>
        /// 保存措施项目
        /// </summary>
        /// <param name="path"></param>
        public void MeasuresProjectSave(string path)
        {
            //SetTYQD();
            _UnitProject u = this.MeasuresProject.Parent;

            this.MeasuresProject.Parent = null;
            CFiles.BinarySerialize(this.MeasuresProject, path);
            this.MeasuresProject.Parent = u;
        }
Esempio n. 2
0
        /// <summary>
        /// 保存模板文件
        /// </summary>
        /// <param name="p_FileName"></param>
        public void Save(string p_FileName)
        {
            //保存模板的时候重新设置列


            //this.m_Source.Columns.Remove(this.m_Source.Columns["Price"]);
            //this.m_Source.Columns.Add("Price", typeof(decimal));

            CFiles.BinarySerialize(this.m_Source, p_FileName);
        }
Esempio n. 3
0
 public void Save(string path)
 {
     CFiles.BinarySerialize(this.m_Source, path);
 }
Esempio n. 4
0
 /// <summary>
 /// 保存模板
 /// </summary>
 /// <param name="obj"></param>
 /// <param name="FilePath"></param>
 public void Save(string FilePath)
 {
     CFiles.BinarySerialize(m_DataSource, FilePath);
 }
Esempio n. 5
0
 /// <summary>
 /// 保存当前配置对象
 /// </summary>
 public void Save(string p_Path)
 {
     CFiles.BinarySerialize(this, p_Path);
 }
Esempio n. 6
0
 /// <summary>
 /// 保存当前配置对象
 /// </summary>
 public void Save()
 {
     CFiles.BinarySerialize(this, this.m_Path);
 }
Esempio n. 7
0
 /// <summary>
 /// 保存当前配置信息
 /// </summary>
 public void Save(string p_FileName)
 {
     CFiles.BinarySerialize(this, p_FileName);
     this.OnConfigSave();
 }
Esempio n. 8
0
 /// <summary>
 /// 保存配置文件
 /// </summary>
 public void Save()
 {
     //保存当前缓存对象
     CFiles.BinarySerialize(this, this.SaveName);
 }