Exemple #1
0
        public static void Run(LearningArguments _arguments)
        {
            arguments = _arguments;
            baseMaker = _arguments.BaseMaker;
            baseMaker.Generate();

            table = new UserControl
            {
                Dock= DockStyle.Left,
                Size=new Size(400,400)
            };

            success = new HistoryChart
            {
                Lines = {
                    new HistoryChartValueLine
                    {

                    DataFunction = { Color = Color.Blue },
                    }
                },
                Dock = DockStyle.Right,
                Size = new Size(400, 400)
            };

            form = new Form()
            {
                Text = "Symbols recognition",
                ClientSize=new Size(800,400),
                Controls=
                {
                    table,
                    success
                }
            };
            new Action(Learn).BeginInvoke(null, null);
            Application.Run(form);
        }
Exemple #2
0
        public static void Run(LearningArguments _arguments)
        {
            arguments = _arguments;
            baseMaker = _arguments.BaseMaker;
            baseMaker.Generate();

            table = new UserControl
            {
                Dock = DockStyle.Left,
                Size = new Size(400, 400)
            };

            success = new HistoryChart
            {
                Lines =
                {
                    new HistoryChartValueLine
                    {
                        DataFunction ={ Color                    = Color.Blue },
                    }
                },
                Dock = DockStyle.Right,
                Size = new Size(400, 400)
            };

            form = new Form()
            {
                Text       = "Symbols recognition",
                ClientSize = new Size(800, 400),
                Controls   =
                {
                    table,
                    success
                }
            };
            new Action(Learn).BeginInvoke(null, null);
            Application.Run(form);
        }