minor things tweaked

This commit is contained in:
Wyatt Miller 2018-12-01 17:28:18 -05:00
parent 3655c99e64
commit b8411b2153
11 changed files with 252 additions and 65 deletions

Binary file not shown.

View File

@ -13,9 +13,27 @@
<TextBlock x:Name="txtblk_about2" HorizontalAlignment="Left" Margin="10,121,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Height="36" Width="372"><Run Text="Using technologies including but not limited to Visual Studio, .NET, Newtonsoft, RestSharp, MailKit/Mimekit and WPF."/><LineBreak/><Run/></TextBlock>
<TextBlock HorizontalAlignment="Left" Margin="10,363,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Height="21" Width="372">
<!--The following came from the link: https://stackoverflow.com/questions/10238694/example-using-hyperlink-in-wpf-->
<Hyperlink NavigateUri="http://github.com/wymillerlinux/DeskhubSharp" RequestNavigate="Hyperlink_RequestNavigate" >
<Hyperlink NavigateUri="http://github.com/wymillerlinux/DeskhubSharp" RequestNavigate="Hyperlink_RequestNavigate_4" >
Want to help with development?
</Hyperlink>
</TextBlock>
<TextBlock HorizontalAlignment="Left" Margin="10,162,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Height="44" Width="364">
This project cannot be done without the help of
<Hyperlink NavigateUri="https://github.com/johnvelis" RequestNavigate="Hyperlink_RequestNavigate">
johnvelis
</Hyperlink>
,
<Hyperlink NavigateUri="https://github.com/NoahFlowa" RequestNavigate="Hyperlink_RequestNavigate_1">
NoahFlowa
</Hyperlink>
,
<Hyperlink NavigateUri="https://github.com/Ericgi231" RequestNavigate="Hyperlink_RequestNavigate_2">
ericgi231
</Hyperlink>
, and
<Hyperlink NavigateUri="https://github.com/tarkowr" RequestNavigate="Hyperlink_RequestNavigate_3">
tarkowr.
</Hyperlink>
</TextBlock>
</Grid>
</Window>

View File

@ -36,5 +36,29 @@ namespace DeskHubSharp
Process.Start(new ProcessStartInfo(e.Uri.AbsoluteUri));
e.Handled = true;
}
private void Hyperlink_RequestNavigate_1(object sender, RequestNavigateEventArgs e)
{
Process.Start(new ProcessStartInfo(e.Uri.AbsoluteUri));
e.Handled = true;
}
private void Hyperlink_RequestNavigate_2(object sender, RequestNavigateEventArgs e)
{
Process.Start(new ProcessStartInfo(e.Uri.AbsoluteUri));
e.Handled = true;
}
private void Hyperlink_RequestNavigate_3(object sender, RequestNavigateEventArgs e)
{
Process.Start(new ProcessStartInfo(e.Uri.AbsoluteUri));
e.Handled = true;
}
private void Hyperlink_RequestNavigate_4(object sender, RequestNavigateEventArgs e)
{
Process.Start(new ProcessStartInfo(e.Uri.AbsoluteUri));
e.Handled = true;
}
}
}

View File

