Ver código fonte

Click mode

Naturally initial commit
0nt0n 5 anos atrás
pai
commit
b9b3b7a3dc
56 arquivos alterados com 2342 adições e 0 exclusões
  1. BIN
      .vs/Drawer/v16/.suo
  2. BIN
      .vs/GraphDrawer/v16/.suo
  3. 0 0
      .vs/GraphDrawer/v16/Server/sqlite3/db.lock
  4. BIN
      .vs/GraphDrawer/v16/Server/sqlite3/storage.ide
  5. 7 0
      .vs/VSWorkspaceState.json
  6. BIN
      .vs/slnx.sqlite
  7. 25 0
      GraphDrawer.sln
  8. 6 0
      GraphDrawer/App.config
  9. 9 0
      GraphDrawer/App.xaml
  10. 17 0
      GraphDrawer/App.xaml.cs
  11. 23 0
      GraphDrawer/ChoiseRegime.xaml
  12. 41 0
      GraphDrawer/ChoiseRegime.xaml.cs
  13. 20 0
      GraphDrawer/Edge.cs
  14. 23 0
      GraphDrawer/GraphByClick.xaml
  15. 98 0
      GraphDrawer/GraphByClick.xaml.cs
  16. 114 0
      GraphDrawer/GraphDrawer.csproj
  17. 28 0
      GraphDrawer/MainWindow.xaml
  18. 121 0
      GraphDrawer/MainWindow.xaml.cs
  19. 55 0
      GraphDrawer/Properties/AssemblyInfo.cs
  20. 71 0
      GraphDrawer/Properties/Resources.Designer.cs
  21. 117 0
      GraphDrawer/Properties/Resources.resx
  22. 30 0
      GraphDrawer/Properties/Settings.Designer.cs
  23. 7 0
      GraphDrawer/Properties/Settings.settings
  24. 27 0
      GraphDrawer/Vertex.cs
  25. BIN
      GraphDrawer/bin/Debug/GraphDrawer.exe
  26. 6 0
      GraphDrawer/bin/Debug/GraphDrawer.exe.config
  27. BIN
      GraphDrawer/bin/Debug/GraphDrawer.pdb
  28. 70 0
      GraphDrawer/obj/Debug/App.g.cs
  29. 70 0
      GraphDrawer/obj/Debug/App.g.i.cs
  30. BIN
      GraphDrawer/obj/Debug/ChoiseRegime.baml
  31. 94 0
      GraphDrawer/obj/Debug/ChoiseRegime.g.cs
  32. 94 0
      GraphDrawer/obj/Debug/ChoiseRegime.g.i.cs
  33. BIN
      GraphDrawer/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache
  34. BIN
      GraphDrawer/obj/Debug/GraphByClick.baml
  35. 181 0
      GraphDrawer/obj/Debug/GraphByClick.g.cs
  36. 181 0
      GraphDrawer/obj/Debug/GraphByClick.g.i.cs
  37. BIN
      GraphDrawer/obj/Debug/GraphDrawer.Properties.Resources.resources
  38. 32 0
      GraphDrawer/obj/Debug/GraphDrawer.csproj.FileListAbsolute.txt
  39. BIN
      GraphDrawer/obj/Debug/GraphDrawer.csproj.GenerateResource.cache
  40. BIN
      GraphDrawer/obj/Debug/GraphDrawer.csprojAssemblyReference.cache
  41. BIN
      GraphDrawer/obj/Debug/GraphDrawer.exe
  42. BIN
      GraphDrawer/obj/Debug/GraphDrawer.g.resources
  43. BIN
      GraphDrawer/obj/Debug/GraphDrawer.pdb
  44. 20 0
      GraphDrawer/obj/Debug/GraphDrawer_MarkupCompile.cache
  45. 20 0
      GraphDrawer/obj/Debug/GraphDrawer_MarkupCompile.i.cache
  46. 6 0
      GraphDrawer/obj/Debug/GraphDrawer_MarkupCompile.i.lref
  47. 6 0
      GraphDrawer/obj/Debug/GraphDrawer_MarkupCompile.lref
  48. BIN
      GraphDrawer/obj/Debug/MainWindow.baml
  49. 145 0
      GraphDrawer/obj/Debug/MainWindow.g.cs
  50. 145 0
      GraphDrawer/obj/Debug/MainWindow.g.i.cs
  51. 70 0
      GraphDrawer/obj/Release/App.g.cs
  52. 86 0
      GraphDrawer/obj/Release/ChoiseRegime.g.cs
  53. 106 0
      GraphDrawer/obj/Release/GraphByClick.g.cs
  54. 20 0
      GraphDrawer/obj/Release/GraphDrawer_MarkupCompile.cache
  55. 6 0
      GraphDrawer/obj/Release/GraphDrawer_MarkupCompile.lref
  56. 145 0
      GraphDrawer/obj/Release/MainWindow.g.cs

BIN
.vs/Drawer/v16/.suo


BIN
.vs/GraphDrawer/v16/.suo


+ 0 - 0
.vs/GraphDrawer/v16/Server/sqlite3/db.lock


BIN
.vs/GraphDrawer/v16/Server/sqlite3/storage.ide


+ 7 - 0
.vs/VSWorkspaceState.json

@@ -0,0 +1,7 @@
+{
+  "ExpandedNodes": [
+    ""
+  ],
+  "SelectedNode": "\\GraphDrawer.sln",
+  "PreviewInSolutionExplorer": false
+}

BIN
.vs/slnx.sqlite


+ 25 - 0
GraphDrawer.sln

