This commit is contained in:
Wyatt Miller 2018-11-29 15:37:45 -05:00
parent 204df552a1
commit 4a7c908a77
26 changed files with 526 additions and 422 deletions

Binary file not shown.

View File

@ -5,11 +5,11 @@
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:local="clr-namespace:DeskHubSharp" xmlns:local="clr-namespace:DeskHubSharp"
mc:Ignorable="d" mc:Ignorable="d"
Title="AboutWindow" Height="450" Width="400"> Title="About - DeskHubSharp" Height="450" Width="400">
<Grid> <Grid>
<Label x:Name="lbl_title" Content="DeskHubSharp" HorizontalAlignment="Left" Margin="2,10,10,0" VerticalAlignment="Top" FontSize="24" Width="372"/> <Label x:Name="lbl_title" Content="DeskHubSharp" HorizontalAlignment="Left" Margin="2,10,10,0" VerticalAlignment="Top" FontSize="24" Width="372"/>
<Button x:Name="btn_close" Content="Close" HorizontalAlignment="Left" Margin="307,389,0,0" VerticalAlignment="Top" Width="75" Click="btn_close_Click" Background="#FFFFBABA"/> <Button x:Name="btn_close" Content="Close" HorizontalAlignment="Left" Margin="307,389,0,0" VerticalAlignment="Top" Width="75" Click="btn_close_Click" Background="#FFFFBABA"/>
<TextBlock x:Name="txtblk_about1" HorizontalAlignment="Left" Margin="10,57,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Height="64" Width="372"><Run Text="Written by Wyatt J. Miller"/><LineBreak/><Run Text="Copyright 2018, All rights reserved"/><LineBreak/><Run Text="Licensed under the MIT license"/></TextBlock> <TextBlock x:Name="txtblk_about1" HorizontalAlignment="Left" Margin="10,57,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Height="64" Width="372"><Run Text="Written and developed by Wyatt J. Miller"/><LineBreak/><Run Text="Copyright 2018, All rights reserved"/><LineBreak/><Run Text="Licensed under the MIT license"/></TextBlock>
<TextBlock x:Name="txtblk_about2" HorizontalAlignment="Left" Margin="10,121,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Height="87" Width="372"><Run Text="Using technologies Visual Studio, .NET, WPF and Avalonia."/><LineBreak/><Run Text="Want to help with development?"/></TextBlock> <TextBlock x:Name="txtblk_about2" HorizontalAlignment="Left" Margin="10,121,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Height="117" Width="372"><Run Text="Using technologies including but not limited to Visual Studio, .NET, Newtonsoft, RestSharp, MailKit/Mimekit and WPF."/><LineBreak/><Run/><LineBreak/><Run Text="Want to help with development? "/><LineBreak/><Run Text="https://github.com/wymillerlinux/DeskHubSharp"/><LineBreak/><Run/></TextBlock>
</Grid> </Grid>
</Window> </Window>

View File

@ -46,6 +46,16 @@ namespace DeskHubSharp
var x = response.Content; var x = response.Content;
var deserialized = JsonConvert.DeserializeObject<ObservableCollection<RepoDetail>>(x); var deserialized = JsonConvert.DeserializeObject<ObservableCollection<RepoDetail>>(x);
//ObservableCollection<RepoDetail> test = new ObservableCollection<RepoDetail>()
//{
// new RepoDetail()
// {
// Login = "John",
// Password = "pw"
// }
//};
RepoList.repoDetail = deserialized; RepoList.repoDetail = deserialized;
} }

View File

@ -73,6 +73,9 @@
</ApplicationDefinition> </ApplicationDefinition>
<Compile Include="DAL\JsonDataService.cs" /> <Compile Include="DAL\JsonDataService.cs" />
<Compile Include="Models\Email.cs" /> <Compile Include="Models\Email.cs" />
<Compile Include="Models\License.cs" />
<Compile Include="Models\Owner.cs" />
<Compile Include="Models\Root.cs" />
<Compile Include="SearchWindow.xaml.cs"> <Compile Include="SearchWindow.xaml.cs">
<DependentUpon>SearchWindow.xaml</DependentUpon> <DependentUpon>SearchWindow.xaml</DependentUpon>
</Compile> </Compile>