@ -39,23 +39,38 @@ namespace DeskHubSharp
/// <returns></returns>
public void SearchRequest()
{
var client = new RestClient(_apiEndpoint);
RestRequest requestRepo = new RestRequest($"users/{_query}/repos", Method.GET);
try
{
var client = new RestClient(_apiEndpoint);
RestRequest requestRepo = new RestRequest($"users/{_query}/repos", Method.GET);
var response = client.Execute(requestRepo);
var x = response.Content;
var deserialized = JsonConvert.DeserializeObject<ObservableCollection<RepoDetail>>(x);
var response = client.Execute(requestRepo);
var x = response.Content;
var deserialized = JsonConvert.DeserializeObject<ObservableCollection<RepoDetail>>(x);
//ObservableCollection<RepoDetail> test = new ObservableCollection<RepoDetail>()
//{
// new RepoDetail()
// {
// Login = "John",
// Password = "pw"
// }
//};
//ObservableCollection<RepoDetail> test = new ObservableCollection<RepoDetail>()
//{
// new RepoDetail()
// {
// Login = "John",
// Password = "pw"
// }
//};
RepoList.repoDetail = deserialized;
if (deserialized.Count() == 0)
{
throw new Exception();
}
else
{
RepoList.repoDetail = deserialized;
}
}
catch (Exception)
{
ErrorWindow err = new ErrorWindow();
err.txtblk_error.Text = "We can't gather repository data. Please try again";
}
}
@ -64,15 +79,32 @@ namespace DeskHubSharp
/// </summary>
public void UserRequest()
{
var client = new RestClient(_apiEndpoint);
try
{
var client = new RestClient(_apiEndpoint);
RestRequest requestUser = new RestRequest($"users/{_query}", Method.GET);
RestRequest requestUser = new RestRequest($"users/{_query}", Method.GET);
var response = client.Execute(requestUser);
string x = response.Content;
var deserailized = JsonConvert.DeserializeObject<User>(x);
var response = client.Execute(requestUser);
string x = response.Content;
var deserailized = JsonConvert.DeserializeObject<User>(x);
if (deserailized == null)
{
throw new Exception();
}
else
{
RepoList.userDetail = deserailized;
}
}
catch (Exception)
{
ErrorWindow err = new ErrorWindow();
err.txtblk_error.Text = "We can't gather user data. Please try again.";
}
RepoList.userDetail = deserailized;
}
}

View File

@ -10,6 +10,7 @@
<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"/>
<Button x:Name="btn_close" Content="Close" HorizontalAlignment="Left" Margin="707,389,0,0" VerticalAlignment="Top" Width="75" Background="#FFFFABAB" Click="btn_close_Click"/>
<Button x:Name="btn_clone" Content="Clone" HorizontalAlignment="Left" Margin="240,54,0,0" VerticalAlignment="Top" Width="75" />
</Grid>
</Window>

View File

@ -1,11 +1,11 @@
<Window x:Class="DeskHubSharp.MainWindow"
<Window x:Name="window_main" x:Class="DeskHubSharp.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:local="clr-namespace:DeskHubSharp"
mc:Ignorable="d"
Title="DeskHubSharp" Height="450" Width="805.114">
Title="DeskHubSharp" Height="450" Width="805" ResizeMode="NoResize">
<Grid>
<Button x:Name="btn_search" Content="Search" HorizontalAlignment="Left" Margin="10,389,0,0" VerticalAlignment="Top" Width="75" Background="#FFA1C8FF" Click="btn_search_Click"/>
<Button x:Name="btn_detail" Content="Detail" HorizontalAlignment="Left" Margin="90,389,0,0" VerticalAlignment="Top" Width="75" Background="#FFA1C8FF" Click="btn_detail_Click"/>
@ -13,16 +13,19 @@
<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"/>
<DataGrid Name="DataGrid" AutoGenerateColumns="True" Height="333" Margin="10,10,415,0" VerticalAlignment="Top" SelectionChanged="DataGrid_SelectionChanged" IsReadOnly="True"/>
<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"/>
<TextBlock x:Name="txtblk_username" Margin="387,50,0,0" TextWrapping="Wrap" Text="-" VerticalAlignment="Top" Height="35" FontSize="22" HorizontalAlignment="Left" Width="400"/>
<TextBlock x:Name="txtblk_url" HorizontalAlignment="Left" Margin="387,199,0,0" TextWrapping="Wrap" Text="-" VerticalAlignment="Top" Height="62" Width="217" FontSize="14"/>
<Image x:Name="img_avatar" HorizontalAlignment="Left" Height="176" Margin="609,90,0,0" VerticalAlignment="Top" Width="173"/>
<TextBlock x:Name="txtblk_bio" HorizontalAlignment="Left" Margin="387,90,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Height="109" Width="217" FontSize="14" Text="-"/>
<TextBlock x:Name="txtblk_email" HorizontalAlignment="Left" Margin="387,266,0,0" TextWrapping="Wrap" Text="-" VerticalAlignment="Top" Height="27" Width="217"/>
<TextBlock x:Name="txtblk_realname" HorizontalAlignment="Left" Margin="387,10,0,0" TextWrapping="Wrap" Text="-" VerticalAlignment="Top" Height="35
" Width="400" FontSize="22"/>
<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_bio" HorizontalAlignment="Left" Margin="563,280,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Height="109" Width="217" FontSize="14" Text="-"/>
<TextBlock x:Name="txtblk_email" HorizontalAlignment="Left" Margin="563,224,0,0" TextWrapping="Wrap" Text="-" VerticalAlignment="Top" Height="27" Width="217" RenderTransformOrigin="0.643,0.559" FontSize="14"/>
<TextBlock x:Name="txtblk_realname" HorizontalAlignment="Left" Margin="563,34,0,0" TextWrapping="Wrap" Text="-" VerticalAlignment="Top" Height="35" Width="224" FontSize="22"/>
<Label x:Name="lbl_realname" Content="Name:" HorizontalAlignment="Left" Margin="563,10,0,0" VerticalAlignment="Top" Height="24" Width="224" FontSize="11" Padding="2,5,5,5"/>
<Label x:Name="lbl_username" Content="Username:" HorizontalAlignment="Left" Margin="563,74,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_bio" Content="Bio:" HorizontalAlignment="Left" Margin="563,249,0,0" VerticalAlignment="Top" RenderTransformOrigin="-0.079,0.397" Padding="2,5,5,5"/>
</Grid>
</Window>

