virtual public void DoDocumentFileNameChange()
        {
            var args = new DocumentFileNameChangedEventArgs
            {
                FileName = documentFileName,
                Title    = Title
            };

            OnDocumentFileNameChanged?.Invoke(this, args);
        }
Exemple #2
0
        virtual public void DoDocumentFileNameChange()
        {
            if (OnDocumentFileNameChanged != null)
            {
                DocumentFileNameChangedEventArgs args = new DocumentFileNameChangedEventArgs();

                args.FileName = documentFileName;
                args.Title    = Title;

                OnDocumentFileNameChanged(this, args);
            }
        }