@@ -0,0 +1,25 @@
+
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Visual Studio Version 16
+VisualStudioVersion = 16.0.29403.142
+MinimumVisualStudioVersion = 10.0.40219.1
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GraphDrawer", "GraphDrawer\GraphDrawer.csproj", "{13F29592-273A-445D-8376-33156A3104A7}"
+EndProject
+Global
+	GlobalSection(SolutionConfigurationPlatforms) = preSolution
+		Debug|Any CPU = Debug|Any CPU
+		Release|Any CPU = Release|Any CPU
+	EndGlobalSection
+	GlobalSection(ProjectConfigurationPlatforms) = postSolution
+		{13F29592-273A-445D-8376-33156A3104A7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+		{13F29592-273A-445D-8376-33156A3104A7}.Debug|Any CPU.Build.0 = Debug|Any CPU
+		{13F29592-273A-445D-8376-33156A3104A7}.Release|Any CPU.ActiveCfg = Release|Any CPU
+		{13F29592-273A-445D-8376-33156A3104A7}.Release|Any CPU.Build.0 = Release|Any CPU
+	EndGlobalSection
+	GlobalSection(SolutionProperties) = preSolution
+		HideSolutionNode = FALSE
+	EndGlobalSection
+	GlobalSection(ExtensibilityGlobals) = postSolution
+		SolutionGuid = {9F6D60BD-C6DF-4909-B68F-2B6D76B319D5}
+	EndGlobalSection
+EndGlobal

+ 6 - 0
GraphDrawer/App.config

@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<configuration>
+    <startup> 
+        <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
+    </startup>
+</configuration>

+ 9 - 0
GraphDrawer/App.xaml

@@ -0,0 +1,9 @@
+<Application x:Class="GraphDrawer.App"
+             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
+             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
+             xmlns:local="clr-namespace:GraphDrawer"
+             StartupUri="ChoiseRegime.xaml">
+    <Application.Resources>
+         
+    </Application.Resources>
+</Application>

+ 17 - 0
GraphDrawer/App.xaml.cs

@@ -0,0 +1,17 @@
+using System;
+using System.Collections.Generic;
+using System.Configuration;
+using System.Data;
+using System.Linq;
+using System.Threading.Tasks;
+using System.Windows;
+
+namespace GraphDrawer
+{
+    /// <summary>
+    /// Interaction logic for App.xaml
+    /// </summary>
+    public partial class App : Application
+    {
+    }
+}

+ 23 - 0
GraphDrawer/ChoiseRegime.xaml

@@ -0,0 +1,23 @@
+<Window x:Class="GraphDrawer.ChoiseRegime"
+        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
+        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
+        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
+        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
+        xmlns:local="clr-namespace:GraphDrawer"
+        mc:Ignorable="d"
+        Title="Graph Drawer" Height="250" ResizeMode="NoResize" Width="300">
+    <Window.Resources>
+        <Style TargetType="Button">
+            <Setter Property="Background" Value="White"/>
+            <Setter Property="FontSize" Value="32"/>
+        </Style>
+    </Window.Resources>
+    <Grid>
+        <Grid.RowDefinitions>
+            <RowDefinition/>
+            <RowDefinition/>
+        </Grid.RowDefinitions>
+        <Button Content="Ввести количество" Click="Button_Click"/>
+        <Button Content="Ввести кликами" Grid.Row="1" Click="Button_Click_1"/>
+    </Grid>
+</Window>

+ 41 - 0
GraphDrawer/ChoiseRegime.xaml.cs

@@ -0,0 +1,41 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+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 GraphDrawer
+{
+    /// <summary>
+    /// Interaction logic for ChoiseRegime.xaml
+    /// </summary>
+    public partial class ChoiseRegime : Window
+    {
+        public ChoiseRegime()
+        {
+            InitializeComponent();
+        }
+
+        private void Button_Click(object sender, RoutedEventArgs e)
+        {
+            MainWindow main = new MainWindow();
+            main.Show();
+            Close();
+        }
+
+        private void Button_Click_1(object sender, RoutedEventArgs e)
+        {
+            GraphByClick click = new GraphByClick();
+            click.Show();
+            Close();
+        }
+    }
+}

+ 20 - 0
GraphDrawer/Edge.cs

@@ -0,0 +1,20 @@
+using System.Windows.Controls;
+using System.Windows.Media;
+using System.Windows.Shapes;
+
+namespace GraphDrawer
+{
+    public class Edge
+    {
+        public Line line { get; set; }
+        public Vertex startVertex { get; set; }
+        public Vertex finishVertex { get; set; }
+        
+        public Edge(Line line, Vertex v1, Vertex v2)
+        {
+            this.line = line;
+            startVertex = v1;
+            finishVertex = v2;
+        }
+    }
+}

+ 23 - 0
GraphDrawer/GraphByClick.xaml

@@ -0,0 +1,23 @@
+<Window x:Class="GraphDrawer.GraphByClick"
+        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
+        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
+        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
+        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
+        xmlns:local="clr-namespace:GraphDrawer"
+        mc:Ignorable="d"
+        Title="GraphByClick" Height="450" Width="800">
+    <Grid MouseUp="Grid_MouseUp" Background="LightBlue">
+        <Canvas Background="White" x:Name="canvas" MouseUp="canvas_MouseUp" Margin="0,39,0,46"/>
+        <Button x:Name="backBtn" HorizontalAlignment="Right" VerticalAlignment="Bottom" Content="Режим" Padding="20,10" Background="Blue" Foreground="White" BorderThickness="0" Margin="5" Click="backBtn_Click"/>
+        <Grid x:Name="choiceGrid" Margin="10,10,607,380">
+            <Grid.ColumnDefinitions>
+                <ColumnDefinition/>
+                <ColumnDefinition/>
+            </Grid.ColumnDefinitions>
+            <RadioButton x:Name="vertexRb" Content="Точка" FontSize="20"/>
+            <RadioButton x:Name="edgeRb" Content="Связь" FontSize="20" Grid.Column="1"/>
+        </Grid>
+        <Label HorizontalAlignment="Center" x:Name="test"/>
+        <Button x:Name="clearBtn" HorizontalAlignment="Right" VerticalAlignment="Bottom" Content="Очистить" Padding="20,10" Background="Blue" Foreground="White" BorderThickness="0" Margin="0,0,695,5" Click="clearBtn_Click"/>
+    </Grid>
+</Window>

+ 98 - 0
GraphDrawer/GraphByClick.xaml.cs

@@ -0,0 +1,98 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+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 GraphDrawer
+{
+    /// <summary>
+    /// Interaction logic for GraphByClick.xaml
+    /// </summary>
+    public partial class GraphByClick : Window
+    {
+        public GraphByClick()
+        {
+            InitializeComponent();
+        }
+
+        private void backBtn_Click(object sender, RoutedEventArgs e)
+        {
+            ChoiseRegime regime = new ChoiseRegime();
+            regime.Show();
+            Close();
+        }
+
+        private void Grid_MouseUp(object sender, MouseButtonEventArgs e)
+        {
+        }
+
+        private void canvas_MouseUp(object sender, MouseButtonEventArgs e)
+        {
+            var point = e.GetPosition(canvas);
+            int x = Convert.ToInt32(point.X);
+            int y = Convert.ToInt32(point.Y);
+            if (vertexRb.IsChecked == true)
+            {
+                Ellipse ellipse = new Ellipse();
+                Vertex vertex = new Vertex(x, y);
+                DrawVertex(ellipse, canvas, vertex);
+                test.Content = vertex.X;
+            }
+        }
+
+        public void DrawEdge(Canvas canvas, Line line, Edge edge)
+        {
+            line = new Line();
+            line.Stroke = GetBrush();
+            line.StrokeThickness = 2;
+            line.X1 = edge.startVertex.X + 5;
+            line.Y1 = edge.startVertex.Y + 5;
+            line.X2 = edge.finishVertex.X + 5;
+            line.Y2 = edge.finishVertex.Y + 5;
+            canvas.Children.Add(line);
+        }
+
+        public void DrawVertex(Ellipse ellipse, Canvas canvas, Vertex vertex)
+        {
+            SolidColorBrush brush = new SolidColorBrush(Color.FromRgb(0, 0, 0));
+            ellipse = new Ellipse();
+            ellipse.Height = 10;
+            ellipse.Width = 10;
+            ellipse.StrokeThickness = 2;
+            ellipse.Stroke = brush;
+            ellipse.Fill = brush;
+            Canvas.SetLeft(ellipse, vertex.X);
+            Canvas.SetTop(ellipse, vertex.Y);
+            canvas.Children.Add(ellipse);
+        }
+        Random rand = new Random((DateTime.Now.Millisecond * DateTime.Now.Second) % DateTime.Now.Hour);
+        public SolidColorBrush GetBrush()
+        {
+            SolidColorBrush[] brush = new SolidColorBrush[10];
+            brush[0] = new SolidColorBrush(Color.FromRgb(235, 64, 52));
+            brush[1] = new SolidColorBrush(Color.FromRgb(235, 235, 52));
+            brush[2] = new SolidColorBrush(Color.FromRgb(64, 235, 52));
+            brush[3] = new SolidColorBrush(Color.FromRgb(52, 235, 229));
+            brush[4] = new SolidColorBrush(Color.FromRgb(0, 13, 255));
+            brush[5] = new SolidColorBrush(Color.FromRgb(140, 0, 255));
+            brush[6] = new SolidColorBrush(Color.FromRgb(255, 0, 230));
+            brush[7] = new SolidColorBrush(Color.FromRgb(255, 162, 0));
+            brush[8] = new SolidColorBrush(Color.FromRgb(0, 0, 0));
+            return brush[rand.Next(0, 8)];
+        }
+
+        private void clearBtn_Click(object sender, RoutedEventArgs e)
+        {
+            canvas.Children.Clear();
+        }
+    }
+}

+ 114 - 0
GraphDrawer/GraphDrawer.csproj

@@ -0,0 +1,114 @@
+<?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>{13F29592-273A-445D-8376-33156A3104A7}</ProjectGuid>
+    <OutputType>WinExe</OutputType>
+    <RootNamespace>GraphDrawer</RootNamespace>
+    <AssemblyName>GraphDrawer</AssemblyName>
+    <TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
+    <FileAlignment>512</FileAlignment>
+    <ProjectTypeGuids>{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
+    <WarningLevel>4</WarningLevel>
+    <AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
+    <Deterministic>true</Deterministic>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+    <PlatformTarget>AnyCPU</PlatformTarget>
+    <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' ">
+    <PlatformTarget>AnyCPU</PlatformTarget>
+    <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.Data" />
+    <Reference Include="System.Xml" />
+    <Reference Include="Microsoft.CSharp" />
+    <Reference Include="System.Core" />
+    <Reference Include="System.Xml.Linq" />
+    <Reference Include="System.Data.DataSetExtensions" />
+    <Reference Include="System.Net.Http" />
+    <Reference Include="System.Xaml">
+      <RequiredTargetFramework>4.0</RequiredTargetFramework>
+    </Reference>
+    <Reference Include="WindowsBase" />
+    <Reference Include="PresentationCore" />
+    <Reference Include="PresentationFramework" />
+  </ItemGroup>
+  <ItemGroup>
+    <ApplicationDefinition Include="App.xaml">
+      <Generator>MSBuild:Compile</Generator>
+      <SubType>Designer</SubType>
+    </ApplicationDefinition>
+    <Compile Include="ChoiseRegime.xaml.cs">
+      <DependentUpon>ChoiseRegime.xaml</DependentUpon>
+    </Compile>
+    <Compile Include="Edge.cs" />
+    <Compile Include="GraphByClick.xaml.cs">
+      <DependentUpon>GraphByClick.xaml</DependentUpon>
+    </Compile>
+    <Compile Include="Vertex.cs" />
+    <Page Include="ChoiseRegime.xaml">
+      <SubType>Designer</SubType>
+      <Generator>MSBuild:Compile</Generator>
+    </Page>
+    <Page Include="GraphByClick.xaml">
+      <SubType>Designer</SubType>
+      <Generator>MSBuild:Compile</Generator>
+    </Page>
+    <Page Include="MainWindow.xaml">
+      <Generator>MSBuild:Compile</Generator>
+      <SubType>Designer</SubType>
+    </Page>
+    <Compile Include="App.xaml.cs">
+      <DependentUpon>App.xaml</DependentUpon>
+      <SubType>Code</SubType>
+    </Compile>
+    <Compile Include="MainWindow.xaml.cs">
+      <DependentUpon>MainWindow.xaml</DependentUpon>
+      <SubType>Code</SubType>
+    </Compile>
+  </ItemGroup>
+  <ItemGroup>
+    <Compile Include="Properties\AssemblyInfo.cs">
+      <SubType>Code</SubType>
+    </Compile>
+    <Compile Include="Properties\Resources.Designer.cs">
+      <AutoGen>True</AutoGen>
+      <DesignTime>True</DesignTime>
+      <DependentUpon>Resources.resx</DependentUpon>
+    </Compile>
+    <Compile Include="Properties\Settings.Designer.cs">
+      <AutoGen>True</AutoGen>
+      <DependentUpon>Settings.settings</DependentUpon>
+      <DesignTimeSharedInput>True</DesignTimeSharedInput>
+    </Compile>
+    <EmbeddedResource Include="Properties\Resources.resx">
+      <Generator>ResXFileCodeGenerator</Generator>
+      <LastGenOutput>Resources.Designer.cs</LastGenOutput>
+    </EmbeddedResource>
+    <None Include="Properties\Settings.settings">
+      <Generator>SettingsSingleFileGenerator</Generator>
+      <LastGenOutput>Settings.Designer.cs</LastGenOutput>
+    </None>
+  </ItemGroup>
+  <ItemGroup>
+    <None Include="App.config" />
+  </ItemGroup>
+  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
+</Project>

+ 28 - 0
GraphDrawer/MainWindow.xaml

@@ -0,0 +1,28 @@
+<Window x:Class="GraphDrawer.MainWindow"
+        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
+        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
+        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
+        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
+        xmlns:local="clr-namespace:GraphDrawer"
+        mc:Ignorable="d"
+        Title="MainWindow" Height="450" Width="800">
+    <Grid>
+        <Grid.RowDefinitions>
+            <RowDefinition/>
+            <RowDefinition Height="0.1*"/>
+            <RowDefinition Height="0.1*"/>
+        </Grid.RowDefinitions>
+        <Grid.ColumnDefinitions>
+            <ColumnDefinition/>
+            <ColumnDefinition/>
+        </Grid.ColumnDefinitions>
+        <Canvas x:Name="canvas" Grid.ColumnSpan="2"/>
+        <TextBlock Text="Количество вершин:" Grid.Row="1" HorizontalAlignment="Right" Margin="0,0,5,0" VerticalAlignment="Center" FontSize="20"/>
+        <TextBlock Text="Количество ребер у каждой вершины:" Grid.Row="2" HorizontalAlignment="Right" Margin="0,0,5,0" VerticalAlignment="Center" FontSize="20"/>
+
+        <TextBox TabIndex="1" x:Name="vertexBox" Grid.Row="1" Grid.Column="1" Height="30" Width="100" HorizontalAlignment="Left"/>
+        <TextBox TabIndex="2" x:Name="edgeBox" Grid.Row="2" Grid.Column="1" Height="30" Width="100" HorizontalAlignment="Left"/>
+        <Button TabIndex="3" x:Name="generateBtn" Grid.Row="2" Grid.Column="1" Width="100" Height="25" Content="Генерировать" Background="Blue" Foreground="White" BorderThickness="0" Click="generateBtn_Click"/>
+        <Button TabIndex="3" x:Name="choiceBtn" Grid.Row="2" Grid.Column="1" Width="100" Height="25" Content="Режим" Background="Blue" Foreground="White" BorderThickness="0" Margin="253,5,43,5" Click="choiceBtn_Click"/>
+    </Grid>
+</Window>

+ 121 - 0
GraphDrawer/MainWindow.xaml.cs

@@ -0,0 +1,121 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+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.Navigation;
+using System.Windows.Shapes;
+
+namespace GraphDrawer
+{
+    /// <summary>
+    /// Interaction logic for MainWindow.xaml
+    /// </summary>
+    public partial class MainWindow : Window
+    {
+        SolidColorBrush brush = new SolidColorBrush(Color.FromRgb(0, 0, 0));
+        Random rand = new Random();
+        public MainWindow()
+        {
+            InitializeComponent();
+        }
+
+        private void generateBtn_Click(object sender, RoutedEventArgs e)
+        {
+            canvas.Children.Clear();
+            Random rand = new Random();
+            if (!int.TryParse(vertexBox.Text, out int vertexCount) || !int.TryParse(edgeBox.Text, out int edgeCount))
+            {
+                MessageBox.Show("Values must be integer", "Error", MessageBoxButton.OK, MessageBoxImage.Exclamation);
+            }
+            else
+            {
+                int canvasWidth = Convert.ToInt32(canvas.ActualWidth)-50;
+                int canvasHeight = Convert.ToInt32(canvas.ActualHeight)-50;
+                Ellipse[] ellipse = new Ellipse[vertexCount];
+                Line[] lines = new Line[edgeCount * vertexCount];
+                Vertex[] vertices = new Vertex[vertexCount];
+                Edge[] edges = new Edge[vertexCount * edgeCount];
+                
+                for(int i = 0; i< vertexCount; i++)
+                {
+                    int x = rand.Next(50, canvasWidth);
+                    int y = rand.Next(50, canvasHeight);
+                    vertices[i] = new Vertex(x, y, 0);
+                    DrawVertex(ellipse[i], canvas, vertices[i]);
+                }
+
+                for(int i = 0; i < vertexCount; i++)
+                {
+                    if (vertices[i].edgeCount <= edgeCount)
+                    {
+                        vertices[i].edgeCount++;
+                        for (int j = 0; j < vertexCount; j++)
+                        {
+                            vertices[j].edgeCount++;
+                            if (vertices[j].edgeCount <= edgeCount)
+                            {
+                                edges[i] = new Edge(lines[i], vertices[i], vertices[j]);
+                                DrawEdge(canvas, lines[i], edges[i]);
+                            }
+                        }
+                    }
+                }
+            }
+        }
+
+        public void DrawEdge(Canvas canvas, Line line, Edge edge)
+        {
+            line = new Line();
+            line.Stroke = GetBrush();
+            line.StrokeThickness = 2;
+            line.X1 = edge.startVertex.X+5;
+            line.Y1 = edge.startVertex.Y+5;
+            line.X2 = edge.finishVertex.X+5;
+            line.Y2 = edge.finishVertex.Y+5;
+            canvas.Children.Add(line);
+        }
+
+        public void DrawVertex(Ellipse ellipse, Canvas canvas, Vertex vertex)
+        {
+            ellipse = new Ellipse();
+            ellipse.Height = 10;
+            ellipse.Width = 10;
+            ellipse.StrokeThickness = 2;
+            ellipse.Stroke = brush;
+            ellipse.Fill = brush;
+            Canvas.SetLeft(ellipse, vertex.X);
+            Canvas.SetTop(ellipse, vertex.Y);
+            canvas.Children.Add(ellipse);
+        }
+
+        public SolidColorBrush GetBrush()
+        {
+            SolidColorBrush[] brush = new SolidColorBrush[10];
+            brush[0] = new SolidColorBrush(Color.FromRgb(235, 64, 52));
+            brush[1] = new SolidColorBrush(Color.FromRgb(235, 235, 52));
+            brush[2] = new SolidColorBrush(Color.FromRgb(64, 235, 52));
+            brush[3] = new SolidColorBrush(Color.FromRgb(52, 235, 229));
+            brush[4] = new SolidColorBrush(Color.FromRgb(0, 13, 255));
+            brush[5] = new SolidColorBrush(Color.FromRgb(140, 0, 255));
+            brush[6] = new SolidColorBrush(Color.FromRgb(255, 0, 230));
+            brush[7] = new SolidColorBrush(Color.FromRgb(255, 162, 0));
+            brush[8] = new SolidColorBrush(Color.FromRgb(0, 0, 0));
+            return brush[rand.Next(0, 8)];
+        }
+
+        private void choiceBtn_Click(object sender, RoutedEventArgs e)
+        {
+            ChoiseRegime regime = new ChoiseRegime();
+            regime.Show();
+            Close();
+        }
+    }
+}

+ 55 - 0
GraphDrawer/Properties/AssemblyInfo.cs

@@ -0,0 +1,55 @@
+using System.Reflection;
+using System.Resources;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+using System.Windows;
+
+// General Information about an assembly is controlled through the following
+// set of attributes. Change these attribute values to modify the information
+// associated with an assembly.
+[assembly: AssemblyTitle("GraphDrawer")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("")]
+[assembly: AssemblyProduct("GraphDrawer")]
+[assembly: AssemblyCopyright("Copyright ©  2019")]
+[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCulture("")]
+
+// Setting ComVisible to false makes the types in this assembly not visible
+// to COM components.  If you need to access a type in this assembly from
+// COM, set the ComVisible attribute to true on that type.
+[assembly: ComVisible(false)]
+
+//In order to begin building localizable applications, set
+//<UICulture>CultureYouAreCodingWith</UICulture> in your .csproj file
+//inside a <PropertyGroup>.  For example, if you are using US english
+//in your source files, set the <UICulture> to en-US.  Then uncomment
+//the NeutralResourceLanguage attribute below.  Update the "en-US" in
+//the line below to match the UICulture setting in the project file.
+
+//[assembly: NeutralResourcesLanguage("en-US", UltimateResourceFallbackLocation.Satellite)]
+
+
+[assembly: ThemeInfo(
+    ResourceDictionaryLocation.None, //where theme specific resource dictionaries are located
+                                     //(used if a resource is not found in the page,
+                                     // or application resource dictionaries)
+    ResourceDictionaryLocation.SourceAssembly //where the generic resource dictionary is located
+                                              //(used if a resource is not found in the page,
+                                              // app, or any theme specific resource dictionaries)
+)]
+
+
+// Version information for an assembly consists of the following four values:
+//
+//      Major Version
+//      Minor Version
+//      Build Number
+//      Revision
+//
+// You can specify all the values or you can default the Build and Revision Numbers
+// by using the '*' as shown below:
+// [assembly: AssemblyVersion("1.0.*")]
+[assembly: AssemblyVersion("1.0.0.0")]
+[assembly: AssemblyFileVersion("1.0.0.0")]

+ 71 - 0
GraphDrawer/Properties/Resources.Designer.cs

@@ -0,0 +1,71 @@
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     This code was generated by a tool.
+//     Runtime Version:4.0.30319.42000
+//
+//     Changes to this file may cause incorrect behavior and will be lost if
+//     the code is regenerated.
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+namespace GraphDrawer.Properties
+{
+
+
+    /// <summary>
+    ///   A strongly-typed resource class, for looking up localized strings, etc.
+    /// </summary>
+    // This class was auto-generated by the StronglyTypedResourceBuilder
+    // class via a tool like ResGen or Visual Studio.
+    // To add or remove a member, edit your .ResX file then rerun ResGen
+    // with the /str option, or rebuild your VS project.
+    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
+    [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+    [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
+    internal class Resources
+    {
+
+        private static global::System.Resources.ResourceManager resourceMan;
+
+        private static global::System.Globalization.CultureInfo resourceCulture;
+
+        [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
+        internal Resources()
+        {
+        }
+
+        /// <summary>
+        ///   Returns the cached ResourceManager instance used by this class.
+        /// </summary>
+        [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
+        internal static global::System.Resources.ResourceManager ResourceManager
+        {
+            get
+            {
+                if ((resourceMan == null))
+                {
+                    global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("GraphDrawer.Properties.Resources", typeof(Resources).Assembly);
+                    resourceMan = temp;
+                }
+                return resourceMan;
+            }
+        }
+
+        /// <summary>
+        ///   Overrides the current thread's CurrentUICulture property for all
+        ///   resource lookups using this strongly typed resource class.
+        /// </summary>
+        [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
+        internal static global::System.Globalization.CultureInfo Culture
+        {
+            get
+            {
+                return resourceCulture;
+            }
+            set
+            {
+                resourceCulture = value;
+            }
+        }
+    }
+}

+ 117 - 0
GraphDrawer/Properties/Resources.resx

@@ -0,0 +1,117 @@
+<?xml version="1.0" encoding="utf-8"?>
+<root>
+  <!-- 
+    Microsoft ResX Schema 
+    
+    Version 2.0
+    
+    The primary goals of this format is to allow a simple XML format 
+    that is mostly human readable. The generation and parsing of the 
+    various data types are done through the TypeConverter classes 
+    associated with the data types.
+    
+    Example:
+    
+    ... ado.net/XML headers & schema ...
+    <resheader name="resmimetype">text/microsoft-resx</resheader>
+    <resheader name="version">2.0</resheader>
+    <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
+    <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
+    <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
+    <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
+    <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
+        <value>[base64 mime encoded serialized .NET Framework object]</value>
+    </data>
+    <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
+        <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
+        <comment>This is a comment</comment>
+    </data>
+                
+    There are any number of "resheader" rows that contain simple 
+    name/value pairs.
+    
+    Each data row contains a name, and value. The row also contains a 
+    type or mimetype. Type corresponds to a .NET class that support 
+    text/value conversion through the TypeConverter architecture. 
+    Classes that don't support this are serialized and stored with the 
+    mimetype set.
+    
+    The mimetype is used for serialized objects, and tells the 
+    ResXResourceReader how to depersist the object. This is currently not 
+    extensible. For a given mimetype the value must be set accordingly:
+    
+    Note - application/x-microsoft.net.object.binary.base64 is the format 
+    that the ResXResourceWriter will generate, however the reader can 
+    read any of the formats listed below.
+    
+    mimetype: application/x-microsoft.net.object.binary.base64
+    value   : The object must be serialized with 
+            : System.Serialization.Formatters.Binary.BinaryFormatter
+            : and then encoded with base64 encoding.
+    
+    mimetype: application/x-microsoft.net.object.soap.base64
+    value   : The object must be serialized with 
+            : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
+            : and then encoded with base64 encoding.
+
+    mimetype: application/x-microsoft.net.object.bytearray.base64
+    value   : The object must be serialized into a byte array 
+            : using a System.ComponentModel.TypeConverter
+            : and then encoded with base64 encoding.
+    -->
+  <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
+    <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" type="xsd:string" />
+              <xsd:attribute name="type" type="xsd:string" />
+              <xsd:attribute name="mimetype" type="xsd:string" />
+            </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" msdata:Ordinal="1" />
+              <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
+              <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
+            </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=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </resheader>
+  <resheader name="writer">
+    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+  </resheader>
+</root>

+ 30 - 0
GraphDrawer/Properties/Settings.Designer.cs

@@ -0,0 +1,30 @@
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     This code was generated by a tool.
+//     Runtime Version:4.0.30319.42000
+//
+//     Changes to this file may cause incorrect behavior and will be lost if
+//     the code is regenerated.
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+namespace GraphDrawer.Properties
+{
+
+
+    [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
+    [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")]
+    internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
+    {
+
+        private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
+
+        public static Settings Default
+        {
+            get
+            {
+                return defaultInstance;
+            }
+        }
+    }
+}

+ 7 - 0
GraphDrawer/Properties/Settings.settings

@@ -0,0 +1,7 @@
+<?xml version='1.0' encoding='utf-8'?>
+<SettingsFile xmlns="uri:settings" CurrentProfile="(Default)">
+  <Profiles>
+    <Profile Name="(Default)" />
+  </Profiles>
+  <Settings />
+</SettingsFile>

+ 27 - 0
GraphDrawer/Vertex.cs

@@ -0,0 +1,27 @@
+using System;
+using System.Windows.Controls;
+using System.Windows.Media;
+using System.Windows.Shapes;
+
+namespace GraphDrawer
+{
+    public class Vertex
+    {
+        public int X { get; set; }
+        public int Y { get; set; }
+        public int edgeCount { get; set; }
+
+        public Vertex(int x, int y, int edgeCount)
+        {
+            X = x;
+            Y = y;
+            this.edgeCount = edgeCount;
+        }
+
+        public Vertex(int x, int y)
+        {
+            X = x;
+            Y = y;
+        }
+    }
+}

BIN
GraphDrawer/bin/Debug/GraphDrawer.exe


+ 6 - 0
GraphDrawer/bin/Debug/GraphDrawer.exe.config

@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="utf-8" ?>
+<configuration>
+    <startup> 
+        <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
+    </startup>
+</configuration>

BIN
GraphDrawer/bin/Debug/GraphDrawer.pdb


+ 70 - 0
GraphDrawer/obj/Debug/App.g.cs

@@ -0,0 +1,70 @@
+#pragma checksum "..\..\App.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "1ADE9B60C60715476238314653A35623A48A6C6DF28BB92DF9833B3B8B6EC77B"
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     This code was generated by a tool.
+//     Runtime Version:4.0.30319.42000
+//
+//     Changes to this file may cause incorrect behavior and will be lost if
+//     the code is regenerated.
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+using GraphDrawer;
+using System;
+using System.Diagnostics;
+using System.Windows;
+using System.Windows.Automation;
+using System.Windows.Controls;
+using System.Windows.Controls.Primitives;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Markup;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Media.Effects;
+using System.Windows.Media.Imaging;
+using System.Windows.Media.Media3D;
+using System.Windows.Media.TextFormatting;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+using System.Windows.Shell;
+
+
+namespace GraphDrawer {
+    
+    
+    /// <summary>
+    /// App
+    /// </summary>
+    public partial class App : System.Windows.Application {
+        
+        /// <summary>
+        /// InitializeComponent
+        /// </summary>
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+        public void InitializeComponent() {
+            
+            #line 5 "..\..\App.xaml"
+            this.StartupUri = new System.Uri("ChoiseRegime.xaml", System.UriKind.Relative);
+            
+            #line default
+            #line hidden
+        }
+        
+        /// <summary>
+        /// Application Entry Point.
+        /// </summary>
+        [System.STAThreadAttribute()]
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+        public static void Main() {
+            GraphDrawer.App app = new GraphDrawer.App();
+            app.InitializeComponent();
+            app.Run();
+        }
+    }
+}
+

+ 70 - 0
GraphDrawer/obj/Debug/App.g.i.cs

@@ -0,0 +1,70 @@
+#pragma checksum "..\..\App.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "1ADE9B60C60715476238314653A35623A48A6C6DF28BB92DF9833B3B8B6EC77B"
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     This code was generated by a tool.
+//     Runtime Version:4.0.30319.42000
+//
+//     Changes to this file may cause incorrect behavior and will be lost if
+//     the code is regenerated.
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+using GraphDrawer;
+using System;
+using System.Diagnostics;
+using System.Windows;
+using System.Windows.Automation;
+using System.Windows.Controls;
+using System.Windows.Controls.Primitives;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Markup;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Media.Effects;
+using System.Windows.Media.Imaging;
+using System.Windows.Media.Media3D;
+using System.Windows.Media.TextFormatting;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+using System.Windows.Shell;
+
+
+namespace GraphDrawer {
+    
+    
+    /// <summary>
+    /// App
+    /// </summary>
+    public partial class App : System.Windows.Application {
+        
+        /// <summary>
+        /// InitializeComponent
+        /// </summary>
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+        public void InitializeComponent() {
+            
+            #line 5 "..\..\App.xaml"
+            this.StartupUri = new System.Uri("ChoiseRegime.xaml", System.UriKind.Relative);
+            
+            #line default
+            #line hidden
+        }
+        
+        /// <summary>
+        /// Application Entry Point.
+        /// </summary>
+        [System.STAThreadAttribute()]
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+        public static void Main() {
+            GraphDrawer.App app = new GraphDrawer.App();
+            app.InitializeComponent();
+            app.Run();
+        }
+    }
+}
+

BIN
GraphDrawer/obj/Debug/ChoiseRegime.baml


+ 94 - 0
GraphDrawer/obj/Debug/ChoiseRegime.g.cs

@@ -0,0 +1,94 @@
+#pragma checksum "..\..\ChoiseRegime.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "A8ADBB8E4B9B0AD408883526C6DDA9A250B34E1B14EF12ACC6EA854889AA1C50"
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     This code was generated by a tool.
+//     Runtime Version:4.0.30319.42000
+//
+//     Changes to this file may cause incorrect behavior and will be lost if
+//     the code is regenerated.
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+using GraphDrawer;
+using System;
+using System.Diagnostics;
+using System.Windows;
+using System.Windows.Automation;
+using System.Windows.Controls;
+using System.Windows.Controls.Primitives;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Markup;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Media.Effects;
+using System.Windows.Media.Imaging;
+using System.Windows.Media.Media3D;
+using System.Windows.Media.TextFormatting;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+using System.Windows.Shell;
+
+
+namespace GraphDrawer {
+    
+    
+    /// <summary>
+    /// ChoiseRegime
+    /// </summary>
+    public partial class ChoiseRegime : System.Windows.Window, System.Windows.Markup.IComponentConnector {
+        
+        private bool _contentLoaded;
+        
+        /// <summary>
+        /// InitializeComponent
+        /// </summary>
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+        public void InitializeComponent() {
+            if (_contentLoaded) {
+                return;
+            }
+            _contentLoaded = true;
+            System.Uri resourceLocater = new System.Uri("/GraphDrawer;component/choiseregime.xaml", System.UriKind.Relative);
+            
+            #line 1 "..\..\ChoiseRegime.xaml"
+            System.Windows.Application.LoadComponent(this, resourceLocater);
+            
+            #line default
+            #line hidden
+        }
+        
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
+        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
+            switch (connectionId)
+            {
+            case 1:
+            
+            #line 20 "..\..\ChoiseRegime.xaml"
+            ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);
+            
+            #line default
+            #line hidden
+            return;
+            case 2:
+            
+            #line 21 "..\..\ChoiseRegime.xaml"
+            ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_1);
+            
+            #line default
+            #line hidden
+            return;
+            }
+            this._contentLoaded = true;
+        }
+    }
+}
+

+ 94 - 0
GraphDrawer/obj/Debug/ChoiseRegime.g.i.cs

@@ -0,0 +1,94 @@
+#pragma checksum "..\..\ChoiseRegime.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "A8ADBB8E4B9B0AD408883526C6DDA9A250B34E1B14EF12ACC6EA854889AA1C50"
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     This code was generated by a tool.
+//     Runtime Version:4.0.30319.42000
+//
+//     Changes to this file may cause incorrect behavior and will be lost if
+//     the code is regenerated.
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+using GraphDrawer;
+using System;
+using System.Diagnostics;
+using System.Windows;
+using System.Windows.Automation;
+using System.Windows.Controls;
+using System.Windows.Controls.Primitives;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Markup;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Media.Effects;
+using System.Windows.Media.Imaging;
+using System.Windows.Media.Media3D;
+using System.Windows.Media.TextFormatting;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+using System.Windows.Shell;
+
+
+namespace GraphDrawer {
+    
+    
+    /// <summary>
+    /// ChoiseRegime
+    /// </summary>
+    public partial class ChoiseRegime : System.Windows.Window, System.Windows.Markup.IComponentConnector {
+        
+        private bool _contentLoaded;
+        
+        /// <summary>
+        /// InitializeComponent
+        /// </summary>
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+        public void InitializeComponent() {
+            if (_contentLoaded) {
+                return;
+            }
+            _contentLoaded = true;
+            System.Uri resourceLocater = new System.Uri("/GraphDrawer;component/choiseregime.xaml", System.UriKind.Relative);
+            
+            #line 1 "..\..\ChoiseRegime.xaml"
+            System.Windows.Application.LoadComponent(this, resourceLocater);
+            
+            #line default
+            #line hidden
+        }
+        
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
+        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
+            switch (connectionId)
+            {
+            case 1:
+            
+            #line 20 "..\..\ChoiseRegime.xaml"
+            ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);
+            
+            #line default
+            #line hidden
+            return;
+            case 2:
+            
+            #line 21 "..\..\ChoiseRegime.xaml"
+            ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_1);
+            
+            #line default
+            #line hidden
+            return;
+            }
+            this._contentLoaded = true;
+        }
+    }
+}
+

BIN
GraphDrawer/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache


BIN
GraphDrawer/obj/Debug/GraphByClick.baml


+ 181 - 0
GraphDrawer/obj/Debug/GraphByClick.g.cs

@@ -0,0 +1,181 @@
+#pragma checksum "..\..\GraphByClick.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "3E6614424510BE2D44463A1B32BD72B98C3DD81831FE1E6F5DB8B6A2D9184E9F"
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     This code was generated by a tool.
+//     Runtime Version:4.0.30319.42000
+//
+//     Changes to this file may cause incorrect behavior and will be lost if
+//     the code is regenerated.
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+using GraphDrawer;
+using System;
+using System.Diagnostics;
+using System.Windows;
+using System.Windows.Automation;
+using System.Windows.Controls;
+using System.Windows.Controls.Primitives;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Markup;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Media.Effects;
+using System.Windows.Media.Imaging;
+using System.Windows.Media.Media3D;
+using System.Windows.Media.TextFormatting;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+using System.Windows.Shell;
+
+
+namespace GraphDrawer {
+    
+    
+    /// <summary>
+    /// GraphByClick
+    /// </summary>
+    public partial class GraphByClick : System.Windows.Window, System.Windows.Markup.IComponentConnector {
+        
+        
+        #line 10 "..\..\GraphByClick.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.Canvas canvas;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 11 "..\..\GraphByClick.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.Button backBtn;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 12 "..\..\GraphByClick.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.Grid choiceGrid;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 17 "..\..\GraphByClick.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.RadioButton vertexRb;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 18 "..\..\GraphByClick.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.RadioButton edgeRb;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 20 "..\..\GraphByClick.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.Label test;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 21 "..\..\GraphByClick.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.Button clearBtn;
+        
+        #line default
+        #line hidden
+        
+        private bool _contentLoaded;
+        
+        /// <summary>
+        /// InitializeComponent
+        /// </summary>
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+        public void InitializeComponent() {
+            if (_contentLoaded) {
+                return;
+            }
+            _contentLoaded = true;
+            System.Uri resourceLocater = new System.Uri("/GraphDrawer;component/graphbyclick.xaml", System.UriKind.Relative);
+            
+            #line 1 "..\..\GraphByClick.xaml"
+            System.Windows.Application.LoadComponent(this, resourceLocater);
+            
+            #line default
+            #line hidden
+        }
+        
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
+        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
+            switch (connectionId)
+            {
+            case 1:
+            
+            #line 9 "..\..\GraphByClick.xaml"
+            ((System.Windows.Controls.Grid)(target)).MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.Grid_MouseUp);
+            
+            #line default
+            #line hidden
+            return;
+            case 2:
+            this.canvas = ((System.Windows.Controls.Canvas)(target));
+            
+            #line 10 "..\..\GraphByClick.xaml"
+            this.canvas.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.canvas_MouseUp);
+            
+            #line default
+            #line hidden
+            return;
+            case 3:
+            this.backBtn = ((System.Windows.Controls.Button)(target));
+            
+            #line 11 "..\..\GraphByClick.xaml"
+            this.backBtn.Click += new System.Windows.RoutedEventHandler(this.backBtn_Click);
+            
+            #line default
+            #line hidden
+            return;
+            case 4:
+            this.choiceGrid = ((System.Windows.Controls.Grid)(target));
+            return;
+            case 5:
+            this.vertexRb = ((System.Windows.Controls.RadioButton)(target));
+            return;
+            case 6:
+            this.edgeRb = ((System.Windows.Controls.RadioButton)(target));
+            return;
+            case 7:
+            this.test = ((System.Windows.Controls.Label)(target));
+            return;
+            case 8:
+            this.clearBtn = ((System.Windows.Controls.Button)(target));
+            
+            #line 21 "..\..\GraphByClick.xaml"
+            this.clearBtn.Click += new System.Windows.RoutedEventHandler(this.clearBtn_Click);
+            
+            #line default
+            #line hidden
+            return;
+            }
+            this._contentLoaded = true;
+        }
+    }
+}
+

