Exemple #1
0
        private void ButtonCurrentFolderOpts_Click(object sender, EventArgs e)
        {
            var form = new FsEntryOptionsForm();

            form.SetCurrentFolderViewModel(viewModel);

            InitCurrentDirectoryOptsFormCommands(form);
            form.Show();
        }
Exemple #2
0
        private void FsFileEntriesGridUserControl_OnFsEntryOptsOpen(KeyValuePair <int, IFsEntriesDataGridRow> kvp)
        {
            var form = new FsEntryOptionsForm();

            form.SetParentFolderViewModel(viewModel);

            form.SetEntryName(kvp.Value.Data.Name);
            form.SetIsFolder(false);

            InitSelectedFileOptsFormCommands(form);
            form.Show();
        }
Exemple #3
0
 private void InitSelectedFileOptsFormCommands(FsEntryOptionsForm form)
 {
 }
Exemple #4
0
 private void InitCurrentDirectoryOptsFormCommands(FsEntryOptionsForm form)
 {
     form.AddCommand("Open in new tab", () =>
     {
     });
 }