View File

@ -5,7 +5,7 @@
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:local="clr-namespace:DeskHubSharp" xmlns:local="clr-namespace:DeskHubSharp"
mc:Ignorable="d" mc:Ignorable="d"
Title="HelpWindow" Height="450" Width="400 Title="Help - DeskHubSharp" Height="450" Width="400
"> ">
<Grid> <Grid>
<Button x:Name="btn_close" Content="Close" HorizontalAlignment="Left" Margin="307,389,0,0" VerticalAlignment="Top" Width="75" Background="#FFFFBDBD" Click="btn_close_Click"/> <Button x:Name="btn_close" Content="Close" HorizontalAlignment="Left" Margin="307,389,0,0" VerticalAlignment="Top" Width="75" Background="#FFFFBDBD" Click="btn_close_Click"/>

View File

@ -12,7 +12,9 @@
<Button x:Name="btn_feedback" Content="Feedback" HorizontalAlignment="Left" Margin="170,389,0,0" VerticalAlignment="Top" Width="75" Background="#FFD9A1FF" Click="btn_feedback_Click"/> <Button x:Name="btn_feedback" Content="Feedback" HorizontalAlignment="Left" Margin="170,389,0,0" VerticalAlignment="Top" Width="75" Background="#FFD9A1FF" Click="btn_feedback_Click"/>
<Button x:Name="btn_help" Content="Help" HorizontalAlignment="Left" Margin="250,389,0,0" VerticalAlignment="Top" Width="75" Background="#FFFFFF9D" Click="btn_help_Click"/> <Button x:Name="btn_help" Content="Help" HorizontalAlignment="Left" Margin="250,389,0,0" VerticalAlignment="Top" Width="75" Background="#FFFFFF9D" Click="btn_help_Click"/>
<Button x:Name="btn_about" Content="About" HorizontalAlignment="Left" Margin="627,389,0,0" VerticalAlignment="Top" Width="75" Background="#FFAFFBAB" Click="btn_about_Click"/> <Button x:Name="btn_about" Content="About" HorizontalAlignment="Left" Margin="627,389,0,0" VerticalAlignment="Top" Width="75" Background="#FFAFFBAB" Click="btn_about_Click"/>
<DataGrid HorizontalAlignment="Left" Height="333" Margin="10,10,0,0" VerticalAlignment="Top" Width="772"/>
<DataGrid Name="DataGrid" AutoGenerateColumns="True" HorizontalAlignment="Left" Height="333" Margin="10,10,0,0" VerticalAlignment="Top" Width="772" SelectionChanged="DataGrid_SelectionChanged"/>
<Button x:Name="btn_exit" Content="Exit" HorizontalAlignment="Left" Margin="707,389,0,0" VerticalAlignment="Top" Width="75" Background="#FFFF9999" Click="btn_exit_Click"/> <Button x:Name="btn_exit" Content="Exit" HorizontalAlignment="Left" Margin="707,389,0,0" VerticalAlignment="Top" Width="75" Background="#FFFF9999" Click="btn_exit_Click"/>
</Grid> </Grid>

View File

@ -12,6 +12,7 @@ using System.Windows.Media;
using System.Windows.Media.Imaging; using System.Windows.Media.Imaging;
using System.Windows.Navigation; using System.Windows.Navigation;
using System.Windows.Shapes; using System.Windows.Shapes;
using System.Collections.ObjectModel;
namespace DeskHubSharp namespace DeskHubSharp
{ {
@ -20,11 +21,12 @@ namespace DeskHubSharp
/// </summary> /// </summary>
public partial class MainWindow : Window public partial class MainWindow : Window
{ {
SearchWindow search = new SearchWindow();
public MainWindow() public MainWindow()
{ {
InitializeComponent(); InitializeComponent();
ShowDataGridItems();
} }
private void btn_detail_Click(object sender, RoutedEventArgs e) private void btn_detail_Click(object sender, RoutedEventArgs e)
@ -58,8 +60,23 @@ namespace DeskHubSharp
private void btn_search_Click(object sender, RoutedEventArgs e) private void btn_search_Click(object sender, RoutedEventArgs e)
{ {
SearchWindow search = new SearchWindow();
search.ShowDialog(); search.ShowDialog();
ObservableCollection<RepoDetail> test = RepoList.repoDetail;
DataGrid.ItemsSource = test;
RepoDetail rp = new RepoDetail();
rp.Owner.avatar_url
} }
private void DataGrid_SelectionChanged(object sender, SelectionChangedEventArgs e)
{
}
public void ShowDataGridItems()
{
DataGrid.ItemsSource = RepoList.repoDetail;
}
} }
} }

