Skip to content

Commit

Permalink
save and load targets, send internal note params
Browse files Browse the repository at this point in the history
  • Loading branch information
jobf committed Sep 11, 2016
1 parent abe1220 commit 302de72
Show file tree
Hide file tree
Showing 11 changed files with 854 additions and 715 deletions.
493 changes: 248 additions & 245 deletions .gitignore

Large diffs are not rendered by default.

44 changes: 22 additions & 22 deletions ReTracker.sln
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 14
VisualStudioVersion = 14.0.25420.1
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ReTracker", "ReTracker\ReTracker.csproj", "{6E18ABF1-3E6B-44C5-BD14-E70C24F42147}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{6E18ABF1-3E6B-44C5-BD14-E70C24F42147}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{6E18ABF1-3E6B-44C5-BD14-E70C24F42147}.Debug|Any CPU.Build.0 = Debug|Any CPU
{6E18ABF1-3E6B-44C5-BD14-E70C24F42147}.Release|Any CPU.ActiveCfg = Release|Any CPU
{6E18ABF1-3E6B-44C5-BD14-E70C24F42147}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 14
VisualStudioVersion = 14.0.25420.1
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ReTracker", "ReTracker\ReTracker.csproj", "{6E18ABF1-3E6B-44C5-BD14-E70C24F42147}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{6E18ABF1-3E6B-44C5-BD14-E70C24F42147}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{6E18ABF1-3E6B-44C5-BD14-E70C24F42147}.Debug|Any CPU.Build.0 = Debug|Any CPU
{6E18ABF1-3E6B-44C5-BD14-E70C24F42147}.Release|Any CPU.ActiveCfg = Release|Any CPU
{6E18ABF1-3E6B-44C5-BD14-E70C24F42147}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal
201 changes: 100 additions & 101 deletions ReTracker/ReTracker.csproj
Original file line number Diff line number Diff line change
@@ -1,102 +1,101 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>8.0.30703</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{6E18ABF1-3E6B-44C5-BD14-E70C24F42147}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>ReTracker</RootNamespace>
<AssemblyName>ReTracker.NET</AssemblyName>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<TargetFrameworkProfile>Client</TargetFrameworkProfile>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'ES|AnyCPU'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>E:\Users\james.fisher\Programs\Jeskola\Buzz\Gear\Generators\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<DebugType>full</DebugType>
<PlatformTarget>AnyCPU</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'JF7|AnyCPU'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>..\..\..\..\Programs\Jeskola\Buzz\Gear\Generators\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<DebugType>full</DebugType>
<PlatformTarget>AnyCPU</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<ItemGroup>
<Reference Include="BuzzGUI.Common">
<HintPath>..\..\..\..\Programs\Jeskola\Buzz\BuzzGUI.Common.dll</HintPath>
</Reference>
<Reference Include="BuzzGUI.Interfaces">
<HintPath>..\..\..\..\Programs\Jeskola\Buzz\BuzzGUI.Interfaces.dll</HintPath>
</Reference>
<Reference Include="PresentationCore" />
<Reference Include="PresentationFramework" />
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Xaml" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Data" />
<Reference Include="System.Xml" />
<Reference Include="UIAutomationProvider" />
<Reference Include="WindowsBase" />
</ItemGroup>
<ItemGroup>
<Compile Include="RelayCommand.cs" />
<Compile Include="ReTrackerGUI.xaml.cs">
<DependentUpon>ReTrackerGUI.xaml</DependentUpon>
</Compile>
<Compile Include="ReTrackerMachine.cs" />
<Compile Include="TargetVM.cs" />
<Compile Include="Track.cs" />
</ItemGroup>
<ItemGroup>
<Folder Include="Properties\" />
</ItemGroup>
<ItemGroup>
<Page Include="ReTrackerGUI.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{6E18ABF1-3E6B-44C5-BD14-E70C24F42147}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>ReTracker</RootNamespace>
<AssemblyName>ReTracker.NET</AssemblyName>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<TargetFrameworkProfile>Client</TargetFrameworkProfile>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'ES|AnyCPU'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>E:\Users\james.fisher\Programs\Jeskola\Buzz\Gear\Generators\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<DebugType>full</DebugType>
<PlatformTarget>AnyCPU</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'JF7|AnyCPU'">
<DebugSymbols>true</DebugSymbols>
<OutputPath>..\..\..\..\Programs\Jeskola\Buzz\Gear\Generators\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<DebugType>full</DebugType>
<PlatformTarget>AnyCPU</PlatformTarget>
<ErrorReport>prompt</ErrorReport>
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<ItemGroup>
<Reference Include="BuzzGUI.Common">
<HintPath>..\..\..\..\Programs\Jeskola\Buzz\BuzzGUI.Common.dll</HintPath>
</Reference>
<Reference Include="BuzzGUI.Interfaces">
<HintPath>..\..\..\..\Programs\Jeskola\Buzz\BuzzGUI.Interfaces.dll</HintPath>
</Reference>
<Reference Include="PresentationCore" />
<Reference Include="PresentationFramework" />
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Xaml" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Data" />
<Reference Include="System.Xml" />
<Reference Include="UIAutomationProvider" />
<Reference Include="WindowsBase" />
</ItemGroup>
<ItemGroup>
<Compile Include="RelayCommand.cs" />
<Compile Include="ReTrackerGUI.xaml.cs">
<DependentUpon>ReTrackerGUI.xaml</DependentUpon>
</Compile>
<Compile Include="ReTrackerMachine.cs" />
<Compile Include="TargetVM.cs" />
<Compile Include="Track.cs" />
<Compile Include="Target.cs" />
</ItemGroup>
<ItemGroup>
<Folder Include="Properties\" />
</ItemGroup>
<ItemGroup>
<Page Include="ReTrackerGUI.xaml">
<SubType>Designer</SubType>
<Generator>MSBuild:Compile</Generator>
</Page>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
</Project>
78 changes: 39 additions & 39 deletions ReTracker/ReTrackerGUI.xaml
Original file line number Diff line number Diff line change
@@ -1,40 +1,40 @@
<UserControl x:Class="ReTracker.ReTrackerGUI"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Width="394"
Height="Auto">

