Exemplo n.º 1
0
        private void radioButton2_CheckedChanged(object sender, EventArgs e)
        {
            CleanMatrix();
            Graphics g  = Graphics.FromHwnd(panel1.Handle);
            Graphics g1 = Graphics.FromHwnd(panel2.Handle);

            d  = new Sheme2(g, 10, 10);
            d1 = new Sheme2(g1, 10, 10);
            m1.setDrawer(d);
            m2.setDrawer(d1);
            m1.draw();
            m2.draw();
        }
Exemplo n.º 2
0
 private void radioButton2_CheckedChanged(object sender, EventArgs e)
 {
     CleanMatrix();
     Graphics g = Graphics.FromHwnd(panel1.Handle);
     Graphics g1 = Graphics.FromHwnd(panel2.Handle);
     d = new Sheme2(g, 10, 10);
     d1 = new Sheme2(g1, 10, 10);
     m1.setDrawer(d);
     m2.setDrawer(d1);
     m1.draw();
     m2.draw();
 }