Skip to content

Commit

Permalink
Removed unnecessary files
Browse files Browse the repository at this point in the history
  • Loading branch information
jtalbot committed Jul 23, 2011
1 parent ec5b927 commit beafa7c
Show file tree
Hide file tree
Showing 21 changed files with 4 additions and 2,149 deletions.
45 changes: 0 additions & 45 deletions Interface/HeaderPanel.Designer.cs

This file was deleted.

95 changes: 0 additions & 95 deletions Interface/HeaderPanel.cs

This file was deleted.

120 changes: 0 additions & 120 deletions Interface/HeaderPanel.resx

This file was deleted.

9 changes: 0 additions & 9 deletions Interface/Interface.csproj
Expand Up @@ -60,12 +60,6 @@
<Compile Include="Plot.Designer.cs">
<DependentUpon>Plot.cs</DependentUpon>
</Compile>
<Compile Include="HeaderPanel.cs">
<SubType>Component</SubType>
</Compile>
<Compile Include="HeaderPanel.Designer.cs">
<DependentUpon>HeaderPanel.cs</DependentUpon>
</Compile>
<Compile Include="State.cs" />
<Compile Include="Panel.cs">
<SubType>UserControl</SubType>
Expand All @@ -86,9 +80,6 @@
<EmbeddedResource Include="Plot.resx">
<DependentUpon>Plot.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="HeaderPanel.resx">
<DependentUpon>HeaderPanel.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Panel.resx">
<DependentUpon>Panel.cs</DependentUpon>
</EmbeddedResource>
Expand Down
12 changes: 3 additions & 9 deletions Interface/Panel.cs
Expand Up @@ -47,15 +47,9 @@ public void Draw(Graphics g)
g.SmoothingMode = System.Drawing.Drawing2D.SmoothingMode.AntiAlias;
g.FillRectangle(new SolidBrush(Color.White), this.ClientRectangle);

try
{
if (Layers.Count() > 0)
Layers.First().Draw(g, this.ClientRectangle);
}
catch (Exception exception)
{
}

if (Layers.Count() > 0)
Layers.First().Draw(g, this.ClientRectangle);

/*foreach (Layer layer in Layers)
{
try
Expand Down

0 comments on commit beafa7c

Please sign in to comment.