View File

@ -0,0 +1,32 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DeskHubSharp.Models
{
public class License
{
/// <summary>
///
/// </summary>
public string key { get; set; }
/// <summary>
///
/// </summary>
public string name { get; set; }
/// <summary>
///
/// </summary>
public string spdx_id { get; set; }
/// <summary>
///
/// </summary>
public string url { get; set; }
/// <summary>
///
/// </summary>
public string node_id { get; set; }
}
}

View File

@ -0,0 +1,84 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DeskHubSharp.Models
{
public class Owner
{
/// <summary>
///
/// </summary>
public string login { get; set; }
/// <summary>
///
/// </summary>
public int id { get; set; }
/// <summary>
///
/// </summary>
public string node_id { get; set; }
/// <summary>
///
/// </summary>
public string avatar_url { get; set; }
/// <summary>
///
/// </summary>
public string gravatar_id { get; set; }
/// <summary>
///
/// </summary>
public string url { get; set; }
/// <summary>
///
/// </summary>
public string html_url { get; set; }
/// <summary>
///
/// </summary>
public string followers_url { get; set; }
/// <summary>
///
/// </summary>
public string following_url { get; set; }
/// <summary>
///
/// </summary>
public string gists_url { get; set; }
/// <summary>
///
/// </summary>
public string starred_url { get; set; }
/// <summary>
///
/// </summary>
public string subscriptions_url { get; set; }
/// <summary>
///
/// </summary>
public string organizations_url { get; set; }
/// <summary>
///
/// </summary>
public string repos_url { get; set; }
/// <summary>
///
/// </summary>
public string events_url { get; set; }
/// <summary>
///
/// </summary>
public string received_events_url { get; set; }
/// <summary>
///
/// </summary>
public string type { get; set; }
/// <summary>
///
/// </summary>
public string site_admin { get; set; }
}
}

View File