+ 181 - 0
GraphDrawer/obj/Debug/GraphByClick.g.i.cs

@@ -0,0 +1,181 @@
+#pragma checksum "..\..\GraphByClick.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "3E6614424510BE2D44463A1B32BD72B98C3DD81831FE1E6F5DB8B6A2D9184E9F"
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     This code was generated by a tool.
+//     Runtime Version:4.0.30319.42000
+//
+//     Changes to this file may cause incorrect behavior and will be lost if
+//     the code is regenerated.
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+using GraphDrawer;
+using System;
+using System.Diagnostics;
+using System.Windows;
+using System.Windows.Automation;
+using System.Windows.Controls;
+using System.Windows.Controls.Primitives;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Markup;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Media.Effects;
+using System.Windows.Media.Imaging;
+using System.Windows.Media.Media3D;
+using System.Windows.Media.TextFormatting;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+using System.Windows.Shell;
+
+
+namespace GraphDrawer {
+    
+    
+    /// <summary>
+    /// GraphByClick
+    /// </summary>
+    public partial class GraphByClick : System.Windows.Window, System.Windows.Markup.IComponentConnector {
+        
+        
+        #line 10 "..\..\GraphByClick.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.Canvas canvas;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 11 "..\..\GraphByClick.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.Button backBtn;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 12 "..\..\GraphByClick.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.Grid choiceGrid;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 17 "..\..\GraphByClick.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.RadioButton vertexRb;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 18 "..\..\GraphByClick.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.RadioButton edgeRb;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 20 "..\..\GraphByClick.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.Label test;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 21 "..\..\GraphByClick.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.Button clearBtn;
+        
+        #line default
+        #line hidden
+        
+        private bool _contentLoaded;
+        
+        /// <summary>
+        /// InitializeComponent
+        /// </summary>
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+        public void InitializeComponent() {
+            if (_contentLoaded) {
+                return;
+            }
+            _contentLoaded = true;
+            System.Uri resourceLocater = new System.Uri("/GraphDrawer;component/graphbyclick.xaml", System.UriKind.Relative);
+            
+            #line 1 "..\..\GraphByClick.xaml"
+            System.Windows.Application.LoadComponent(this, resourceLocater);
+            
+            #line default
+            #line hidden
+        }
+        
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
+        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
+            switch (connectionId)
+            {
+            case 1:
+            
+            #line 9 "..\..\GraphByClick.xaml"
+            ((System.Windows.Controls.Grid)(target)).MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.Grid_MouseUp);
+            
+            #line default
+            #line hidden
+            return;
+            case 2:
+            this.canvas = ((System.Windows.Controls.Canvas)(target));
+            
+            #line 10 "..\..\GraphByClick.xaml"
+            this.canvas.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.canvas_MouseUp);
+            
+            #line default
+            #line hidden
+            return;
+            case 3:
+            this.backBtn = ((System.Windows.Controls.Button)(target));
+            
+            #line 11 "..\..\GraphByClick.xaml"
+            this.backBtn.Click += new System.Windows.RoutedEventHandler(this.backBtn_Click);
+            
+            #line default
+            #line hidden
+            return;
+            case 4:
+            this.choiceGrid = ((System.Windows.Controls.Grid)(target));
+            return;
+            case 5:
+            this.vertexRb = ((System.Windows.Controls.RadioButton)(target));
+            return;
+            case 6:
+            this.edgeRb = ((System.Windows.Controls.RadioButton)(target));
+            return;
+            case 7:
+            this.test = ((System.Windows.Controls.Label)(target));
+            return;
+            case 8:
+            this.clearBtn = ((System.Windows.Controls.Button)(target));
+            
+            #line 21 "..\..\GraphByClick.xaml"
+            this.clearBtn.Click += new System.Windows.RoutedEventHandler(this.clearBtn_Click);
+            
+            #line default
+            #line hidden
+            return;
+            }
+            this._contentLoaded = true;
+        }
+    }
+}
+