View File

@ -70,8 +70,7 @@ namespace DeskHubSharp
//var stuff = info.GetRepoInfoDataGrid();
_repoDetail = RepoList.repoDetail;
DataGrid.ItemsSource = _repoDetail;
txtblk_username.Text = RepoList.repoDetail[0].owner.login;
txtblk_username.Text = RepoList.userDetail.login;
txtblk_url.Text = RepoList.repoDetail[0].owner.html_url;
txtblk_bio.Text = RepoList.userDetail.bio;
txtblk_email.Text = RepoList.userDetail.blog;

View File

@ -1,4 +1,4 @@
#pragma checksum "..\..\MainWindow.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "7101FB12DCACC1F4D7F4356DF3A4B58361A07B85"
#pragma checksum "..\..\MainWindow.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "BCEA848E7842A8F82D9E02FD9B4523C32346663C"
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
@ -41,6 +41,14 @@ namespace DeskHubSharp {
public partial class MainWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector {
#line 1 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal DeskHubSharp.MainWindow window_main;
#line default
#line hidden
#line 10 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Button btn_search;
@ -115,7 +123,7 @@ namespace DeskHubSharp {
#line 21 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Image img_avatar;
internal System.Windows.Controls.TextBlock txtblk_bio;
#line default
#line hidden
@ -123,7 +131,7 @@ namespace DeskHubSharp {
#line 22 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.TextBlock txtblk_bio;
internal System.Windows.Controls.TextBlock txtblk_email;
#line default
#line hidden
@ -131,7 +139,7 @@ namespace DeskHubSharp {
#line 23 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.TextBlock txtblk_email;
internal System.Windows.Controls.TextBlock txtblk_realname;
#line default
#line hidden
@ -139,7 +147,39 @@ namespace DeskHubSharp {
#line 24 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.TextBlock txtblk_realname;
internal System.Windows.Controls.Label lbl_realname;
#line default
#line hidden
#line 25 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Label lbl_username;
#line default
#line hidden
#line 26 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Label lbl_url;
#line default
#line hidden
#line 27 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Label lbl_email;
#line default
#line hidden
#line 28 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Label lbl_bio;
#line default
#line hidden
@ -175,6 +215,9 @@ namespace DeskHubSharp {
switch (connectionId)
{
case 1:
this.window_main = ((DeskHubSharp.MainWindow)(target));
return;
case 2:
this.btn_search = ((System.Windows.Controls.Button)(target));
#line 10 "..\..\MainWindow.xaml"
@ -183,7 +226,7 @@ namespace DeskHubSharp {
#line default
#line hidden
return;
case 2:
case 3:
this.btn_detail = ((System.Windows.Controls.Button)(target));
#line 11 "..\..\MainWindow.xaml"
@ -192,7 +235,7 @@ namespace DeskHubSharp {
#line default
#line hidden
return;
case 3:
case 4:
this.btn_feedback = ((System.Windows.Controls.Button)(target));
#line 12 "..\..\MainWindow.xaml"
@ -201,7 +244,7 @@ namespace DeskHubSharp {
#line default
#line hidden
return;
case 4:
case 5:
this.btn_help = ((System.Windows.Controls.Button)(target));
#line 13 "..\..\MainWindow.xaml"
@ -210,7 +253,7 @@ namespace DeskHubSharp {
#line default
#line hidden
return;
case 5:
case 6:
this.btn_about = ((System.Windows.Controls.Button)(target));
#line 14 "..\..\MainWindow.xaml"
@ -219,7 +262,7 @@ namespace DeskHubSharp {
#line default
#line hidden
return;
case 6:
case 7:
this.DataGrid = ((System.Windows.Controls.DataGrid)(target));
#line 16 "..\..\MainWindow.xaml"
@ -228,7 +271,7 @@ namespace DeskHubSharp {
#line default
#line hidden
return;
case 7:
case 8:
this.btn_exit = ((System.Windows.Controls.Button)(target));
#line 18 "..\..\MainWindow.xaml"
@ -237,14 +280,11 @@ namespace DeskHubSharp {
#line default
#line hidden
return;
case 8:
case 9:
this.txtblk_username = ((System.Windows.Controls.TextBlock)(target));
return;
case 9:
this.txtblk_url = ((System.Windows.Controls.TextBlock)(target));
return;
case 10:
this.img_avatar = ((System.Windows.Controls.Image)(target));
this.txtblk_url = ((System.Windows.Controls.TextBlock)(target));
return;
case 11:
this.txtblk_bio = ((System.Windows.Controls.TextBlock)(target));
@ -255,6 +295,21 @@ namespace DeskHubSharp {
case 13:
this.txtblk_realname = ((System.Windows.Controls.TextBlock)(target));
return;
case 14:
this.lbl_realname = ((System.Windows.Controls.Label)(target));
return;
case 15:
this.lbl_username = ((System.Windows.Controls.Label)(target));
return;
case 16:
this.lbl_url = ((System.Windows.Controls.Label)(target));
return;
case 17:
this.lbl_email = ((System.Windows.Controls.Label)(target));
return;
case 18:
this.lbl_bio = ((System.Windows.Controls.Label)(target));
return;
}
this._contentLoaded = true;
}

View File

@ -1,4 +1,4 @@
#pragma checksum "..\..\MainWindow.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "7101FB12DCACC1F4D7F4356DF3A4B58361A07B85"
#pragma checksum "..\..\MainWindow.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "BCEA848E7842A8F82D9E02FD9B4523C32346663C"
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
@ -41,6 +41,14 @@ namespace DeskHubSharp {
public partial class MainWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector {
#line 1 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal DeskHubSharp.MainWindow window_main;
#line default
#line hidden
#line 10 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Button btn_search;
@ -115,7 +123,7 @@ namespace DeskHubSharp {
#line 21 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Image img_avatar;
internal System.Windows.Controls.TextBlock txtblk_bio;
#line default
#line hidden
@ -123,7 +131,7 @@ namespace DeskHubSharp {
#line 22 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.TextBlock txtblk_bio;
internal System.Windows.Controls.TextBlock txtblk_email;
#line default
#line hidden
@ -131,7 +139,7 @@ namespace DeskHubSharp {
#line 23 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.TextBlock txtblk_email;
internal System.Windows.Controls.TextBlock txtblk_realname;
#line default
#line hidden
@ -139,7 +147,39 @@ namespace DeskHubSharp {
#line 24 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.TextBlock txtblk_realname;
internal System.Windows.Controls.Label lbl_realname;
#line default
#line hidden
#line 25 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Label lbl_username;
#line default
#line hidden
#line 26 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Label lbl_url;
#line default
#line hidden
#line 27 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Label lbl_email;
#line default
#line hidden
#line 28 "..\..\MainWindow.xaml"
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
internal System.Windows.Controls.Label lbl_bio;
#line default
#line hidden
@ -175,6 +215,9 @@ namespace DeskHubSharp {
switch (connectionId)
{
case 1:
this.window_main = ((DeskHubSharp.MainWindow)(target));
return;
case 2:
this.btn_search = ((System.Windows.Controls.Button)(target));
#line 10 "..\..\MainWindow.xaml"
@ -183,7 +226,7 @@ namespace DeskHubSharp {
#line default
#line hidden
return;
case 2:
case 3:
this.btn_detail = ((System.Windows.Controls.Button)(target));
#line 11 "..\..\MainWindow.xaml"
@ -192,7 +235,7 @@ namespace DeskHubSharp {
#line default
#line hidden
return;
case 3:
case 4:
this.btn_feedback = ((System.Windows.Controls.Button)(target));
#line 12 "..\..\MainWindow.xaml"
@ -201,7 +244,7 @@ namespace DeskHubSharp {
#line default
#line hidden
return;
case 4:
case 5:
this.btn_help = ((System.Windows.Controls.Button)(target));
#line 13 "..\..\MainWindow.xaml"
@ -210,7 +253,7 @@ namespace DeskHubSharp {
#line default
#line hidden
return;
case 5:
case 6:
this.btn_about = ((System.Windows.Controls.Button)(target));
#line 14 "..\..\MainWindow.xaml"
@ -219,7 +262,7 @@ namespace DeskHubSharp {
#line default
#line hidden
return;
case 6:
case 7:
this.DataGrid = ((System.Windows.Controls.DataGrid)(target));
#line 16 "..\..\MainWindow.xaml"
@ -228,7 +271,7 @@ namespace DeskHubSharp {
#line default
#line hidden
return;
case 7:
case 8:
this.btn_exit = ((System.Windows.Controls.Button)(target));
#line 18 "..\..\MainWindow.xaml"
@ -237,14 +280,11 @@ namespace DeskHubSharp {
#line default
#line hidden
return;
case 8:
case 9:
this.txtblk_username = ((System.Windows.Controls.TextBlock)(target));
return;
case 9:
this.txtblk_url = ((System.Windows.Controls.TextBlock)(target));
return;
case 10:
this.img_avatar = ((System.Windows.Controls.Image)(target));
this.txtblk_url = ((System.Windows.Controls.TextBlock)(target));
return;
case 11:
this.txtblk_bio = ((System.Windows.Controls.TextBlock)(target));
@ -255,6 +295,21 @@ namespace DeskHubSharp {
case 13:
this.txtblk_realname = ((System.Windows.Controls.TextBlock)(target));
return;
case 14:
this.lbl_realname = ((System.Windows.Controls.Label)(target));
return;
case 15:
this.lbl_username = ((System.Windows.Controls.Label)(target));
return;
case 16:
this.lbl_url = ((System.Windows.Controls.Label)(target));
return;
case 17:
this.lbl_email = ((System.Windows.Controls.Label)(target));
return;
case 18:
this.lbl_bio = ((System.Windows.Controls.Label)(target));
return;
}
this._contentLoaded = true;
}