Permalink
Browse files

add settings

  • Loading branch information...
1 parent f4dc062 commit 6341694056e4c6d0dbf3efda6c69a13968cd5d3e @yysun committed Apr 13, 2012
Showing with 52 additions and 0 deletions.
  1. +7 −0 BasicSccProvider.csproj
  2. +18 −0 UI/Settings.xaml
  3. +27 −0 UI/Settings.xaml.cs
View
@@ -116,6 +116,9 @@
<Compile Include="UI\BranchPicker.xaml.cs">
<DependentUpon>BranchPicker.xaml</DependentUpon>
</Compile>
+ <Compile Include="UI\Settings.xaml.cs">
+ <DependentUpon>Settings.xaml</DependentUpon>
+ </Compile>
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="Resources.resx">
@@ -175,6 +178,10 @@
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
+ <Page Include="UI\Settings.xaml">
+ <SubType>Designer</SubType>
+ <Generator>MSBuild:Compile</Generator>
+ </Page>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="GitApi\GitApi.csproj">
View
@@ -0,0 +1,18 @@
+<UserControl x:Class="GitScc.UI.Settings"
+ xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
+ xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
+ xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
+ xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
+ mc:Ignorable="d"
+ d:DesignHeight="300" d:DesignWidth="600">
+ <Grid>
+ <Label Content="Set path to Git Bash (sh.exe)" Height="28" HorizontalAlignment="Left" Margin="7,12,0,0" Name="label1" VerticalAlignment="Top" />
+ <TextBox Height="23" HorizontalAlignment="Left" Margin="12,38,0,0" Name="txtGitExePath" VerticalAlignment="Top" Width="380" />
+ <Label Content="User Name" Height="28" HorizontalAlignment="Left" Margin="7,81,0,0" Name="label2" VerticalAlignment="Top" />
+ <TextBox Height="23" HorizontalAlignment="Left" Margin="12,104,0,0" Name="txtUserName" VerticalAlignment="Top" Width="220" />
+ <Button Content="Browse ..." Height="23" HorizontalAlignment="Left" Margin="407,37,0,0" Name="btnBrowse" VerticalAlignment="Top" Width="75" />
+ <Label Content="User Email " Height="28" HorizontalAlignment="Left" Margin="7,133,0,0" Name="label3" VerticalAlignment="Top" />
+ <TextBox Height="23" HorizontalAlignment="Left" Margin="12,156,0,0" Name="txtUserEmail" VerticalAlignment="Top" Width="220" />
+ <Button Content="Save" Height="23" HorizontalAlignment="Left" Margin="12,227,0,0" Name="btnSave" VerticalAlignment="Top" Width="75" />
+ </Grid>
+</UserControl>
View
@@ -0,0 +1,27 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Windows;
+using System.Windows.Controls;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Input;
+using System.Windows.Media;
+using System.Windows.Media.Imaging;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+
+namespace GitScc.UI
+{
+ /// <summary>
+ /// Interaction logic for Settings.xaml
+ /// </summary>
+ public partial class Settings : UserControl
+ {
+ public Settings()
+ {
+ InitializeComponent();
+ }
+ }
+}

0 comments on commit 6341694

Please sign in to comment.