Example #1
0
        private void button4_Click(object sender, EventArgs e)
        {
            Graphics g = Graphics.FromHwnd(panel3.Handle);

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

            matrix1 = new HorizontMatr();
            matrix1.addMatr(m1);
            matrix1.addMatr(m2);
            d = new Sheme4(g, 10, 10);
            matrix1.setDrawer(d);
            matrix1.draw();
        }
Example #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();
        }
Example #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();
 }
Example #4
0
 private void button4_Click(object sender, EventArgs e)
 {
     Graphics g = Graphics.FromHwnd(panel3.Handle);
     g.Clear(Color.AntiqueWhite);
     HorizontMatr matrix1;
     matrix1 = new HorizontMatr();
     matrix1.addMatr(m1);
     matrix1.addMatr(m2);
     d = new Sheme4(g, 10, 10);
     matrix1.setDrawer(d);
     matrix1.draw();
 }