@ -1,397 +1,17 @@
using DeskHubSharp.Models;
namespace DeskHubSharp namespace DeskHubSharp
{ {
public class RepoDetail public class RepoDetail
{ {
public class Owner //public string Login { get; set; }
{ //public string Password { get; set; }
/// <summary>
///
/// </summary>
public string login { get; set; }
/// <summary>
///
/// </summary>
public int id { get; set; }
/// <summary>
///
/// </summary>
public string node_id { get; set; }
/// <summary>
///
/// </summary>
public string avatar_url { get; set; }
/// <summary>
///
/// </summary>
public string gravatar_id { get; set; }
/// <summary>
///
/// </summary>
public string url { get; set; }
/// <summary>
///
/// </summary>
public string html_url { get; set; }
/// <summary>
///
/// </summary>
public string followers_url { get; set; }
/// <summary>
///
/// </summary>
public string following_url { get; set; }
/// <summary>
///
/// </summary>
public string gists_url { get; set; }
/// <summary>
///
/// </summary>
public string starred_url { get; set; }
/// <summary>
///
/// </summary>
public string subscriptions_url { get; set; }
/// <summary>
///
/// </summary>
public string organizations_url { get; set; }
/// <summary>
///
/// </summary>
public string repos_url { get; set; }
/// <summary>
///
/// </summary>
public string events_url { get; set; }
/// <summary>
///
/// </summary>
public string received_events_url { get; set; }
/// <summary>
///
/// </summary>
public string type { get; set; }
/// <summary>
///
/// </summary>
public string site_admin { get; set; }
}
public class License public Owner Owner { get; set; }
{
/// <summary>
///
/// </summary>
public string key { get; set; }
/// <summary>
///
/// </summary>
public string name { get; set; }
/// <summary>
///
/// </summary>
public string spdx_id { get; set; }
/// <summary>
///
/// </summary>
public string url { get; set; }
/// <summary>
///
/// </summary>
public string node_id { get; set; }
}
public class Root public License License { get; set; }
{
/// <summary> public Root Root { get; set; }
///
/// </summary>
public int id { get; set; }
/// <summary>
///
/// </summary>
public string node_id { get; set; }
/// <summary>
///
/// </summary>
public string name { get; set; }
/// <summary>
///
/// </summary>
public string full_name { get; set; }
/// <summary>
///
/// </summary>
//public string private { get; set; }
/// <summary>
///
/// </summary>
public Owner owner { get; set; }
/// <summary>
///
/// </summary>
public string html_url { get; set; }
/// <summary>
///
/// </summary>
public string description { get; set; }
/// <summary>
///
/// </summary>
public string fork { get; set; }
/// <summary>
///
/// </summary>
public string url { get; set; }
/// <summary>
///
/// </summary>
public string forks_url { get; set; }
/// <summary>
///
/// </summary>
public string keys_url { get; set; }
/// <summary>
///
/// </summary>
public string collaborators_url { get; set; }
/// <summary>
///
/// </summary>
public string teams_url { get; set; }
/// <summary>
///
/// </summary>
public string hooks_url { get; set; }
/// <summary>
///
/// </summary>
public string issue_events_url { get; set; }
/// <summary>
///
/// </summary>
public string events_url { get; set; }
/// <summary>
///
/// </summary>
public string assignees_url { get; set; }
/// <summary>
///
/// </summary>
public string branches_url { get; set; }
/// <summary>
///
/// </summary>
public string tags_url { get; set; }
/// <summary>
///
/// </summary>
public string blobs_url { get; set; }
/// <summary>
///
/// </summary>
public string git_tags_url { get; set; }
/// <summary>
///
/// </summary>
public string git_refs_url { get; set; }
/// <summary>
///
/// </summary>
public string trees_url { get; set; }
/// <summary>
///
/// </summary>
public string statuses_url { get; set; }
/// <summary>
///
/// </summary>
public string languages_url { get; set; }
/// <summary>
///
/// </summary>
public string stargazers_url { get; set; }
/// <summary>
///
/// </summary>
public string contributors_url { get; set; }
/// <summary>
///
/// </summary>
public string subscribers_url { get; set; }
/// <summary>
///
/// </summary>
public string subscription_url { get; set; }
/// <summary>
///
/// </summary>
public string commits_url { get; set; }
/// <summary>
///
/// </summary>
public string git_commits_url { get; set; }
/// <summary>
///
/// </summary>
public string comments_url { get; set; }
/// <summary>
///
/// </summary>
public string issue_comment_url { get; set; }
/// <summary>
///
/// </summary>
public string contents_url { get; set; }
/// <summary>
///
/// </summary>
public string compare_url { get; set; }
/// <summary>
///
/// </summary>
public string merges_url { get; set; }
/// <summary>
///
/// </summary>
public string archive_url { get; set; }
/// <summary>
///
/// </summary>
public string downloads_url { get; set; }
/// <summary>
///
/// </summary>
public string issues_url { get; set; }
/// <summary>
///
/// </summary>
public string pulls_url { get; set; }
/// <summary>
///
/// </summary>
public string milestones_url { get; set; }
/// <summary>
///
/// </summary>
public string notifications_url { get; set; }
/// <summary>
///
/// </summary>
public string labels_url { get; set; }
/// <summary>
///
/// </summary>
public string releases_url { get; set; }
/// <summary>
///
/// </summary>
public string deployments_url { get; set; }
/// <summary>
///
/// </summary>
public string created_at { get; set; }
/// <summary>
///
/// </summary>
public string updated_at { get; set; }
/// <summary>
///
/// </summary>
public string pushed_at { get; set; }
/// <summary>
///
/// </summary>
public string git_url { get; set; }
/// <summary>
///
/// </summary>
public string ssh_url { get; set; }
/// <summary>
///
/// </summary>
public string clone_url { get; set; }
/// <summary>
///
/// </summary>
public string svn_url { get; set; }
/// <summary>
///
/// </summary>
public string homepage { get; set; }
/// <summary>
///
/// </summary>
public int size { get; set; }
/// <summary>
///
/// </summary>
public int stargazers_count { get; set; }
/// <summary>
///
/// </summary>
public int watchers_count { get; set; }
/// <summary>
///
/// </summary>
public string language { get; set; }
/// <summary>
///
/// </summary>
public string has_issues { get; set; }
/// <summary>
///
/// </summary>
public string has_projects { get; set; }
/// <summary>
///
/// </summary>
public string has_downloads { get; set; }
/// <summary>
///
/// </summary>
public string has_wiki { get; set; }
/// <summary>
///
/// </summary>
public string has_pages { get; set; }
/// <summary>
///
/// </summary>
public int forks_count { get; set; }
/// <summary>
///
/// </summary>
public string mirror_url { get; set; }
/// <summary>
///
/// </summary>
public string archived { get; set; }
/// <summary>
///
/// </summary>
public int open_issues_count { get; set; }
/// <summary>
///
/// </summary>
public License license { get; set; }
/// <summary>
///
/// </summary>
public int forks { get; set; }
/// <summary>
///
/// </summary>
public int open_issues { get; set; }
/// <summary>
///
/// </summary>
public int watchers { get; set; }
/// <summary>
///
/// </summary>
public string default_branch { get; set; }
}
} }
} }