BIN
GraphDrawer/obj/Debug/GraphDrawer.Properties.Resources.resources


+ 32 - 0
GraphDrawer/obj/Debug/GraphDrawer.csproj.FileListAbsolute.txt

@@ -0,0 +1,32 @@
+C:\Users\locadm\source\repos\GraphDrawer\GraphDrawer\bin\Debug\GraphDrawer.exe.config
+C:\Users\locadm\source\repos\GraphDrawer\GraphDrawer\bin\Debug\GraphDrawer.exe
+C:\Users\locadm\source\repos\GraphDrawer\GraphDrawer\bin\Debug\GraphDrawer.pdb
+C:\Users\locadm\source\repos\GraphDrawer\GraphDrawer\obj\Debug\GraphDrawer.csprojAssemblyReference.cache
+C:\Users\locadm\source\repos\GraphDrawer\GraphDrawer\obj\Debug\MainWindow.g.cs
+C:\Users\locadm\source\repos\GraphDrawer\GraphDrawer\obj\Debug\App.g.cs
+C:\Users\locadm\source\repos\GraphDrawer\GraphDrawer\obj\Debug\GraphDrawer_MarkupCompile.cache
+C:\Users\locadm\source\repos\GraphDrawer\GraphDrawer\obj\Debug\GraphDrawer_MarkupCompile.lref
+C:\Users\locadm\source\repos\GraphDrawer\GraphDrawer\obj\Debug\MainWindow.baml
+C:\Users\locadm\source\repos\GraphDrawer\GraphDrawer\obj\Debug\GraphDrawer.g.resources
+C:\Users\locadm\source\repos\GraphDrawer\GraphDrawer\obj\Debug\GraphDrawer.Properties.Resources.resources
+C:\Users\locadm\source\repos\GraphDrawer\GraphDrawer\obj\Debug\GraphDrawer.csproj.GenerateResource.cache
+C:\Users\locadm\source\repos\GraphDrawer\GraphDrawer\obj\Debug\GraphDrawer.exe
+C:\Users\locadm\source\repos\GraphDrawer\GraphDrawer\obj\Debug\GraphDrawer.pdb
+C:\Users\locadm\Desktop\Drawer\GraphDrawer\obj\Debug\GraphDrawer.csprojAssemblyReference.cache
+C:\Users\locadm\Desktop\Drawer\GraphDrawer\obj\Debug\ChoiseRegime.g.cs
+C:\Users\locadm\Desktop\Drawer\GraphDrawer\obj\Debug\GraphByClick.g.cs
+C:\Users\locadm\Desktop\Drawer\GraphDrawer\obj\Debug\MainWindow.g.cs
+C:\Users\locadm\Desktop\Drawer\GraphDrawer\obj\Debug\App.g.cs
+C:\Users\locadm\Desktop\Drawer\GraphDrawer\obj\Debug\GraphDrawer_MarkupCompile.cache
+C:\Users\locadm\Desktop\Drawer\GraphDrawer\obj\Debug\GraphDrawer_MarkupCompile.lref
+C:\Users\locadm\Desktop\Drawer\GraphDrawer\obj\Debug\GraphDrawer.exe
+C:\Users\locadm\Desktop\Drawer\GraphDrawer\obj\Debug\GraphDrawer.pdb
+C:\Users\locadm\Desktop\Drawer\GraphDrawer\bin\Debug\GraphDrawer.exe.config
+C:\Users\locadm\Desktop\Drawer\GraphDrawer\bin\Debug\GraphDrawer.exe
+C:\Users\locadm\Desktop\Drawer\GraphDrawer\bin\Debug\GraphDrawer.pdb
+C:\Users\locadm\Desktop\Drawer\GraphDrawer\obj\Debug\ChoiseRegime.baml
+C:\Users\locadm\Desktop\Drawer\GraphDrawer\obj\Debug\GraphByClick.baml
+C:\Users\locadm\Desktop\Drawer\GraphDrawer\obj\Debug\MainWindow.baml
+C:\Users\locadm\Desktop\Drawer\GraphDrawer\obj\Debug\GraphDrawer.g.resources
+C:\Users\locadm\Desktop\Drawer\GraphDrawer\obj\Debug\GraphDrawer.Properties.Resources.resources
+C:\Users\locadm\Desktop\Drawer\GraphDrawer\obj\Debug\GraphDrawer.csproj.GenerateResource.cache

