private async void Edit_Clicked(object sender, RoutedEventArgs e) { CreateEditFtpConfigurationView view = new CreateEditFtpConfigurationView(); await view.InjectValues(Scope, Scope.Configuration.Id); view.Show(); }
private void Open_Clicked(object sender, RoutedEventArgs e) { CreateEditFtpConfigurationView view = new CreateEditFtpConfigurationView(); view.MainViewModel = Scope; view.Show(); }