Skip to content

Commit

Permalink
first attempt of screen to configure folders while adding
Browse files Browse the repository at this point in the history
  • Loading branch information
srushti committed Sep 4, 2009
1 parent f39c520 commit 4102473
Show file tree
Hide file tree
Showing 5 changed files with 55 additions and 3 deletions.
8 changes: 8 additions & 0 deletions Azazel/Azazel.csproj
Expand Up @@ -32,6 +32,7 @@
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
<UseApplicationTrust>false</UseApplicationTrust>
<BootstrapperEnabled>true</BootstrapperEnabled>
<ExpressionBlendVersion>3.0.1927.0</ExpressionBlendVersion>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
Expand Down Expand Up @@ -105,6 +106,10 @@
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</Page>
<Page Include="View\FolderAddDetails.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</Page>
<Compile Include="App.xaml.cs">
<DependentUpon>App.xaml</DependentUpon>
<SubType>Code</SubType>
Expand Down Expand Up @@ -185,6 +190,9 @@
<Compile Include="Threading\Timer.cs" />
<Compile Include="Token.cs" />
<Compile Include="TODO.cs" />
<Compile Include="View\FolderAddDetails.xaml.cs">
<DependentUpon>FolderAddDetails.xaml</DependentUpon>
</Compile>
<Compile Include="WindowHider.cs" />
<AppDesigner Include="Properties\" />
</ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion Azazel/PluggingIn/KeyboardShortcut.xaml
Expand Up @@ -8,7 +8,7 @@

<Grid x:Name="LayoutRoot">
<Rectangle Fill="{DynamicResource background}" Stroke="#FF000000" OpacityMask="{DynamicResource opacityMask}"/>
<Label FontSize="22" x:Name="currentlySelected" Content="ue" VerticalAlignment="Top" Foreground="{DynamicResource text}"/>
<Label FontSize="22" x:Name="currentlySelected" VerticalAlignment="Top" Foreground="{DynamicResource text}"/>
<CheckBox Margin="0,0,0,20.1" x:Name="useWindowsKey" Content="Use Windows Key?" d:LayoutOverrides="Width, Height" HorizontalAlignment="Left" VerticalAlignment="Bottom"/>
</Grid>
</Window>
7 changes: 5 additions & 2 deletions Azazel/PluggingIn/KeyboardShortcut.xaml.cs
Expand Up @@ -12,10 +12,13 @@ public partial class KeyboardShortcut {
private readonly PersistanceHelper persistanceHelper;
private Hotkey newHotkey;

public KeyboardShortcut(AppSettings settings, PersistanceHelper persistanceHelper) {
protected KeyboardShortcut() {
InitializeComponent();
}

public KeyboardShortcut(AppSettings settings, PersistanceHelper persistanceHelper) : this() {
this.settings = settings;
this.persistanceHelper = persistanceHelper;
InitializeComponent();
HookEvents();
}

Expand Down
14 changes: 14 additions & 0 deletions Azazel/View/FolderAddDetails.xaml
@@ -0,0 +1,14 @@
<Window
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
x:Class="Azazel.FolderAddDetails"
x:Name="Window"
Title="FolderAddDetails"
Width="640" Height="480" ResizeMode="NoResize" WindowStartupLocation="CenterScreen" WindowStyle="None">

<Grid x:Name="LayoutRoot">
<Slider Margin="98,41,261,0" VerticalAlignment="Top" TickPlacement="TopLeft" Value="2" SmallChange="1"/>
<ListBox Margin="98,87,261,94"/>
<TextBlock Margin="98,63,261,0" VerticalAlignment="Top" TextWrapping="Wrap" Text="2 Levels"/>
</Grid>
</Window>
27 changes: 27 additions & 0 deletions Azazel/View/FolderAddDetails.xaml.cs
@@ -0,0 +1,27 @@
using System;
using System.Collections.Generic;
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.Shapes;

namespace Azazel
{
/// <summary>
/// Interaction logic for FolderAddDetails.xaml
/// </summary>
public partial class FolderAddDetails : Window
{
public FolderAddDetails()
{
this.InitializeComponent();

// Insert code required on object creation below this point.
}
}
}

0 comments on commit 4102473

Please sign in to comment.