BIN
GraphDrawer/obj/Debug/GraphDrawer.csproj.GenerateResource.cache


BIN
GraphDrawer/obj/Debug/GraphDrawer.csprojAssemblyReference.cache


BIN
GraphDrawer/obj/Debug/GraphDrawer.exe


BIN
GraphDrawer/obj/Debug/GraphDrawer.g.resources


BIN
GraphDrawer/obj/Debug/GraphDrawer.pdb


+ 20 - 0
GraphDrawer/obj/Debug/GraphDrawer_MarkupCompile.cache

@@ -0,0 +1,20 @@
+GraphDrawer
+
+
+winexe
+C#
+.cs
+C:\Users\locadm\Desktop\Drawer\GraphDrawer\obj\Debug\
+GraphDrawer
+none
+false
+DEBUG;TRACE
+C:\Users\locadm\Desktop\Drawer\GraphDrawer\App.xaml
+3616127476
+
+91140760115
+13-1505183044
+ChoiseRegime.xaml;GraphByClick.xaml;MainWindow.xaml;
+
+False
+

+ 20 - 0
GraphDrawer/obj/Debug/GraphDrawer_MarkupCompile.i.cache

@@ -0,0 +1,20 @@
+GraphDrawer
+
+
+winexe
+C#
+.cs
+C:\Users\locadm\source\repos\GraphDrawer\GraphDrawer\obj\Debug\
+GraphDrawer
+none
+false
+DEBUG;TRACE
+C:\Users\locadm\source\repos\GraphDrawer\GraphDrawer\App.xaml
+3616127476
+
+101540994140
+13-1505183044
+ChoiseRegime.xaml;GraphByClick.xaml;MainWindow.xaml;
+
+True
+

