private void _project_FilePathChanged(object sender, PathChangedEventArgs e) { if (_handlePathChangedEvent) { FilePath = Project.FilePath; } }
protected virtual void OnFilePathChanged(PathChangedEventArgs e) { if (FilePathChanged != null) { FilePathChanged(this, e); } }
protected virtual void OnFilePathChanged(PathChangedEventArgs e) { if (UpdateTextOnFilePathChanged) Text = FilePath.FileName + FilePath.Extension; if (FilePathChanged != null) FilePathChanged(this, e); }
protected override void OnFilePathChanged(PathChangedEventArgs e) { _handlePathChangedEvent = false; if (HasProject) { Project.FilePath = FilePath; } _handlePathChangedEvent = true; base.OnFilePathChanged(e); }
private void AssociatedFile_FilePathChanged(object sender, PathChangedEventArgs e) { Text = e.NewPath.FileName + e.NewPath.Extension; }
protected virtual void OnFilePathChanged(PathChangedEventArgs e) { if (FilePathChanged != null) FilePathChanged(this, e); }
private void solutionFolder_FilePathChanged(object sender, PathChangedEventArgs e) { FilePath = e.NewPath; }
private void fileEntry_FilePathChanged(object sender, PathChangedEventArgs e) { GiveUnsavedData(); }
internal void OnDirectoryMoved(PathChangedEventArgs e) { if (DirectoryMoved != null) DirectoryMoved(this, e); }
internal void OnFileMoved(PathChangedEventArgs e) { if (FileMoved != null) FileMoved(this, e); }
private void FileEntry_FilePathChanged(object sender, PathChangedEventArgs e) { if (_handlePathEvents) { FilePath = e.NewPath; } }
protected override void OnFilePathChanged(PathChangedEventArgs e) { if (FileEntry != null) { _handlePathEvents = false; FileEntry.FilePath = e.NewPath; _handlePathEvents = true; } base.OnFilePathChanged(e); }
protected override void OnFilePathChanged(PathChangedEventArgs e) { if (_project != null) { // update files foreach (var file in _project.GetProjectFilesInDirectory(e.SourcePath.FullPath, false)) { string hintPath = file.FilePath.GetRelativePath(e.SourcePath); file.FilePath = new FilePath(e.NewPath, hintPath); } // update sub folders foreach (var subNode in Nodes) { if (subNode is DirectoryNode) { var subDirectoryNode = (subNode as DirectoryNode); string hintPath = subDirectoryNode.FilePath.GetRelativePath(e.SourcePath); subDirectoryNode.FilePath = new FilePath(e.NewPath, hintPath); } } } base.OnFilePathChanged(e); }
private void _project_FilePathChanged(object sender, PathChangedEventArgs e) { if (_handlePathChangedEvent) FilePath = Project.FilePath; }
protected override void OnFilePathChanged(PathChangedEventArgs e) { _handlePathChangedEvent = false; if (HasProject) Project.FilePath = FilePath; _handlePathChangedEvent = true; base.OnFilePathChanged(e); }