Пример #1
0
        private void Form1_Load(object sender, EventArgs e)
        {
            // Form initialisation: graphics
            bmp = new Bitmap(100, 100);
            using (Graphics bmpG = Graphics.FromImage(bmp))
            {
                bmpG.Clear(backgroundColor);
            }
            pictureBox1Graphics = pictureBox1.CreateGraphics();

            // Recognition library initialisation:
            handwritingRecObj = new Handwriting(bmp.Width * bmp.Height);

            // Input data manipulator
            dataManipulator = new DataManipulator();

            info("Application started.");
        }
Пример #2
0
        private void Form1_Load(object sender, EventArgs e)
        {
            // Form initialisation: graphics
            bmp = new Bitmap(100, 100);
            using (Graphics bmpG = Graphics.FromImage(bmp))
            {
                bmpG.Clear(backgroundColor);
            }
            pictureBox1Graphics = pictureBox1.CreateGraphics();

            // Recognition library initialisation:
            handwritingRecObj = new Handwriting(bmp.Width * bmp.Height);

            // Input data manipulator
            dataManipulator = new DataManipulator();

            info("Application started.");
        }