+ 6 - 0
GraphDrawer/obj/Debug/GraphDrawer_MarkupCompile.i.lref

@@ -0,0 +1,6 @@
+
+
+FC:\Users\locadm\source\repos\GraphDrawer\GraphDrawer\ChoiseRegime.xaml;;
+FC:\Users\locadm\source\repos\GraphDrawer\GraphDrawer\GraphByClick.xaml;;
+FC:\Users\locadm\source\repos\GraphDrawer\GraphDrawer\MainWindow.xaml;;
+

+ 6 - 0
GraphDrawer/obj/Debug/GraphDrawer_MarkupCompile.lref

@@ -0,0 +1,6 @@
+
+
+FC:\Users\locadm\Desktop\Drawer\GraphDrawer\ChoiseRegime.xaml;;
+FC:\Users\locadm\Desktop\Drawer\GraphDrawer\GraphByClick.xaml;;
+FC:\Users\locadm\Desktop\Drawer\GraphDrawer\MainWindow.xaml;;
+

BIN
GraphDrawer/obj/Debug/MainWindow.baml


+ 145 - 0
GraphDrawer/obj/Debug/MainWindow.g.cs

@@ -0,0 +1,145 @@
+#pragma checksum "..\..\MainWindow.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "EA4890CA949A3AD40607C1860AF94A22181B5C1737C9CACAEC0664D75CA6C91C"
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     This code was generated by a tool.
+//     Runtime Version:4.0.30319.42000
+//
+//     Changes to this file may cause incorrect behavior and will be lost if
+//     the code is regenerated.
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+using GraphDrawer;
+using System;
+using System.Diagnostics;
+using System.Windows;
+using System.Windows.Automation;
+using System.Windows.Controls;
+using System.Windows.Controls.Primitives;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Markup;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Media.Effects;
+using System.Windows.Media.Imaging;
+using System.Windows.Media.Media3D;
+using System.Windows.Media.TextFormatting;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+using System.Windows.Shell;
+
+
+namespace GraphDrawer {
+    
+    
+    /// <summary>
+    /// MainWindow
+    /// </summary>
+    public partial class MainWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector {
+        
+        
+        #line 19 "..\..\MainWindow.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.Canvas canvas;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 23 "..\..\MainWindow.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.TextBox vertexBox;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 24 "..\..\MainWindow.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.TextBox edgeBox;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 25 "..\..\MainWindow.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.Button generateBtn;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 26 "..\..\MainWindow.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.Button choiceBtn;
+        
+        #line default
+        #line hidden
+        
+        private bool _contentLoaded;
+        
+        /// <summary>
+        /// InitializeComponent
+        /// </summary>
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+        public void InitializeComponent() {
+            if (_contentLoaded) {
+                return;
+            }
+            _contentLoaded = true;
+            System.Uri resourceLocater = new System.Uri("/GraphDrawer;component/mainwindow.xaml", System.UriKind.Relative);
+            
+            #line 1 "..\..\MainWindow.xaml"
+            System.Windows.Application.LoadComponent(this, resourceLocater);
+            
+            #line default
+            #line hidden
+        }
+        
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
+        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
+            switch (connectionId)
+            {
+            case 1:
+            this.canvas = ((System.Windows.Controls.Canvas)(target));
+            return;
+            case 2:
+            this.vertexBox = ((System.Windows.Controls.TextBox)(target));
+            return;
+            case 3:
+            this.edgeBox = ((System.Windows.Controls.TextBox)(target));
+            return;
+            case 4:
+            this.generateBtn = ((System.Windows.Controls.Button)(target));
+            
+            #line 25 "..\..\MainWindow.xaml"
+            this.generateBtn.Click += new System.Windows.RoutedEventHandler(this.generateBtn_Click);
+            
+            #line default
+            #line hidden
+            return;
+            case 5:
+            this.choiceBtn = ((System.Windows.Controls.Button)(target));
+            
+            #line 26 "..\..\MainWindow.xaml"
+            this.choiceBtn.Click += new System.Windows.RoutedEventHandler(this.choiceBtn_Click);
+            
+            #line default
+            #line hidden
+            return;
+            }
+            this._contentLoaded = true;
+        }
+    }
+}
+

