Skip to content

Commit

Permalink
First commit
Browse files Browse the repository at this point in the history
  • Loading branch information
derekantrican committed Jul 22, 2019
1 parent 0f293d9 commit d5b43db
Show file tree
Hide file tree
Showing 24 changed files with 1,476 additions and 0 deletions.
Binary file added .vs/GanttChart/v16/.suo
Binary file not shown.
6 changes: 6 additions & 0 deletions .vs/VSWorkspaceState.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"ExpandedNodes": [
""
],
"PreviewInSolutionExplorer": false
}
Binary file added .vs/slnx.sqlite
Binary file not shown.
12 changes: 12 additions & 0 deletions ChartEventArgs/CanvasClickedEventArgs.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
using System;
using System.Drawing;

namespace GanttChart
{
public class CanvasClickedEventArgs
{
public DateTime? ClickedLocation { get; set; }
public Row RelatedRow { get; set; }
public Point CursorLocation { get; set; }
}
}
11 changes: 11 additions & 0 deletions ChartEventArgs/RowClickedEventArgs.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
using System;
using System.Drawing;

namespace GanttChart
{
public class RowClickedEventArgs
{
public Row ClickedRow { get; set; }
public Point CursorLocation { get; set; }
}
}
16 changes: 16 additions & 0 deletions ChartEventArgs/TimeBlockClickedEventArgs.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace GanttChart
{
public class TimeBlockClickedEventArgs
{
public TimeBlock ClickedTimeBlock { get; set; }
public Row RelatedRow { get; set; }
public Point CursorLocation { get; set; }
}
}
59 changes: 59 additions & 0 deletions GanttChart.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{82763ACA-980C-475F-84D2-0D6497D064F6}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>GanttChart</RootNamespace>
<AssemblyName>GanttChart</AssemblyName>
<TargetFrameworkVersion>v4.6</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<Deterministic>true</Deterministic>
</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>
</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>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Drawing" />
<Reference Include="System.Windows.Forms" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Data" />
<Reference Include="System.Net.Http" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="Objects\Chart.cs">
<SubType>UserControl</SubType>
</Compile>
<Compile Include="ChartEventArgs\RowClickedEventArgs.cs" />
<Compile Include="ChartEventArgs\TimeBlockClickedEventArgs.cs" />
<Compile Include="Utilities\Enums.cs" />
<Compile Include="ChartEventArgs\CanvasClickedEventArgs.cs" />
<Compile Include="Objects\Row.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="Utilities\Renderer.cs" />
<Compile Include="Objects\TimeBlock.cs" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project>
Loading

0 comments on commit d5b43db

Please sign in to comment.