private async void CommandNew_Click(object sender, RoutedEventArgs e) { OneInputDialog dialog = new OneInputDialog(WorkSpace, History.Last(), Server); await dialog.ShowAsync(); Browse(); }
private async void Context_Rename(object sender, RoutedEventArgs e) { Models.File File = (Models.File)Files.SelectedItem; if (File != null) { OneInputDialog dialog = new OneInputDialog(File, Server); await dialog.ShowAsync(); Browse(); } }