+ 145 - 0
GraphDrawer/obj/Debug/MainWindow.g.i.cs

@@ -0,0 +1,145 @@
+#pragma checksum "..\..\MainWindow.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "EA4890CA949A3AD40607C1860AF94A22181B5C1737C9CACAEC0664D75CA6C91C"
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     This code was generated by a tool.
+//     Runtime Version:4.0.30319.42000
+//
+//     Changes to this file may cause incorrect behavior and will be lost if
+//     the code is regenerated.
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+using GraphDrawer;
+using System;
+using System.Diagnostics;
+using System.Windows;
+using System.Windows.Automation;
+using System.Windows.Controls;
+using System.Windows.Controls.Primitives;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Markup;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Media.Effects;
+using System.Windows.Media.Imaging;
+using System.Windows.Media.Media3D;
+using System.Windows.Media.TextFormatting;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+using System.Windows.Shell;
+
+
+namespace GraphDrawer {
+    
+    
+    /// <summary>
+    /// MainWindow
+    /// </summary>
+    public partial class MainWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector {
+        
+        
+        #line 19 "..\..\MainWindow.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.Canvas canvas;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 23 "..\..\MainWindow.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.TextBox vertexBox;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 24 "..\..\MainWindow.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.TextBox edgeBox;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 25 "..\..\MainWindow.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.Button generateBtn;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 26 "..\..\MainWindow.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.Button choiceBtn;
+        
+        #line default
+        #line hidden
+        
+        private bool _contentLoaded;
+        
+        /// <summary>
+        /// InitializeComponent
+        /// </summary>
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+        public void InitializeComponent() {
+            if (_contentLoaded) {
+                return;
+            }
+            _contentLoaded = true;
+            System.Uri resourceLocater = new System.Uri("/GraphDrawer;component/mainwindow.xaml", System.UriKind.Relative);
+            
+            #line 1 "..\..\MainWindow.xaml"
+            System.Windows.Application.LoadComponent(this, resourceLocater);
+            
+            #line default
+            #line hidden
+        }
+        
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
+        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
+            switch (connectionId)
+            {
+            case 1:
+            this.canvas = ((System.Windows.Controls.Canvas)(target));
+            return;
+            case 2:
+            this.vertexBox = ((System.Windows.Controls.TextBox)(target));
+            return;
+            case 3:
+            this.edgeBox = ((System.Windows.Controls.TextBox)(target));
+            return;
+            case 4:
+            this.generateBtn = ((System.Windows.Controls.Button)(target));
+            
+            #line 25 "..\..\MainWindow.xaml"
+            this.generateBtn.Click += new System.Windows.RoutedEventHandler(this.generateBtn_Click);
+            
+            #line default
+            #line hidden
+            return;
+            case 5:
+            this.choiceBtn = ((System.Windows.Controls.Button)(target));
+            
+            #line 26 "..\..\MainWindow.xaml"
+            this.choiceBtn.Click += new System.Windows.RoutedEventHandler(this.choiceBtn_Click);
+            
+            #line default
+            #line hidden
+            return;
+            }
+            this._contentLoaded = true;
+        }
+    }
+}
+

+ 70 - 0
GraphDrawer/obj/Release/App.g.cs

@@ -0,0 +1,70 @@
+#pragma checksum "..\..\App.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "1ADE9B60C60715476238314653A35623A48A6C6DF28BB92DF9833B3B8B6EC77B"
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     This code was generated by a tool.
+//     Runtime Version:4.0.30319.42000
+//
+//     Changes to this file may cause incorrect behavior and will be lost if
+//     the code is regenerated.
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+using GraphDrawer;
+using System;
+using System.Diagnostics;
+using System.Windows;
+using System.Windows.Automation;
+using System.Windows.Controls;
+using System.Windows.Controls.Primitives;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Markup;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Media.Effects;
+using System.Windows.Media.Imaging;
+using System.Windows.Media.Media3D;
+using System.Windows.Media.TextFormatting;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+using System.Windows.Shell;
+
+
+namespace GraphDrawer {
+    
+    
+    /// <summary>
+    /// App
+    /// </summary>
+    public partial class App : System.Windows.Application {
+        
+        /// <summary>
+        /// InitializeComponent
+        /// </summary>
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+        public void InitializeComponent() {
+            
+            #line 5 "..\..\App.xaml"
+            this.StartupUri = new System.Uri("ChoiseRegime.xaml", System.UriKind.Relative);
+            
+            #line default
+            #line hidden
+        }
+        
+        /// <summary>
+        /// Application Entry Point.
+        /// </summary>
+        [System.STAThreadAttribute()]
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+        public static void Main() {
+            GraphDrawer.App app = new GraphDrawer.App();
+            app.InitializeComponent();
+            app.Run();
+        }
+    }
+}
+

