Пример #1
0
 public void EditProperties()
 {
     m_vdb.Reload();
     if (VersionDbPropsForm.Run(m_vdb))
     {
         m_vdb.ChangedProps();
         m_vdb.Save();
     }
     else
     {
         m_vdb.Reload();
     }
 }
Пример #2
0
        public override bool CreateFile(string fn)
        {
            VersionDbProperties props = new VersionDbProperties();

            props.Dialect = GenericDialect.Instance;
            VersionDb vdb = new VersionDb(props);

            vdb.m_file = fn;

            if (VersionDbPropsForm.Run(vdb))
            {
                vdb.Save();
                return(true);
            }
            return(false);
        }