Exemplo n.º 1
0
 public DownloadResultsWindow(RequestParameters requestParameters, ItemCollection files)
 {
     InitializeComponent();
     download = new DownloadLocallyManager();
     downloadDestinationTextBox.Text = download.DefaultDownloadDestination;
     fileNameTextBox.Text            = download.DefaultName;
     this.requestParameters          = requestParameters;
     this.files = files;
 }
Exemplo n.º 2
0
 public SearchCodeUserControl()
 {
     InitializeComponent();
     codeSearch    = new CodeSearchManager();
     download      = new DownloadLocallyManager();
     DateValidator = new DateValidator();
     languageComboBox.ItemsSource   = Enum.GetValues(typeof(Language));
     languageComboBox.SelectedIndex = (int)Enum.Parse(typeof(Language), "Unknown");
     AccessToken = "b662ba89eb7878f9e75b885789bda4dbbb5115ec";
     DataContext = this;
 }
Exemplo n.º 3
0
 public CommitWindow()
 {
     InitializeComponent();
     download = new DownloadLocallyManager();
     downloadDestinationTextBox.Text = download.DefaultDownloadDestination;
 }