<UserControl.Resources>
<DataTemplate x:Key="TargetTemplate">
<StackPanel Orientation="Horizontal">
<Button Content="X"
Height="20"
Width="20"
VerticalAlignment="Center"
HorizontalAlignment="Center"
Margin="0,0,5,0"
Command="{Binding RemoveCommand}" />
<TextBlock Text="{Binding MachineName}" />
</StackPanel>
</DataTemplate>
</UserControl.Resources>

<StackPanel>
<Label>Available target machines:</Label>

<ComboBox x:Name="names"
ItemsSource="{Binding MachineNames}"
SelectedItem="{Binding SelectedMachine}" />

<Button x:Name="addTarget"
Content="Add target"
Command="{Binding AddTargetCommand}" />
<ScrollViewer Height="240">
<ListBox x:Name="targets"
ItemsSource="{Binding Targets}"
ItemTemplate="{DynamicResource TargetTemplate}">
</ListBox>
</ScrollViewer>
</StackPanel>

<UserControl x:Class="ReTracker.ReTrackerGUI"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Width="394"
Height="Auto">

<UserControl.Resources>
<DataTemplate x:Key="TargetTemplate">
<StackPanel Orientation="Horizontal">
<Button Content="X"
Height="20"
Width="20"
VerticalAlignment="Center"
HorizontalAlignment="Center"
Margin="0,0,5,0"
Command="{Binding RemoveCommand}" />
<TextBlock Text="{Binding MachineName}" />
</StackPanel>
</DataTemplate>
</UserControl.Resources>

<StackPanel>
<Label>Available target machines:</Label>

<ComboBox x:Name="names"
ItemsSource="{Binding MachineNames}"
SelectedItem="{Binding SelectedMachine}" />

<Button x:Name="addTarget"
Content="Add target"
Command="{Binding AddTargetCommand}" />
<ScrollViewer Height="240">
<ListBox x:Name="targets"
ItemsSource="{Binding Targets}"
ItemTemplate="{DynamicResource TargetTemplate}">
</ListBox>
</ScrollViewer>
</StackPanel>

</UserControl>
Loading

0 comments on commit 302de72

Please sign in to comment.