IfcDoc.FormEdit.SetCurrentFile C# (CSharp) Méthode

SetCurrentFile() private méthode

Updates the current file path used for saving and for displaying in window caption, and resets modified flag.
private SetCurrentFile ( string path ) : void
path string
Résultat void
        private void SetCurrentFile(string path)
        {
            this.m_file = path;
            this.m_server = null;
            this.m_modified = false;

            string appname = "IFC Documentation Generator";
            if (this.m_file != null)
            {
                string name = System.IO.Path.GetFileName(this.m_file);
                this.Text = name + " - " + appname;
            }
            else
            {
                this.Text = appname;
            }
        }
FormEdit