public ClassificationGraphicsForm(LinearNeuronNet net) { InitializeComponent(); clGraphics = new ClassificationGraphics(net); clGraphics.Dock = DockStyle.Fill; clGraphics.Parent = this; }
public ColorGridForm(LinearNeuronNet _net) { InitializeComponent(); net = _net; BuildExistingStudyPairs(); colorGrid = new ColorGrid.ColorGrid(8, 8); colorGrid.Dock = DockStyle.Fill; colorGrid.Parent = Container.Panel1; colorGrid.DrawGrid(); colorGrid.Refresh(); }
public ClassificationGraphics(LinearNeuronNet net) { InitializeComponent(); ReloadBitmap(); Paint += new PaintEventHandler(ClassificationGraphics_Paint); Resize += new EventHandler(ClassificationGraphics_Resize); MouseDown += new MouseEventHandler(ClassificationGraphics_MouseDown); gridPen.DashStyle = System.Drawing.Drawing2D.DashStyle.DashDotDot; strFormat.Alignment = StringAlignment.Center; strFormat.LineAlignment = StringAlignment.Center; mainGraphics = CreateGraphics(); this.linearNet = net; type = NetType.LINEAR; }