Skip to content

Commit

Permalink
.gitattribute consequences ;)
Browse files Browse the repository at this point in the history
  • Loading branch information
pmiossec committed Dec 25, 2014
1 parent a939f26 commit 4cc487f
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 35 deletions.
38 changes: 19 additions & 19 deletions .editorconfig
@@ -1,19 +1,19 @@
; Visual Studio Extension : http://visualstudiogallery.msdn.microsoft.com/c8bccfe2-650c-4b42-bc5c-845e21f96328
; See http://editorconfig.org/ for more informations

; Top-most EditorConfig file
root = true

[*.cs]
indent_style = space
indent_size = 4
trim_trailing_whitespace = true
charset = utf-8
insert_final_newline = true

[*.xaml]
indent_style = space
indent_size = 4
trim_trailing_whitespace = true
charset = utf-8
insert_final_newline = true
; Visual Studio Extension : http://visualstudiogallery.msdn.microsoft.com/c8bccfe2-650c-4b42-bc5c-845e21f96328
; See http://editorconfig.org/ for more informations

; Top-most EditorConfig file
root = true

[*.cs]
indent_style = space
indent_size = 4
trim_trailing_whitespace = true
charset = utf-8
insert_final_newline = true

[*.xaml]
indent_style = space
indent_size = 4
trim_trailing_whitespace = true
charset = utf-8
insert_final_newline = true
16 changes: 8 additions & 8 deletions UI/App.xaml.cs
Expand Up @@ -12,14 +12,14 @@ namespace UI
/// Interaction logic for App.xaml
/// </summary>
public partial class App : Application
{
private void Application_Startup(object sender, StartupEventArgs e)
{
var wnd = new MainWindow();
if (e.Args.Length == 1)
wnd.TxtRepositoryPath.Text = e.Args[0];
wnd.Show();
}
{
private void Application_Startup(object sender, StartupEventArgs e)
{
var wnd = new MainWindow();
if (e.Args.Length == 1)
wnd.TxtRepositoryPath.Text = e.Args[0];
wnd.Show();
}

}
}
16 changes: 8 additions & 8 deletions UI/MainWindow.xaml
Expand Up @@ -21,21 +21,21 @@
</DataTemplate>
<DataTemplate x:Key="ReferenceTemplate" DataType="{x:Type logic:Vertex}">
<Border x:Name="Border" BorderBrush="DarkSlateGray" Background="LightGray" BorderThickness="3" Padding="10">
<TextBlock x:Name="Text" Text="{Binding Path=Reference.Name, Mode=OneWay}" Foreground="Red" FontSize="14pt" FontFamily="Consolas" />
<TextBlock x:Name="Text" Text="{Binding Path=Reference.Name, Mode=OneWay}" Foreground="Red" FontSize="14pt" FontFamily="Consolas" />
</Border>
<DataTemplate.Triggers>
<DataTrigger Binding="{Binding Path=Reference.IsActive}" Value="true">
<Setter TargetName="Border" Property="Background" Value="Yellow" />
</DataTrigger>
<DataTrigger Binding="{Binding Path=Reference.IsHead}" Value="true">
<Setter TargetName="Border" Property="Background" Value="IndianRed" />
<Setter TargetName="Text" Property="Foreground" Value="Black" />
</DataTrigger>
<DataTrigger Binding="{Binding Path=Reference.IsTag}" Value="true">
<Setter TargetName="Text" Property="Foreground" Value="Blue" />
</DataTrigger>
<DataTrigger Binding="{Binding Path=Reference.IsRemote}" Value="true">
<Setter TargetName="Text" Property="Foreground" Value="Green" />
<Setter TargetName="Text" Property="Foreground" Value="Black" />
</DataTrigger>
<DataTrigger Binding="{Binding Path=Reference.IsTag}" Value="true">
<Setter TargetName="Text" Property="Foreground" Value="Blue" />
</DataTrigger>
<DataTrigger Binding="{Binding Path=Reference.IsRemote}" Value="true">
<Setter TargetName="Text" Property="Foreground" Value="Green" />
</DataTrigger>
</DataTemplate.Triggers>
</DataTemplate>
Expand Down

0 comments on commit 4cc487f

Please sign in to comment.