Пример #1
0
 private void btnStartOver_Click(object sender, EventArgs e)
 {
     polygonBox.CreateGraphics().Clear(Color.White);
     vertexManager = new PolygonVertexManager(polygonBox);
     this.polygonBox.MouseClick += new System.Windows.Forms.MouseEventHandler(this.polygonBox_MouseClick);
 }
Пример #2
0
 public MainForm()
 {
     InitializeComponent();
     vertexManager = new PolygonVertexManager(polygonBox);
 }