private void toolStripButton1_Click(object sender, EventArgs e) { UnCheckAll(); Check(sender); stripChoice = ToolStripChoice.DrawFigure; collection.RemoveSelection(); pictureBox1.Invalidate(); }
private void toolStripButton8_Click(object sender, EventArgs e) { UnCheckAll(); Check(sender); collection.DeleteUnfinishedFigure(); stripChoice = ToolStripChoice.RemoveRelation; pictureBox1.Invalidate(); }
public Form1() { stripChoice = ToolStripChoice.DrawFigure; stylePainting = StylePainting.Brezenham; collection = new CollectionFigure(); isMoving = false; InitializeComponent(); }