github.com/ijc/docker-app@v0.6.1-0.20181012090447-c7ca8bc483fb/integrations/visualstudio/dockerappvsix/NewAppDialog.xaml.cs (about) 1 using Microsoft.VisualStudio.PlatformUI; 2 using System; 3 using System.Collections.Generic; 4 using System.Linq; 5 using System.Text; 6 using System.Threading.Tasks; 7 using System.Windows; 8 using System.Windows.Controls; 9 using System.Windows.Data; 10 using System.Windows.Documents; 11 using System.Windows.Input; 12 using System.Windows.Media; 13 using System.Windows.Media.Imaging; 14 using System.Windows.Navigation; 15 using System.Windows.Shapes; 16 17 namespace dockerappvsix 18 { 19 /// <summary> 20 /// Interaction logic for NewAppDialog.xaml 21 /// </summary> 22 public partial class NewAppDialog : DialogWindow 23 { 24 public NewAppDialog() 25 { 26 InitializeComponent(); 27 } 28 29 public NewAppSettings Settings 30 { 31 get 32 { 33 return DataContext as NewAppSettings; 34 } 35 } 36 37 38 private void OkClick(object sender, RoutedEventArgs e) 39 { 40 DialogResult = true; 41 Close(); 42 } 43 44 private void CancelClick(object sender, RoutedEventArgs e) 45 { 46 DialogResult = false; 47 Close(); 48 } 49 } 50 }