View File

@ -9,7 +9,7 @@ namespace DeskHubSharp
{ {
class RepoList class RepoList
{ {
private static ObservableCollection<RepoDetail> _repoDetail; public static ObservableCollection<RepoDetail> _repoDetail;
public static ObservableCollection<RepoDetail> repoDetail public static ObservableCollection<RepoDetail> repoDetail
{ {

300
DeskHubSharp/Models/Root.cs Normal file
View File

@ -0,0 +1,300 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DeskHubSharp.Models
{
public class Root
{
/// <summary>
///
/// </summary>
public int id { get; set; }
/// <summary>
///
/// </summary>
public string node_id { get; set; }
/// <summary>
///
/// </summary>
public string name { get; set; }
/// <summary>
///
/// </summary>
public string full_name { get; set; }
/// <summary>
///
/// </summary>
//public string private { get; set; }
/// <summary>
///
/// </summary>
public Owner owner { get; set; }
/// <summary>
///
/// </summary>
public string html_url { get; set; }
/// <summary>
///
/// </summary>
public string description { get; set; }
/// <summary>
///
/// </summary>
public string fork { get; set; }
/// <summary>
///
/// </summary>
public string url { get; set; }
/// <summary>
///
/// </summary>
public string forks_url { get; set; }
/// <summary>
///
/// </summary>
public string keys_url { get; set; }
/// <summary>
///
/// </summary>
public string collaborators_url { get; set; }
/// <summary>
///
/// </summary>
public string teams_url { get; set; }
/// <summary>
///
/// </summary>
public string hooks_url { get; set; }
/// <summary>
///
/// </summary>
public string issue_events_url { get; set; }
/// <summary>
///
/// </summary>
public string events_url { get; set; }
/// <summary>
///
/// </summary>
public string assignees_url { get; set; }
/// <summary>
///
/// </summary>
public string branches_url { get; set; }
/// <summary>
///
/// </summary>
public string tags_url { get; set; }
/// <summary>
///
/// </summary>
public string blobs_url { get; set; }
/// <summary>
///
/// </summary>
public string git_tags_url { get; set; }
/// <summary>
///
/// </summary>
public string git_refs_url { get; set; }
/// <summary>
///
/// </summary>
public string trees_url { get; set; }
/// <summary>
///
/// </summary>
public string statuses_url { get; set; }
/// <summary>
///
/// </summary>
public string languages_url { get; set; }
/// <summary>
///
/// </summary>
public string stargazers_url { get; set; }
/// <summary>
///
/// </summary>
public string contributors_url { get; set; }
/// <summary>
///
/// </summary>
public string subscribers_url { get; set; }
/// <summary>
///
/// </summary>
public string subscription_url { get; set; }
/// <summary>
///
/// </summary>
public string commits_url { get; set; }
/// <summary>
///
/// </summary>
public string git_commits_url { get; set; }
/// <summary>
///
/// </summary>
public string comments_url { get; set; }
/// <summary>
///
/// </summary>
public string issue_comment_url { get; set; }
/// <summary>
///
/// </summary>
public string contents_url { get; set; }
/// <summary>
///
/// </summary>
public string compare_url { get; set; }
/// <summary>
///
/// </summary>
public string merges_url { get; set; }
/// <summary>
///
/// </summary>
public string archive_url { get; set; }
/// <summary>
///
/// </summary>
public string downloads_url { get; set; }
/// <summary>
///
/// </summary>
public string issues_url { get; set; }
/// <summary>
///
/// </summary>
public string pulls_url { get; set; }
/// <summary>
///
/// </summary>
public string milestones_url { get; set; }
/// <summary>
///
/// </summary>
public string notifications_url { get; set; }
/// <summary>
///
/// </summary>
public string labels_url { get; set; }
/// <summary>
///
/// </summary>
public string releases_url { get; set; }
/// <summary>
///
/// </summary>
public string deployments_url { get; set; }
/// <summary>
///
/// </summary>
public string created_at { get; set; }
/// <summary>
///
/// </summary>
public string updated_at { get; set; }
/// <summary>
///
/// </summary>
public string pushed_at { get; set; }
/// <summary>
///
/// </summary>
public string git_url { get; set; }
/// <summary>
///
/// </summary>
public string ssh_url { get; set; }
/// <summary>
///
/// </summary>
public string clone_url { get; set; }
/// <summary>
///
/// </summary>
public string svn_url { get; set; }
/// <summary>
///
/// </summary>
public string homepage { get; set; }
/// <summary>
///
/// </summary>
public int size { get; set; }
/// <summary>
///
/// </summary>
public int stargazers_count { get; set; }
/// <summary>
///
/// </summary>
public int watchers_count { get; set; }
/// <summary>
///
/// </summary>
public string language { get; set; }
/// <summary>
///
/// </summary>
public string has_issues { get; set; }
/// <summary>
///
/// </summary>
public string has_projects { get; set; }
/// <summary>
///
/// </summary>
public string has_downloads { get; set; }
/// <summary>
///
/// </summary>
public string has_wiki { get; set; }
/// <summary>
///
/// </summary>
public string has_pages { get; set; }
/// <summary>
///
/// </summary>
public int forks_count { get; set; }
/// <summary>
///
/// </summary>
public string mirror_url { get; set; }
/// <summary>
///
/// </summary>
public string archived { get; set; }
/// <summary>
///
/// </summary>
public int open_issues_count { get; set; }
/// <summary>
///
/// </summary>
public License license { get; set; }
/// <summary>
///
/// </summary>
public int forks { get; set; }
/// <summary>
///
/// </summary>
public int open_issues { get; set; }
/// <summary>
///
/// </summary>
public int watchers { get; set; }
/// <summary>
///
/// </summary>
public string default_branch { get; set; }
}
}

View File

@ -5,7 +5,7 @@
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:local="clr-namespace:DeskHubSharp" xmlns:local="clr-namespace:DeskHubSharp"
mc:Ignorable="d" mc:Ignorable="d"
Title="SearchWindow" Height="200" Width="500"> Title="Search - DeskHubSharp" Height="200" Width="500">
<Grid> <Grid>
<Label x:Name="lbl_search" Content="Search" HorizontalAlignment="Left" Margin="17,15,0,0" VerticalAlignment="Top" FontSize="20" Padding="2,5,5,5"/> <Label x:Name="lbl_search" Content="Search" HorizontalAlignment="Left" Margin="17,15,0,0" VerticalAlignment="Top" FontSize="20" Padding="2,5,5,5"/>
<TextBox x:Name="txtbox_query" HorizontalAlignment="Left" Height="23" Margin="17,79,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="465"/> <TextBox x:Name="txtbox_query" HorizontalAlignment="Left" Height="23" Margin="17,79,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="465"/>

View File

@ -33,6 +33,8 @@ namespace DeskHubSharp
{ {
Request request = new Request(txtbox_query.Text); Request request = new Request(txtbox_query.Text);
request.SearchRequest(); request.SearchRequest();
//MainWindow main = new MainWindow();
//main.ShowDialog();
} }
} }
} }

View File

@ -1,4 +1,4 @@
#pragma checksum "..\..\App.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "8924CF88FE4A7948C7314277251E7D79D8D8F350" #pragma checksum "..\..\App.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "5E7C2DBB667F025FC5CA90C6A4E4064F"
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
// <auto-generated> // <auto-generated>
// This code was generated by a tool. // This code was generated by a tool.

View File

@ -1,4 +1,4 @@
#pragma checksum "..\..\App.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "8924CF88FE4A7948C7314277251E7D79D8D8F350" #pragma checksum "..\..\App.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "5E7C2DBB667F025FC5CA90C6A4E4064F"
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
// <auto-generated> // <auto-generated>
// This code was generated by a tool. // This code was generated by a tool.

View File

@ -1 +1 @@
ac6d87119126ef96a9551362a1832c83be77d6c5 1ed704c72fbef8b947e00c3acdcc79224cc0d429

View File

@ -4,16 +4,16 @@
winexe winexe
C# C#
.cs .cs
C:\Users\Wyatt\Desktop\Source\DeskHubSharp\DeskHubSharp\obj\Debug\ C:\Users\mill1159\Desktop\DeskHubSharp\DeskHubSharp\obj\Debug\
DeskHubSharp DeskHubSharp
none none
false false
DEBUG;TRACE DEBUG;TRACE
C:\Users\Wyatt\Desktop\Source\DeskHubSharp\DeskHubSharp\App.xaml C:\Users\mill1159\Desktop\DeskHubSharp\DeskHubSharp\App.xaml
7-86569338 7-86569338
22-1533856682 251446439089
20415715258 20-856998346
AboutWindow.xaml;DetailWindow.xaml;ErrorWindow.xaml;FeedbackWindow.xaml;HelpWindow.xaml;MainWindow.xaml;SearchWindow.xaml; AboutWindow.xaml;DetailWindow.xaml;ErrorWindow.xaml;FeedbackWindow.xaml;HelpWindow.xaml;MainWindow.xaml;SearchWindow.xaml;
False False

View File

@ -4,17 +4,17 @@
winexe winexe
C# C#
.cs .cs
C:\Users\Wyatt\Desktop\Source\DeskHubSharp\DeskHubSharp\obj\Debug\ C:\Users\mill1159\Desktop\DeskHubSharp\DeskHubSharp\obj\Debug\
DeskHubSharp DeskHubSharp
none none
false false
DEBUG;TRACE DEBUG;TRACE
C:\Users\Wyatt\Desktop\Source\DeskHubSharp\DeskHubSharp\App.xaml C:\Users\mill1159\Desktop\DeskHubSharp\DeskHubSharp\App.xaml
7-86569338 7-86569338
25-65043429 29215114908
20415715258 20-856998346
AboutWindow.xaml;DetailWindow.xaml;ErrorWindow.xaml;FeedbackWindow.xaml;HelpWindow.xaml;MainWindow.xaml;SearchWindow.xaml; AboutWindow.xaml;DetailWindow.xaml;ErrorWindow.xaml;FeedbackWindow.xaml;HelpWindow.xaml;MainWindow.xaml;SearchWindow.xaml;
True False

View File

@ -1,10 +1,10 @@
 
FC:\Users\Wyatt\Desktop\Source\DeskHubSharp\DeskHubSharp\AboutWindow.xaml;; FC:\Users\mill1159\Desktop\DeskHubSharp\DeskHubSharp\AboutWindow.xaml;;
FC:\Users\Wyatt\Desktop\Source\DeskHubSharp\DeskHubSharp\DetailWindow.xaml;; FC:\Users\mill1159\Desktop\DeskHubSharp\DeskHubSharp\DetailWindow.xaml;;
FC:\Users\Wyatt\Desktop\Source\DeskHubSharp\DeskHubSharp\ErrorWindow.xaml;; FC:\Users\mill1159\Desktop\DeskHubSharp\DeskHubSharp\ErrorWindow.xaml;;
FC:\Users\Wyatt\Desktop\Source\DeskHubSharp\DeskHubSharp\FeedbackWindow.xaml;; FC:\Users\mill1159\Desktop\DeskHubSharp\DeskHubSharp\FeedbackWindow.xaml;;
FC:\Users\Wyatt\Desktop\Source\DeskHubSharp\DeskHubSharp\HelpWindow.xaml;; FC:\Users\mill1159\Desktop\DeskHubSharp\DeskHubSharp\HelpWindow.xaml;;
FC:\Users\Wyatt\Desktop\Source\DeskHubSharp\DeskHubSharp\MainWindow.xaml;; FC:\Users\mill1159\Desktop\DeskHubSharp\DeskHubSharp\MainWindow.xaml;;
FC:\Users\Wyatt\Desktop\Source\DeskHubSharp\DeskHubSharp\SearchWindow.xaml;; FC:\Users\mill1159\Desktop\DeskHubSharp\DeskHubSharp\SearchWindow.xaml;;

View File

@ -1,4 +1,4 @@
#pragma checksum "..\..\MainWindow.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "814C08D5FA0D40972C7641EDC7C65F0E68227ECE" #pragma checksum "..\..\MainWindow.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "F66D9D84B7140209B2D4A05C05CC2536"
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
// <auto-generated> // <auto-generated>
// This code was generated by a tool. // This code was generated by a tool.
@ -83,6 +83,14 @@ namespace DeskHubSharp {
#line 16 "..\..\MainWindow.xaml" #line 16 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.DataGrid DataGrid;
#line default
#line hidden
#line 18 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Button btn_exit; internal System.Windows.Controls.Button btn_exit;
#line default #line default
@ -164,9 +172,18 @@ namespace DeskHubSharp {
#line hidden #line hidden
return; return;
case 6: case 6:
this.btn_exit = ((System.Windows.Controls.Button)(target)); this.DataGrid = ((System.Windows.Controls.DataGrid)(target));
#line 16 "..\..\MainWindow.xaml" #line 16 "..\..\MainWindow.xaml"
this.DataGrid.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.DataGrid_SelectionChanged);
#line default
#line hidden
return;
case 7:
this.btn_exit = ((System.Windows.Controls.Button)(target));
#line 18 "..\..\MainWindow.xaml"
this.btn_exit.Click += new System.Windows.RoutedEventHandler(this.btn_exit_Click); this.btn_exit.Click += new System.Windows.RoutedEventHandler(this.btn_exit_Click);
#line default #line default

View File

@ -1,4 +1,4 @@
#pragma checksum "..\..\MainWindow.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "814C08D5FA0D40972C7641EDC7C65F0E68227ECE" #pragma checksum "..\..\MainWindow.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "F66D9D84B7140209B2D4A05C05CC2536"
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
// <auto-generated> // <auto-generated>
// This code was generated by a tool. // This code was generated by a tool.
@ -83,6 +83,14 @@ namespace DeskHubSharp {
#line 16 "..\..\MainWindow.xaml" #line 16 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")] [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.DataGrid DataGrid;
#line default
#line hidden
#line 18 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Button btn_exit; internal System.Windows.Controls.Button btn_exit;
#line default #line default
@ -164,9 +172,18 @@ namespace DeskHubSharp {
#line hidden #line hidden
return; return;
case 6: case 6:
this.btn_exit = ((System.Windows.Controls.Button)(target)); this.DataGrid = ((System.Windows.Controls.DataGrid)(target));
#line 16 "..\..\MainWindow.xaml" #line 16 "..\..\MainWindow.xaml"
this.DataGrid.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.DataGrid_SelectionChanged);
#line default
#line hidden
return;
case 7:
this.btn_exit = ((System.Windows.Controls.Button)(target));
#line 18 "..\..\MainWindow.xaml"
this.btn_exit.Click += new System.Windows.RoutedEventHandler(this.btn_exit_Click); this.btn_exit.Click += new System.Windows.RoutedEventHandler(this.btn_exit_Click);
#line default #line default