+ 86 - 0
GraphDrawer/obj/Release/ChoiseRegime.g.cs

@@ -0,0 +1,86 @@
+#pragma checksum "..\..\ChoiseRegime.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "589FDD0FFE6718A12B7C08997C37B77220CEC5DBF6BDB969395C2581D8511ED4"
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     This code was generated by a tool.
+//     Runtime Version:4.0.30319.42000
+//
+//     Changes to this file may cause incorrect behavior and will be lost if
+//     the code is regenerated.
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+using GraphDrawer;
+using System;
+using System.Diagnostics;
+using System.Windows;
+using System.Windows.Automation;
+using System.Windows.Controls;
+using System.Windows.Controls.Primitives;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Markup;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Media.Effects;
+using System.Windows.Media.Imaging;
+using System.Windows.Media.Media3D;
+using System.Windows.Media.TextFormatting;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+using System.Windows.Shell;
+
+
+namespace GraphDrawer {
+    
+    
+    /// <summary>
+    /// ChoiseRegime
+    /// </summary>
+    public partial class ChoiseRegime : System.Windows.Window, System.Windows.Markup.IComponentConnector {
+        
+        private bool _contentLoaded;
+        
+        /// <summary>
+        /// InitializeComponent
+        /// </summary>
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+        public void InitializeComponent() {
+            if (_contentLoaded) {
+                return;
+            }
+            _contentLoaded = true;
+            System.Uri resourceLocater = new System.Uri("/GraphDrawer;component/choiseregime.xaml", System.UriKind.Relative);
+            
+            #line 1 "..\..\ChoiseRegime.xaml"
+            System.Windows.Application.LoadComponent(this, resourceLocater);
+            
+            #line default
+            #line hidden
+        }
+        
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
+        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
+            switch (connectionId)
+            {
+            case 1:
+            
+            #line 20 "..\..\ChoiseRegime.xaml"
+            ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);
+            
+            #line default
+            #line hidden
+            return;
+            }
+            this._contentLoaded = true;
+        }
+    }
+}
+

+ 106 - 0
GraphDrawer/obj/Release/GraphByClick.g.cs

@@ -0,0 +1,106 @@
+#pragma checksum "..\..\GraphByClick.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "9B98E94BA1B2BCABC70B7C81DAA7DD5566174A287DB337B5F3EEEA922B0A2385"
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     This code was generated by a tool.
+//     Runtime Version:4.0.30319.42000
+//
+//     Changes to this file may cause incorrect behavior and will be lost if
+//     the code is regenerated.
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+using GraphDrawer;
+using System;
+using System.Diagnostics;
+using System.Windows;
+using System.Windows.Automation;
+using System.Windows.Controls;
+using System.Windows.Controls.Primitives;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Markup;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Media.Effects;
+using System.Windows.Media.Imaging;
+using System.Windows.Media.Media3D;
+using System.Windows.Media.TextFormatting;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+using System.Windows.Shell;
+
+
+namespace GraphDrawer {
+    
+    
+    /// <summary>
+    /// GraphByClick
+    /// </summary>
+    public partial class GraphByClick : System.Windows.Window, System.Windows.Markup.IComponentConnector {
+        
+        
+        #line 11 "..\..\GraphByClick.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.Button backBtn;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 12 "..\..\GraphByClick.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.Grid choiceGrid;
+        
+        #line default
+        #line hidden
+        
+        private bool _contentLoaded;
+        
+        /// <summary>
+        /// InitializeComponent
+        /// </summary>
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+        public void InitializeComponent() {
+            if (_contentLoaded) {
+                return;
+            }
+            _contentLoaded = true;
+            System.Uri resourceLocater = new System.Uri("/GraphDrawer;component/graphbyclick.xaml", System.UriKind.Relative);
+            
+            #line 1 "..\..\GraphByClick.xaml"
+            System.Windows.Application.LoadComponent(this, resourceLocater);
+            
+            #line default
+            #line hidden
+        }
+        
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
+        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
+            switch (connectionId)
+            {
+            case 1:
+            this.backBtn = ((System.Windows.Controls.Button)(target));
+            
+            #line 11 "..\..\GraphByClick.xaml"
+            this.backBtn.Click += new System.Windows.RoutedEventHandler(this.backBtn_Click);
+            
+            #line default
+            #line hidden
+            return;
+            case 2:
+            this.choiceGrid = ((System.Windows.Controls.Grid)(target));
+            return;
+            }
+            this._contentLoaded = true;
+        }
+    }
+}
+

+ 20 - 0
GraphDrawer/obj/Release/GraphDrawer_MarkupCompile.cache

@@ -0,0 +1,20 @@
+GraphDrawer
+
+
+winexe
+C#
+.cs
+C:\Users\locadm\Desktop\Drawer\GraphDrawer\obj\Release\
+GraphDrawer
+none
+false
+TRACE
+C:\Users\locadm\Desktop\Drawer\GraphDrawer\App.xaml
+3616127476
+
+91140760115
+13-1505183044
+ChoiseRegime.xaml;GraphByClick.xaml;MainWindow.xaml;
+
+True
+

+ 6 - 0
GraphDrawer/obj/Release/GraphDrawer_MarkupCompile.lref

@@ -0,0 +1,6 @@
+
+
+FC:\Users\locadm\Desktop\Drawer\GraphDrawer\ChoiseRegime.xaml;;
+FC:\Users\locadm\Desktop\Drawer\GraphDrawer\GraphByClick.xaml;;
+FC:\Users\locadm\Desktop\Drawer\GraphDrawer\MainWindow.xaml;;
+

+ 145 - 0
GraphDrawer/obj/Release/MainWindow.g.cs

@@ -0,0 +1,145 @@
+#pragma checksum "..\..\MainWindow.xaml" "{8829d00f-11b8-4213-878b-770e8597ac16}" "EA4890CA949A3AD40607C1860AF94A22181B5C1737C9CACAEC0664D75CA6C91C"
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     This code was generated by a tool.
+//     Runtime Version:4.0.30319.42000
+//
+//     Changes to this file may cause incorrect behavior and will be lost if
+//     the code is regenerated.
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+using GraphDrawer;
+using System;
+using System.Diagnostics;
+using System.Windows;
+using System.Windows.Automation;
+using System.Windows.Controls;
+using System.Windows.Controls.Primitives;
+using System.Windows.Data;
+using System.Windows.Documents;
+using System.Windows.Ink;
+using System.Windows.Input;
+using System.Windows.Markup;
+using System.Windows.Media;
+using System.Windows.Media.Animation;
+using System.Windows.Media.Effects;
+using System.Windows.Media.Imaging;
+using System.Windows.Media.Media3D;
+using System.Windows.Media.TextFormatting;
+using System.Windows.Navigation;
+using System.Windows.Shapes;
+using System.Windows.Shell;
+
+
+namespace GraphDrawer {
+    
+    
+    /// <summary>
+    /// MainWindow
+    /// </summary>
+    public partial class MainWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector {
+        
+        
+        #line 19 "..\..\MainWindow.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.Canvas canvas;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 23 "..\..\MainWindow.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.TextBox vertexBox;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 24 "..\..\MainWindow.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.TextBox edgeBox;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 25 "..\..\MainWindow.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.Button generateBtn;
+        
+        #line default
+        #line hidden
+        
+        
+        #line 26 "..\..\MainWindow.xaml"
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1823:AvoidUnusedPrivateFields")]
+        internal System.Windows.Controls.Button choiceBtn;
+        
+        #line default
+        #line hidden
+        
+        private bool _contentLoaded;
+        
+        /// <summary>
+        /// InitializeComponent
+        /// </summary>
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+        public void InitializeComponent() {
+            if (_contentLoaded) {
+                return;
+            }
+            _contentLoaded = true;
+            System.Uri resourceLocater = new System.Uri("/GraphDrawer;component/mainwindow.xaml", System.UriKind.Relative);
+            
+            #line 1 "..\..\MainWindow.xaml"
+            System.Windows.Application.LoadComponent(this, resourceLocater);
+            
+            #line default
+            #line hidden
+        }
+        
+        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
+        [System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
+        [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
+        [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
+        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
+            switch (connectionId)
+            {
+            case 1:
+            this.canvas = ((System.Windows.Controls.Canvas)(target));
+            return;
+            case 2:
+            this.vertexBox = ((System.Windows.Controls.TextBox)(target));
+            return;
+            case 3:
+            this.edgeBox = ((System.Windows.Controls.TextBox)(target));
+            return;
+            case 4:
+            this.generateBtn = ((System.Windows.Controls.Button)(target));
+            
+            #line 25 "..\..\MainWindow.xaml"
+            this.generateBtn.Click += new System.Windows.RoutedEventHandler(this.generateBtn_Click);
+            
+            #line default
+            #line hidden
+            return;
+            case 5:
+            this.choiceBtn = ((System.Windows.Controls.Button)(target));
+            
+            #line 26 "..\..\MainWindow.xaml"
+            this.choiceBtn.Click += new System.Windows.RoutedEventHandler(this.choiceBtn_Click);
+            
+            #line default
+            #line hidden
+            return;
+            }
+            this._contentLoaded = true;
+        }
+    }
+}
+