//allows user to rename image private void RenameImage() { RenameWindow renameWindow = new RenameWindow(FileName, this); renameWindow.Show(); imageIsSaved = false; }
public RenameWindowViewModel(string fileName, MainWindowViewModel mainWindowViewModel, RenameWindow renameWindow) { this._fileName = fileName; this._mainWindowViewModel = mainWindowViewModel; this._renameWindow = renameWindow; }