private void ButtonCurrentFolderOpts_Click(object sender, EventArgs e) { var form = new FsEntryOptionsForm(); form.SetCurrentFolderViewModel(viewModel); InitCurrentDirectoryOptsFormCommands(form); form.Show(); }
private void FsDirectoryEntriesGridUserControl_OnFsEntryOptsOpen(KeyValuePair <int, IFsEntriesDataGridRow> kvp) { var form = new FsEntryOptionsForm(); form.SetParentFolderViewModel(viewModel); form.SetEntryName(kvp.Value.Data.Name); form.SetIsFolder(true); InitSelectedDirectoryOptsFormCommands(form); form.Show(); }