changed datagrid to listbox
This commit is contained in:
parent
b8411b2153
commit
894d6c02dc
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -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="About - DeskHubSharp" Height="450" Width="400">
|
Title="About - DeskHubSharp" Height="450" Width="400" ResizeMode="NoResize">
|
||||||
<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"/>
|
||||||
|
@ -69,7 +69,7 @@ namespace DeskHubSharp
|
|||||||
catch (Exception)
|
catch (Exception)
|
||||||
{
|
{
|
||||||
ErrorWindow err = new ErrorWindow();
|
ErrorWindow err = new ErrorWindow();
|
||||||
err.txtblk_error.Text = "We can't gather repository data. Please try again";
|
err.txtblk_error.Text = "We couldn't gather repository data. Please try again";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -102,7 +102,7 @@ namespace DeskHubSharp
|
|||||||
catch (Exception)
|
catch (Exception)
|
||||||
{
|
{
|
||||||
ErrorWindow err = new ErrorWindow();
|
ErrorWindow err = new ErrorWindow();
|
||||||
err.txtblk_error.Text = "We can't gather user data. Please try again.";
|
err.txtblk_error.Text = "We couldn't gather user data. Please try again.";
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -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="Detail - DeskHubSharp" Height="450" Width="800">
|
Title="Detail - DeskHubSharp" Height="450" Width="800" ResizeMode="NoResize">
|
||||||
<Grid>
|
<Grid>
|
||||||
<Label x:Name="lbl_reponame" Content="Repository Name" HorizontalAlignment="Left" Margin="10,47,0,0" VerticalAlignment="Top" RenderTransformOrigin="-0.603,-0.2" Width="225" FontSize="16"/>
|
<Label x:Name="lbl_reponame" Content="Repository Name" HorizontalAlignment="Left" Margin="10,47,0,0" VerticalAlignment="Top" RenderTransformOrigin="-0.603,-0.2" Width="225" FontSize="16"/>
|
||||||
<Label x:Name="lbl_title" Content="Details" HorizontalAlignment="Left" Margin="10,10,0,0" VerticalAlignment="Top" Width="171" FontSize="20"/>
|
<Label x:Name="lbl_title" Content="Details" HorizontalAlignment="Left" Margin="10,10,0,0" VerticalAlignment="Top" Width="171" FontSize="20"/>
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
xmlns:local="clr-namespace:DeskHubSharp"
|
xmlns:local="clr-namespace:DeskHubSharp"
|
||||||
mc:Ignorable="d"
|
mc:Ignorable="d"
|
||||||
Title="Response - DeskHubSharp" Height="200" Width="300
|
Title="Response - DeskHubSharp" Height="200" Width="300
|
||||||
">
|
" ResizeMode="NoResize">
|
||||||
<Grid>
|
<Grid>
|
||||||
<TextBlock x:Name="txtblk_error" HorizontalAlignment="Left" Margin="10,66,0,0" TextWrapping="Wrap" Text="An error occurred. Please try again." VerticalAlignment="Top" Width="272" TextAlignment="Center" RenderTransformOrigin="0.468,-0.751"/>
|
<TextBlock x:Name="txtblk_error" HorizontalAlignment="Left" Margin="10,66,0,0" TextWrapping="Wrap" Text="An error occurred. Please try again." VerticalAlignment="Top" Width="272" TextAlignment="Center" RenderTransformOrigin="0.468,-0.751"/>
|
||||||
<Button Content="Close" HorizontalAlignment="Left" Margin="112,128,0,0" VerticalAlignment="Top" Width="75" Click="Button_Click"/>
|
<Button Content="Close" HorizontalAlignment="Left" Margin="112,128,0,0" VerticalAlignment="Top" Width="75" Click="Button_Click"/>
|
||||||
|
@ -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="Feedback - DeskHubSharp" Height="450" Width="500">
|
Title="Feedback - DeskHubSharp" Height="450" Width="500" ResizeMode="NoResize">
|
||||||
<Grid>
|
<Grid>
|
||||||
<Label x:Name="lbl_title" Content="Feedback" HorizontalAlignment="Left" Margin="10,10,0,0" VerticalAlignment="Top" FontSize="20"/>
|
<Label x:Name="lbl_title" Content="Feedback" HorizontalAlignment="Left" Margin="10,10,0,0" VerticalAlignment="Top" FontSize="20"/>
|
||||||
<TextBox x:Name="txtbox_name" HorizontalAlignment="Left" Height="23" Margin="43,159,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="152"/>
|
<TextBox x:Name="txtbox_name" HorizontalAlignment="Left" Height="23" Margin="43,159,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="152"/>
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
xmlns:local="clr-namespace:DeskHubSharp"
|
xmlns:local="clr-namespace:DeskHubSharp"
|
||||||
mc:Ignorable="d"
|
mc:Ignorable="d"
|
||||||
Title="Help - DeskHubSharp" Height="450" Width="400
|
Title="Help - DeskHubSharp" Height="450" Width="400
|
||||||
">
|
" ResizeMode="NoResize">
|
||||||
<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"/>
|
||||||
<Label x:Name="lbl_title" Content="Need some help?" HorizontalAlignment="Left" Margin="3,10,0,0" VerticalAlignment="Top" FontSize="20"/>
|
<Label x:Name="lbl_title" Content="Need some help?" HorizontalAlignment="Left" Margin="3,10,0,0" VerticalAlignment="Top" FontSize="20"/>
|
||||||
|
@ -13,8 +13,6 @@
|
|||||||
<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 Name="DataGrid" Height="333" Margin="10,10,255,0" VerticalAlignment="Top" SelectionChanged="DataGrid_SelectionChanged" IsReadOnly="True"/>
|
|
||||||
|
|
||||||
<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"/>
|
||||||
<TextBlock x:Name="txtblk_username" Margin="563,99,0,0" TextWrapping="Wrap" Text="-" VerticalAlignment="Top" Height="27" FontSize="16" HorizontalAlignment="Left" Width="224"/>
|
<TextBlock x:Name="txtblk_username" Margin="563,99,0,0" TextWrapping="Wrap" Text="-" VerticalAlignment="Top" Height="27" FontSize="16" HorizontalAlignment="Left" Width="224"/>
|
||||||
<TextBlock x:Name="txtblk_url" HorizontalAlignment="Left" Margin="563,161,0,0" TextWrapping="Wrap" Text="-" VerticalAlignment="Top" Height="23" Width="217" FontSize="14"/>
|
<TextBlock x:Name="txtblk_url" HorizontalAlignment="Left" Margin="563,161,0,0" TextWrapping="Wrap" Text="-" VerticalAlignment="Top" Height="23" Width="217" FontSize="14"/>
|
||||||
@ -26,6 +24,8 @@
|
|||||||
<Label x:Name="lbl_url" Content="GitHub URL:" HorizontalAlignment="Left" Margin="563,131,0,0" VerticalAlignment="Top" Padding="2,5,5,5" FontSize="11"/>
|
<Label x:Name="lbl_url" Content="GitHub URL:" HorizontalAlignment="Left" Margin="563,131,0,0" VerticalAlignment="Top" Padding="2,5,5,5" FontSize="11"/>
|
||||||
<Label x:Name="lbl_email" Content="Email:" HorizontalAlignment="Left" Margin="563,192,0,0" VerticalAlignment="Top" Padding="2,5,5,5" FontSize="11"/>
|
<Label x:Name="lbl_email" Content="Email:" HorizontalAlignment="Left" Margin="563,192,0,0" VerticalAlignment="Top" Padding="2,5,5,5" FontSize="11"/>
|
||||||
<Label x:Name="lbl_bio" Content="Bio:" HorizontalAlignment="Left" Margin="563,249,0,0" VerticalAlignment="Top" RenderTransformOrigin="-0.079,0.397" Padding="2,5,5,5"/>
|
<Label x:Name="lbl_bio" Content="Bio:" HorizontalAlignment="Left" Margin="563,249,0,0" VerticalAlignment="Top" RenderTransformOrigin="-0.079,0.397" Padding="2,5,5,5"/>
|
||||||
|
<ListBox x:Name="ListBox" HorizontalAlignment="Left" Height="265" Margin="10,10,0,0" VerticalAlignment="Top" Width="519"/>
|
||||||
|
<TextBlock x:Name="txtblk_repocount" HorizontalAlignment="Left" Margin="10,280,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Height="65" Width="519" RenderTransformOrigin="0.496,0.482"/>
|
||||||
|
|
||||||
</Grid>
|
</Grid>
|
||||||
</Window>
|
</Window>
|
||||||
|
@ -31,7 +31,7 @@ namespace DeskHubSharp
|
|||||||
|
|
||||||
private void btn_detail_Click(object sender, RoutedEventArgs e)
|
private void btn_detail_Click(object sender, RoutedEventArgs e)
|
||||||
{
|
{
|
||||||
RepoDetail repo = _repoDetail[DataGrid.SelectedIndex];
|
RepoDetail repo = _repoDetail[ListBox.SelectedIndex];
|
||||||
DetailWindow detail = new DetailWindow(repo);
|
DetailWindow detail = new DetailWindow(repo);
|
||||||
detail.ShowDialog();
|
detail.ShowDialog();
|
||||||
}
|
}
|
||||||
@ -62,19 +62,18 @@ namespace DeskHubSharp
|
|||||||
private void btn_search_Click(object sender, RoutedEventArgs e)
|
private void btn_search_Click(object sender, RoutedEventArgs e)
|
||||||
{
|
{
|
||||||
SearchWindow search = new SearchWindow();
|
SearchWindow search = new SearchWindow();
|
||||||
RepoDetail detail = new RepoDetail();
|
RepoInfo info = new RepoInfo();
|
||||||
//RepoInfo info = new RepoInfo();
|
|
||||||
Owner owner = new Owner();
|
Owner owner = new Owner();
|
||||||
User user = new User();
|
|
||||||
search.ShowDialog();
|
search.ShowDialog();
|
||||||
//var stuff = info.GetRepoInfoDataGrid();
|
var stuff = info.GetRepoInfoDataGrid();
|
||||||
_repoDetail = RepoList.repoDetail;
|
_repoDetail = RepoList.repoDetail;
|
||||||
DataGrid.ItemsSource = _repoDetail;
|
ListBox.ItemsSource = stuff;
|
||||||
txtblk_username.Text = RepoList.userDetail.login;
|
txtblk_username.Text = RepoList.userDetail.login;
|
||||||
txtblk_url.Text = RepoList.repoDetail[0].owner.html_url;
|
txtblk_url.Text = RepoList.userDetail.html_url;
|
||||||
txtblk_bio.Text = RepoList.userDetail.bio;
|
txtblk_bio.Text = RepoList.userDetail.bio;
|
||||||
txtblk_email.Text = RepoList.userDetail.blog;
|
txtblk_email.Text = RepoList.userDetail.blog;
|
||||||
txtblk_realname.Text = RepoList.userDetail.name;
|
txtblk_realname.Text = RepoList.userDetail.name;
|
||||||
|
txtblk_repocount.Text = $"{RepoList.userDetail.login} has {RepoList.userDetail.public_repos} public repositories.";
|
||||||
//img_avatar.Source = RepoList.repoDetail[0].owner.avatar_url;
|
//img_avatar.Source = RepoList.repoDetail[0].owner.avatar_url;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -14,14 +14,11 @@ namespace DeskHubSharp
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public ObservableCollection<string> GetRepoInfoDataGrid()
|
public List<string> GetRepoInfoDataGrid()
|
||||||
{
|
{
|
||||||
ObservableCollection<string> repoStuff = new ObservableCollection<string>();
|
List<string> stuff = RepoList.repoDetail.Select(x => x.full_name).ToList();
|
||||||
RepoDetail repo = new RepoDetail();
|
//stuff =+ RepoList.repoDetail.Select(x => x.name).ToList();
|
||||||
repoStuff.Add(Convert.ToString(RepoList.repoDetail.Select(x => x.name)));
|
return stuff;
|
||||||
//repoStuff.Add(repo.url);
|
|
||||||
|
|
||||||
return repoStuff;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -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="Search - DeskHubSharp" Height="200" Width="500">
|
Title="Search - DeskHubSharp" Height="200" Width="500" ResizeMode="NoResize">
|
||||||
<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"/>
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#pragma checksum "..\..\MainWindow.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "BCEA848E7842A8F82D9E02FD9B4523C32346663C"
|
#pragma checksum "..\..\MainWindow.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "0EAA4E5953DD54A83EF84C8979256F95CA55AC47"
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
// <auto-generated>
|
// <auto-generated>
|
||||||
// This code was generated by a tool.
|
// This code was generated by a tool.
|
||||||
@ -91,21 +91,13 @@ 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
|
||||||
#line hidden
|
#line hidden
|
||||||
|
|
||||||
|
|
||||||
#line 19 "..\..\MainWindow.xaml"
|
#line 17 "..\..\MainWindow.xaml"
|
||||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||||
internal System.Windows.Controls.TextBlock txtblk_username;
|
internal System.Windows.Controls.TextBlock txtblk_username;
|
||||||
|
|
||||||
@ -113,7 +105,7 @@ namespace DeskHubSharp {
|
|||||||
#line hidden
|
#line hidden
|
||||||
|
|
||||||
|
|
||||||
#line 20 "..\..\MainWindow.xaml"
|
#line 18 "..\..\MainWindow.xaml"
|
||||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||||
internal System.Windows.Controls.TextBlock txtblk_url;
|
internal System.Windows.Controls.TextBlock txtblk_url;
|
||||||
|
|
||||||
@ -121,7 +113,7 @@ namespace DeskHubSharp {
|
|||||||
#line hidden
|
#line hidden
|
||||||
|
|
||||||
|
|
||||||
#line 21 "..\..\MainWindow.xaml"
|
#line 19 "..\..\MainWindow.xaml"
|
||||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||||
internal System.Windows.Controls.TextBlock txtblk_bio;
|
internal System.Windows.Controls.TextBlock txtblk_bio;
|
||||||
|
|
||||||
@ -129,7 +121,7 @@ namespace DeskHubSharp {
|
|||||||
#line hidden
|
#line hidden
|
||||||
|
|
||||||
|
|
||||||
#line 22 "..\..\MainWindow.xaml"
|
#line 20 "..\..\MainWindow.xaml"
|
||||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||||
internal System.Windows.Controls.TextBlock txtblk_email;
|
internal System.Windows.Controls.TextBlock txtblk_email;
|
||||||
|
|
||||||
@ -137,7 +129,7 @@ namespace DeskHubSharp {
|
|||||||
#line hidden
|
#line hidden
|
||||||
|
|
||||||
|
|
||||||
#line 23 "..\..\MainWindow.xaml"
|
#line 21 "..\..\MainWindow.xaml"
|
||||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||||
internal System.Windows.Controls.TextBlock txtblk_realname;
|
internal System.Windows.Controls.TextBlock txtblk_realname;
|
||||||
|
|
||||||
@ -145,7 +137,7 @@ namespace DeskHubSharp {
|
|||||||
#line hidden
|
#line hidden
|
||||||
|
|
||||||
|
|
||||||
#line 24 "..\..\MainWindow.xaml"
|
#line 22 "..\..\MainWindow.xaml"
|
||||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||||
internal System.Windows.Controls.Label lbl_realname;
|
internal System.Windows.Controls.Label lbl_realname;
|
||||||
|
|
||||||
@ -153,7 +145,7 @@ namespace DeskHubSharp {
|
|||||||
#line hidden
|
#line hidden
|
||||||
|
|
||||||
|
|
||||||
#line 25 "..\..\MainWindow.xaml"
|
#line 23 "..\..\MainWindow.xaml"
|
||||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||||
internal System.Windows.Controls.Label lbl_username;
|
internal System.Windows.Controls.Label lbl_username;
|
||||||
|
|
||||||
@ -161,7 +153,7 @@ namespace DeskHubSharp {
|
|||||||
#line hidden
|
#line hidden
|
||||||
|
|
||||||
|
|
||||||
#line 26 "..\..\MainWindow.xaml"
|
#line 24 "..\..\MainWindow.xaml"
|
||||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||||
internal System.Windows.Controls.Label lbl_url;
|
internal System.Windows.Controls.Label lbl_url;
|
||||||
|
|
||||||
@ -169,7 +161,7 @@ namespace DeskHubSharp {
|
|||||||
#line hidden
|
#line hidden
|
||||||
|
|
||||||
|
|
||||||
#line 27 "..\..\MainWindow.xaml"
|
#line 25 "..\..\MainWindow.xaml"
|
||||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||||
internal System.Windows.Controls.Label lbl_email;
|
internal System.Windows.Controls.Label lbl_email;
|
||||||
|
|
||||||
@ -177,13 +169,29 @@ namespace DeskHubSharp {
|
|||||||
#line hidden
|
#line hidden
|
||||||
|
|
||||||
|
|
||||||
#line 28 "..\..\MainWindow.xaml"
|
#line 26 "..\..\MainWindow.xaml"
|
||||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||||
internal System.Windows.Controls.Label lbl_bio;
|
internal System.Windows.Controls.Label lbl_bio;
|
||||||
|
|
||||||
#line default
|
#line default
|
||||||
#line hidden
|
#line hidden
|
||||||
|
|
||||||
|
|
||||||
|
#line 27 "..\..\MainWindow.xaml"
|
||||||
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||||
|
internal System.Windows.Controls.ListBox ListBox;
|
||||||
|
|
||||||
|
#line default
|
||||||
|
#line hidden
|
||||||
|
|
||||||
|
|
||||||
|
#line 28 "..\..\MainWindow.xaml"
|
||||||
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||||
|
internal System.Windows.Controls.TextBlock txtblk_repocount;
|
||||||
|
|
||||||
|
#line default
|
||||||
|
#line hidden
|
||||||
|
|
||||||
private bool _contentLoaded;
|
private bool _contentLoaded;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@ -263,53 +271,50 @@ namespace DeskHubSharp {
|
|||||||
#line hidden
|
#line hidden
|
||||||
return;
|
return;
|
||||||
case 7:
|
case 7:
|
||||||
this.DataGrid = ((System.Windows.Controls.DataGrid)(target));
|
|
||||||
|
|
||||||
#line 16 "..\..\MainWindow.xaml"
|
|
||||||
this.DataGrid.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.DataGrid_SelectionChanged);
|
|
||||||
|
|
||||||
#line default
|
|
||||||
#line hidden
|
|
||||||
return;
|
|
||||||
case 8:
|
|
||||||
this.btn_exit = ((System.Windows.Controls.Button)(target));
|
this.btn_exit = ((System.Windows.Controls.Button)(target));
|
||||||
|
|
||||||
#line 18 "..\..\MainWindow.xaml"
|
#line 16 "..\..\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
|
||||||
#line hidden
|
#line hidden
|
||||||
return;
|
return;
|
||||||
case 9:
|
case 8:
|
||||||
this.txtblk_username = ((System.Windows.Controls.TextBlock)(target));
|
this.txtblk_username = ((System.Windows.Controls.TextBlock)(target));
|
||||||
return;
|
return;
|
||||||
case 10:
|
case 9:
|
||||||
this.txtblk_url = ((System.Windows.Controls.TextBlock)(target));
|
this.txtblk_url = ((System.Windows.Controls.TextBlock)(target));
|
||||||
return;
|
return;
|
||||||
case 11:
|
case 10:
|
||||||
this.txtblk_bio = ((System.Windows.Controls.TextBlock)(target));
|
this.txtblk_bio = ((System.Windows.Controls.TextBlock)(target));
|
||||||
return;
|
return;
|
||||||
case 12:
|
case 11:
|
||||||
this.txtblk_email = ((System.Windows.Controls.TextBlock)(target));
|
this.txtblk_email = ((System.Windows.Controls.TextBlock)(target));
|
||||||
return;
|
return;
|
||||||
case 13:
|
case 12:
|
||||||
this.txtblk_realname = ((System.Windows.Controls.TextBlock)(target));
|
this.txtblk_realname = ((System.Windows.Controls.TextBlock)(target));
|
||||||
return;
|
return;
|
||||||
case 14:
|
case 13:
|
||||||
this.lbl_realname = ((System.Windows.Controls.Label)(target));
|
this.lbl_realname = ((System.Windows.Controls.Label)(target));
|
||||||
return;
|
return;
|
||||||
case 15:
|
case 14:
|
||||||
this.lbl_username = ((System.Windows.Controls.Label)(target));
|
this.lbl_username = ((System.Windows.Controls.Label)(target));
|
||||||
return;
|
return;
|
||||||
case 16:
|
case 15:
|
||||||
this.lbl_url = ((System.Windows.Controls.Label)(target));
|
this.lbl_url = ((System.Windows.Controls.Label)(target));
|
||||||
return;
|
return;
|
||||||
case 17:
|
case 16:
|
||||||
this.lbl_email = ((System.Windows.Controls.Label)(target));
|
this.lbl_email = ((System.Windows.Controls.Label)(target));
|
||||||
return;
|
return;
|
||||||
case 18:
|
case 17:
|
||||||
this.lbl_bio = ((System.Windows.Controls.Label)(target));
|
this.lbl_bio = ((System.Windows.Controls.Label)(target));
|
||||||
return;
|
return;
|
||||||
|
case 18:
|
||||||
|
this.ListBox = ((System.Windows.Controls.ListBox)(target));
|
||||||
|
return;
|
||||||
|
case 19:
|
||||||
|
this.txtblk_repocount = ((System.Windows.Controls.TextBlock)(target));
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
this._contentLoaded = true;
|
this._contentLoaded = true;
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#pragma checksum "..\..\MainWindow.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "BCEA848E7842A8F82D9E02FD9B4523C32346663C"
|
#pragma checksum "..\..\MainWindow.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "0EAA4E5953DD54A83EF84C8979256F95CA55AC47"
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
// <auto-generated>
|
// <auto-generated>
|
||||||
// This code was generated by a tool.
|
// This code was generated by a tool.
|
||||||
@ -91,21 +91,13 @@ 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
|
||||||
#line hidden
|
#line hidden
|
||||||
|
|
||||||
|
|
||||||
#line 19 "..\..\MainWindow.xaml"
|
#line 17 "..\..\MainWindow.xaml"
|
||||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||||
internal System.Windows.Controls.TextBlock txtblk_username;
|
internal System.Windows.Controls.TextBlock txtblk_username;
|
||||||
|
|
||||||
@ -113,7 +105,7 @@ namespace DeskHubSharp {
|
|||||||
#line hidden
|
#line hidden
|
||||||
|
|
||||||
|
|
||||||
#line 20 "..\..\MainWindow.xaml"
|
#line 18 "..\..\MainWindow.xaml"
|
||||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||||
internal System.Windows.Controls.TextBlock txtblk_url;
|
internal System.Windows.Controls.TextBlock txtblk_url;
|
||||||
|
|
||||||
@ -121,7 +113,7 @@ namespace DeskHubSharp {
|
|||||||
#line hidden
|
#line hidden
|
||||||
|
|
||||||
|
|
||||||
#line 21 "..\..\MainWindow.xaml"
|
#line 19 "..\..\MainWindow.xaml"
|
||||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||||
internal System.Windows.Controls.TextBlock txtblk_bio;
|
internal System.Windows.Controls.TextBlock txtblk_bio;
|
||||||
|
|
||||||
@ -129,7 +121,7 @@ namespace DeskHubSharp {
|
|||||||
#line hidden
|
#line hidden
|
||||||
|
|
||||||
|
|
||||||
#line 22 "..\..\MainWindow.xaml"
|
#line 20 "..\..\MainWindow.xaml"
|
||||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||||
internal System.Windows.Controls.TextBlock txtblk_email;
|
internal System.Windows.Controls.TextBlock txtblk_email;
|
||||||
|
|
||||||
@ -137,7 +129,7 @@ namespace DeskHubSharp {
|
|||||||
#line hidden
|
#line hidden
|
||||||
|
|
||||||
|
|
||||||
#line 23 "..\..\MainWindow.xaml"
|
#line 21 "..\..\MainWindow.xaml"
|
||||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||||
internal System.Windows.Controls.TextBlock txtblk_realname;
|
internal System.Windows.Controls.TextBlock txtblk_realname;
|
||||||
|
|
||||||
@ -145,7 +137,7 @@ namespace DeskHubSharp {
|
|||||||
#line hidden
|
#line hidden
|
||||||
|
|
||||||
|
|
||||||
#line 24 "..\..\MainWindow.xaml"
|
#line 22 "..\..\MainWindow.xaml"
|
||||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||||
internal System.Windows.Controls.Label lbl_realname;
|
internal System.Windows.Controls.Label lbl_realname;
|
||||||
|
|
||||||
@ -153,7 +145,7 @@ namespace DeskHubSharp {
|
|||||||
#line hidden
|
#line hidden
|
||||||
|
|
||||||
|
|
||||||
#line 25 "..\..\MainWindow.xaml"
|
#line 23 "..\..\MainWindow.xaml"
|
||||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||||
internal System.Windows.Controls.Label lbl_username;
|
internal System.Windows.Controls.Label lbl_username;
|
||||||
|
|
||||||
@ -161,7 +153,7 @@ namespace DeskHubSharp {
|
|||||||
#line hidden
|
#line hidden
|
||||||
|
|
||||||
|
|
||||||
#line 26 "..\..\MainWindow.xaml"
|
#line 24 "..\..\MainWindow.xaml"
|
||||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||||
internal System.Windows.Controls.Label lbl_url;
|
internal System.Windows.Controls.Label lbl_url;
|
||||||
|
|
||||||
@ -169,7 +161,7 @@ namespace DeskHubSharp {
|
|||||||
#line hidden
|
#line hidden
|
||||||
|
|
||||||
|
|
||||||
#line 27 "..\..\MainWindow.xaml"
|
#line 25 "..\..\MainWindow.xaml"
|
||||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||||
internal System.Windows.Controls.Label lbl_email;
|
internal System.Windows.Controls.Label lbl_email;
|
||||||
|
|
||||||
@ -177,13 +169,29 @@ namespace DeskHubSharp {
|
|||||||
#line hidden
|
#line hidden
|
||||||
|
|
||||||
|
|
||||||
#line 28 "..\..\MainWindow.xaml"
|
#line 26 "..\..\MainWindow.xaml"
|
||||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||||
internal System.Windows.Controls.Label lbl_bio;
|
internal System.Windows.Controls.Label lbl_bio;
|
||||||
|
|
||||||
#line default
|
#line default
|
||||||
#line hidden
|
#line hidden
|
||||||
|
|
||||||
|
|
||||||
|
#line 27 "..\..\MainWindow.xaml"
|
||||||
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||||
|
internal System.Windows.Controls.ListBox ListBox;
|
||||||
|
|
||||||
|
#line default
|
||||||
|
#line hidden
|
||||||
|
|
||||||
|
|
||||||
|
#line 28 "..\..\MainWindow.xaml"
|
||||||
|
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
|
||||||
|
internal System.Windows.Controls.TextBlock txtblk_repocount;
|
||||||
|
|
||||||
|
#line default
|
||||||
|
#line hidden
|
||||||
|
|
||||||
private bool _contentLoaded;
|
private bool _contentLoaded;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@ -263,53 +271,50 @@ namespace DeskHubSharp {
|
|||||||
#line hidden
|
#line hidden
|
||||||
return;
|
return;
|
||||||
case 7:
|
case 7:
|
||||||
this.DataGrid = ((System.Windows.Controls.DataGrid)(target));
|
|
||||||
|
|
||||||
#line 16 "..\..\MainWindow.xaml"
|
|
||||||
this.DataGrid.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.DataGrid_SelectionChanged);
|
|
||||||
|
|
||||||
#line default
|
|
||||||
#line hidden
|
|
||||||
return;
|
|
||||||
case 8:
|
|
||||||
this.btn_exit = ((System.Windows.Controls.Button)(target));
|
this.btn_exit = ((System.Windows.Controls.Button)(target));
|
||||||
|
|
||||||
#line 18 "..\..\MainWindow.xaml"
|
#line 16 "..\..\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
|
||||||
#line hidden
|
#line hidden
|
||||||
return;
|
return;
|
||||||
case 9:
|
case 8:
|
||||||
this.txtblk_username = ((System.Windows.Controls.TextBlock)(target));
|
this.txtblk_username = ((System.Windows.Controls.TextBlock)(target));
|
||||||
return;
|
return;
|
||||||
case 10:
|
case 9:
|
||||||
this.txtblk_url = ((System.Windows.Controls.TextBlock)(target));
|
this.txtblk_url = ((System.Windows.Controls.TextBlock)(target));
|
||||||
return;
|
return;
|
||||||
case 11:
|
case 10:
|
||||||
this.txtblk_bio = ((System.Windows.Controls.TextBlock)(target));
|
this.txtblk_bio = ((System.Windows.Controls.TextBlock)(target));
|
||||||
return;
|
return;
|
||||||
case 12:
|
case 11:
|
||||||
this.txtblk_email = ((System.Windows.Controls.TextBlock)(target));
|
this.txtblk_email = ((System.Windows.Controls.TextBlock)(target));
|
||||||
return;
|
return;
|
||||||
case 13:
|
case 12:
|
||||||
this.txtblk_realname = ((System.Windows.Controls.TextBlock)(target));
|
this.txtblk_realname = ((System.Windows.Controls.TextBlock)(target));
|
||||||
return;
|
return;
|
||||||
case 14:
|
case 13:
|
||||||
this.lbl_realname = ((System.Windows.Controls.Label)(target));
|
this.lbl_realname = ((System.Windows.Controls.Label)(target));
|
||||||
return;
|
return;
|
||||||
case 15:
|
case 14:
|
||||||
this.lbl_username = ((System.Windows.Controls.Label)(target));
|
this.lbl_username = ((System.Windows.Controls.Label)(target));
|
||||||
return;
|
return;
|
||||||
case 16:
|
case 15:
|
||||||
this.lbl_url = ((System.Windows.Controls.Label)(target));
|
this.lbl_url = ((System.Windows.Controls.Label)(target));
|
||||||
return;
|
return;
|
||||||
case 17:
|
case 16:
|
||||||
this.lbl_email = ((System.Windows.Controls.Label)(target));
|
this.lbl_email = ((System.Windows.Controls.Label)(target));
|
||||||
return;
|
return;
|
||||||
case 18:
|
case 17:
|
||||||
this.lbl_bio = ((System.Windows.Controls.Label)(target));
|
this.lbl_bio = ((System.Windows.Controls.Label)(target));
|
||||||
return;
|
return;
|
||||||
|
case 18:
|
||||||
|
this.ListBox = ((System.Windows.Controls.ListBox)(target));
|
||||||
|
return;
|
||||||
|
case 19:
|
||||||
|
this.txtblk_repocount = ((System.Windows.Controls.TextBlock)(target));
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
this._contentLoaded = true;
|
this._contentLoaded = true;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user