summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--CS340-P6.sln36
-rw-r--r--src/CS340.Plotter/CS340.Plotter.csproj14
-rw-r--r--src/CS340.Plotter/Plot.Designer.cs48
-rw-r--r--src/CS340.Plotter/Plot.cs21
-rw-r--r--src/CS340.Plotter/Plot.resx60
-rw-r--r--src/CS340.Plotter/Program.cs23
6 files changed, 193 insertions, 9 deletions
diff --git a/CS340-P6.sln b/CS340-P6.sln
index 9dc4c1c..987a765 100644
--- a/CS340-P6.sln
+++ b/CS340-P6.sln
@@ -5,19 +5,21 @@ VisualStudioVersion = 16.6.30114.105
MinimumVisualStudioVersion = 10.0.40219.1
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{D035EDB3-98C7-4A59-8C2F-5BD5BB9E83DA}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CS340.Graph", "src\CS340.Graph\CS340.Graph.csproj", "{D2383783-7EAB-4E7F-B9A6-33702BA8E919}"
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "CS340.Graph", "src\CS340.Graph\CS340.Graph.csproj", "{D2383783-7EAB-4E7F-B9A6-33702BA8E919}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CS340.TSP", "src\CS340.TSP\CS340.TSP.csproj", "{1ED43E67-3A64-47DF-9730-A9203443F3AB}"
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "CS340.TSP", "src\CS340.TSP\CS340.TSP.csproj", "{1ED43E67-3A64-47DF-9730-A9203443F3AB}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CS340.Interfaces", "src\CS340.Interfaces\CS340.Interfaces.csproj", "{2BF6C193-197B-4C49-AE0C-7C8682F1F0CB}"
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "CS340.Interfaces", "src\CS340.Interfaces\CS340.Interfaces.csproj", "{2BF6C193-197B-4C49-AE0C-7C8682F1F0CB}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CS340.Extensions", "src\CS340.Extensions\CS340.Extensions.csproj", "{D94E98AE-9D02-4532-AD8E-DFD118039775}"
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "CS340.Extensions", "src\CS340.Extensions\CS340.Extensions.csproj", "{D94E98AE-9D02-4532-AD8E-DFD118039775}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CS340.PriorityQueue", "src\CS340.PriorityQueue\CS340.PriorityQueue.csproj", "{A8E26365-D1A6-4E9C-9524-D7CFC3E41C76}"
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "CS340.PriorityQueue", "src\CS340.PriorityQueue\CS340.PriorityQueue.csproj", "{A8E26365-D1A6-4E9C-9524-D7CFC3E41C76}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "tests", "tests", "{1C5331E5-D2DC-48A8-8264-3E83B06B4335}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CS340.PriorityQueue.Tests", "tests\CS340.PriorityQueue.Tests\CS340.PriorityQueue.Tests.csproj", "{CDCD0887-1053-49CE-A01E-D53E9110DD00}"
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "CS340.PriorityQueue.Tests", "tests\CS340.PriorityQueue.Tests\CS340.PriorityQueue.Tests.csproj", "{CDCD0887-1053-49CE-A01E-D53E9110DD00}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CS340.Plotter", "src\CS340.Plotter\CS340.Plotter.csproj", "{8042E9EE-4690-41AD-B048-6EFCB78C4549}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -28,9 +30,6 @@ Global
Release|x64 = Release|x64
Release|x86 = Release|x86
EndGlobalSection
- GlobalSection(SolutionProperties) = preSolution
- HideSolutionNode = FALSE
- EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{D2383783-7EAB-4E7F-B9A6-33702BA8E919}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{D2383783-7EAB-4E7F-B9A6-33702BA8E919}.Debug|Any CPU.Build.0 = Debug|Any CPU
@@ -104,6 +103,21 @@ Global
{CDCD0887-1053-49CE-A01E-D53E9110DD00}.Release|x64.Build.0 = Release|Any CPU
{CDCD0887-1053-49CE-A01E-D53E9110DD00}.Release|x86.ActiveCfg = Release|Any CPU
{CDCD0887-1053-49CE-A01E-D53E9110DD00}.Release|x86.Build.0 = Release|Any CPU
+ {8042E9EE-4690-41AD-B048-6EFCB78C4549}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {8042E9EE-4690-41AD-B048-6EFCB78C4549}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {8042E9EE-4690-41AD-B048-6EFCB78C4549}.Debug|x64.ActiveCfg = Debug|Any CPU
+ {8042E9EE-4690-41AD-B048-6EFCB78C4549}.Debug|x64.Build.0 = Debug|Any CPU
+ {8042E9EE-4690-41AD-B048-6EFCB78C4549}.Debug|x86.ActiveCfg = Debug|Any CPU
+ {8042E9EE-4690-41AD-B048-6EFCB78C4549}.Debug|x86.Build.0 = Debug|Any CPU
+ {8042E9EE-4690-41AD-B048-6EFCB78C4549}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {8042E9EE-4690-41AD-B048-6EFCB78C4549}.Release|Any CPU.Build.0 = Release|Any CPU
+ {8042E9EE-4690-41AD-B048-6EFCB78C4549}.Release|x64.ActiveCfg = Release|Any CPU
+ {8042E9EE-4690-41AD-B048-6EFCB78C4549}.Release|x64.Build.0 = Release|Any CPU
+ {8042E9EE-4690-41AD-B048-6EFCB78C4549}.Release|x86.ActiveCfg = Release|Any CPU
+ {8042E9EE-4690-41AD-B048-6EFCB78C4549}.Release|x86.Build.0 = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(NestedProjects) = preSolution
{D2383783-7EAB-4E7F-B9A6-33702BA8E919} = {D035EDB3-98C7-4A59-8C2F-5BD5BB9E83DA}
@@ -112,5 +126,9 @@ Global
{D94E98AE-9D02-4532-AD8E-DFD118039775} = {D035EDB3-98C7-4A59-8C2F-5BD5BB9E83DA}
{A8E26365-D1A6-4E9C-9524-D7CFC3E41C76} = {D035EDB3-98C7-4A59-8C2F-5BD5BB9E83DA}
{CDCD0887-1053-49CE-A01E-D53E9110DD00} = {1C5331E5-D2DC-48A8-8264-3E83B06B4335}
+ {8042E9EE-4690-41AD-B048-6EFCB78C4549} = {D035EDB3-98C7-4A59-8C2F-5BD5BB9E83DA}
+ EndGlobalSection
+ GlobalSection(ExtensibilityGlobals) = postSolution
+ SolutionGuid = {52CA3B62-AC61-4638-BC13-E852D72C0C5B}
EndGlobalSection
EndGlobal
diff --git a/src/CS340.Plotter/CS340.Plotter.csproj b/src/CS340.Plotter/CS340.Plotter.csproj
new file mode 100644
index 0000000..de15111
--- /dev/null
+++ b/src/CS340.Plotter/CS340.Plotter.csproj
@@ -0,0 +1,14 @@
+<Project Sdk="Microsoft.NET.Sdk">
+
+ <PropertyGroup>
+ <OutputType>WinExe</OutputType>
+ <TargetFramework>net5.0-windows</TargetFramework>
+ <UseWindowsForms>true</UseWindowsForms>
+ <RootNamespace>Plotter</RootNamespace>
+ </PropertyGroup>
+
+ <ItemGroup>
+ <PackageReference Include="System.Windows.Forms.DataVisualization" Version="1.0.0-prerelease.20110.1" />
+ </ItemGroup>
+
+</Project> \ No newline at end of file
diff --git a/src/CS340.Plotter/Plot.Designer.cs b/src/CS340.Plotter/Plot.Designer.cs
new file mode 100644
index 0000000..c1a6b5f
--- /dev/null
+++ b/src/CS340.Plotter/Plot.Designer.cs
@@ -0,0 +1,48 @@
+
+namespace Plotter
+{
+ partial class Plot
+ {
+ /// <summary>
+ /// Required designer variable.
+ /// </summary>
+ private System.ComponentModel.IContainer components = null;
+
+ /// <summary>
+ /// Clean up any resources being used.
+ /// </summary>
+ /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
+ protected override void Dispose(bool disposing)
+ {
+ if (disposing && (components != null))
+ {
+ components.Dispose();
+ }
+ base.Dispose(disposing);
+ }
+
+ #region Windows Form Designer generated code
+
+ /// <summary>
+ /// Required method for Designer support - do not modify
+ /// the contents of this method with the code editor.
+ /// </summary>
+ private void InitializeComponent()
+ {
+ this.SuspendLayout();
+ //
+ // Plot
+ //
+ this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F);
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.ClientSize = new System.Drawing.Size(800, 450);
+ this.Name = "Plot";
+ this.Text = "Form1";
+ this.ResumeLayout(false);
+
+ }
+
+ #endregion
+ }
+}
+
diff --git a/src/CS340.Plotter/Plot.cs b/src/CS340.Plotter/Plot.cs
new file mode 100644
index 0000000..7b274d8
--- /dev/null
+++ b/src/CS340.Plotter/Plot.cs
@@ -0,0 +1,21 @@
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Data;
+using System.Drawing;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Windows.Forms;
+
+namespace Plotter
+{
+ public partial class Plot : Form
+ {
+ public Plot()
+ {
+ InitializeComponent();
+ }
+
+ }
+}
diff --git a/src/CS340.Plotter/Plot.resx b/src/CS340.Plotter/Plot.resx
new file mode 100644
index 0000000..f298a7b
--- /dev/null
+++ b/src/CS340.Plotter/Plot.resx
@@ -0,0 +1,60 @@
+<root>
+ <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
+ <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
+ <xsd:element name="root" msdata:IsDataSet="true">
+ <xsd:complexType>
+ <xsd:choice maxOccurs="unbounded">
+ <xsd:element name="metadata">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="value" type="xsd:string" minOccurs="0" />
+ </xsd:sequence>
+ <xsd:attribute name="name" use="required" type="xsd:string" />
+ <xsd:attribute name="type" type="xsd:string" />
+ <xsd:attribute name="mimetype" type="xsd:string" />
+ <xsd:attribute ref="xml:space" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="assembly">
+ <xsd:complexType>
+ <xsd:attribute name="alias" type="xsd:string" />
+ <xsd:attribute name="name" type="xsd:string" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="data">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+ <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
+ </xsd:sequence>
+ <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
+ <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
+ <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
+ <xsd:attribute ref="xml:space" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="resheader">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
+ </xsd:sequence>
+ <xsd:attribute name="name" type="xsd:string" use="required" />
+ </xsd:complexType>
+ </xsd:element>
+ </xsd:choice>
+ </xsd:complexType>
+ </xsd:element>
+ </xsd:schema>
+ <resheader name="resmimetype">
+ <value>text/microsoft-resx</value>
+ </resheader>
+ <resheader name="version">
+ <value>2.0</value>
+ </resheader>
+ <resheader name="reader">
+ <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+ </resheader>
+ <resheader name="writer">
+ <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+ </resheader>
+</root> \ No newline at end of file
diff --git a/src/CS340.Plotter/Program.cs b/src/CS340.Plotter/Program.cs
new file mode 100644
index 0000000..0205767
--- /dev/null
+++ b/src/CS340.Plotter/Program.cs
@@ -0,0 +1,23 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Threading.Tasks;
+using System.Windows.Forms;
+
+namespace Plotter
+{
+ static class Program
+ {
+ /// <summary>
+ /// The main entry point for the application.
+ /// </summary>
+ [STAThread]
+ static void Main()
+ {
+ Application.SetHighDpiMode(HighDpiMode.SystemAware);
+ Application.EnableVisualStyles();
+ Application.SetCompatibleTextRenderingDefault(false);
+ Application.Run(new Plot());
+ }
+ }
+}