Exemplo n.º 1
0
        private void button5_Click(object sender, EventArgs e)
        {
            Graphics g = Graphics.FromHwnd(panel4.Handle);

            g.Clear(Color.AntiqueWhite);
            VerticalMatrix matrix1;

            matrix1 = new VerticalMatrix();
            matrix1.addMatr(m1);
            matrix1.addMatr(m2);
            d = new Sheme4(g, 10, 10);
            matrix1.setDrawer(d);
            matrix1.draw();
        }
Exemplo n.º 2
0
        private void button6_Click(object sender, EventArgs e)
        {
            Graphics g = Graphics.FromHwnd(panel5.Handle);

            g.Clear(Color.AntiqueWhite);
            HorizontMatr   component = new HorizontMatr();
            VerticalMatrix matrix1   = new VerticalMatrix();

            matrix1.addMatr(m1);
            matrix1.addMatr(m2);
            VerticalMatrix matrix2 = new VerticalMatrix();

            matrix2.addMatr(m1);
            matrix2.addMatr(m2);
            component.addMatr(matrix1);
            component.addMatr(matrix2);
            d = new Sheme4(g, 10, 10);
            component.setDrawer(d);
            component.draw();
        }
Exemplo n.º 3
0
 private void button6_Click(object sender, EventArgs e)
 {
     Graphics g = Graphics.FromHwnd(panel5.Handle);
     g.Clear(Color.AntiqueWhite);
     HorizontMatr component = new HorizontMatr();
     VerticalMatrix matrix1 = new VerticalMatrix();
     matrix1.addMatr(m1);
     matrix1.addMatr(m2);
     VerticalMatrix matrix2 = new VerticalMatrix();
     matrix2.addMatr(m1);
     matrix2.addMatr(m2);
     component.addMatr(matrix1);
     component.addMatr(matrix2);
     d = new Sheme4(g, 10, 10);
     component.setDrawer(d);
     component.draw();
 }
Exemplo n.º 4
0
 private void button5_Click(object sender, EventArgs e)
 {
     Graphics g = Graphics.FromHwnd(panel4.Handle);
     g.Clear(Color.AntiqueWhite);
     VerticalMatrix matrix1;
     matrix1 = new VerticalMatrix();
     matrix1.addMatr(m1);
     matrix1.addMatr(m2);
     d = new Sheme4(g, 10, 10);
     matrix1.setDrawer(d);
     matrix1.draw();
 }