Esempio n. 1
0
 public void Execute()
 {
     ManagComm.getInstance().addComm(this);
     form2.BackColor = Color.AliceBlue;
     // SolidBrush brush = new SolidBrush(Color.BlueViolet);
     //SolidBrush brush1 = new SolidBrush(Color.Fuchsia);
     //form2.getGraphics2().FillRectangle(brush1, 2, 3, 200, 300);
 }
        public void Execute()
        {
            ManagComm.getInstance().addComm(this);
            g  = form2.getGraph1();
            g1 = form2.getGraph2();
            d  = new Sheme1(g, 10, 10);
            d1 = new Sheme1(g1, 10, 10);
            m1 = m1.GetComponent();
            m2 = m2.GetComponent();
            RecordValue c = new RecordValue(m1, m2, d, d1);

            c.record();
        }
Esempio n. 3
0
 public void Execute()
 {
     ManagComm.getInstance().addComm(this);
     form2.getGraph1().Clear(Color.AntiqueWhite);
     form2.getGraph2().Clear(Color.AntiqueWhite);
     draw1   = new Sheme4(form2.getGraph1(), 10, 10);
     draw2   = new Sheme4(form2.getGraph2(), 10, 10);
     smatrix = smatrix.GetComponent();
     dmatrix = dmatrix.GetComponent();
     smatrix.setDrawer(draw1);
     dmatrix.setDrawer(draw2);
     smatrix.draw();
     dmatrix.draw();
 }
Esempio n. 4
0
 public void Execute()
 {
     ManagComm.getInstance().addComm(this);
     form2.getGraph1().Clear(Color.AntiqueWhite);
     form2.getGraph2().Clear(Color.AntiqueWhite);
     draw1   = new Sheme4(form2.getGraph1(), 10, 10);
     draw2   = new Sheme4(form2.getGraph2(), 10, 10);
     smatrix = new HideDecorator(smatrix, 1, 2);
     dmatrix = new HideDecorator(dmatrix, 1, 2);
     smatrix.setDrawer(draw1);
     dmatrix.setDrawer(draw2);
     smatrix.draw();
     dmatrix.draw();
 }
Esempio n. 5
0
 public void Execute()
 {
     ManagComm.getInstance().addComm(this);
     m1 = new SimpleMatrix(3, 4);
     m2 = new DisperseMatrix(5, 3);
     IniciatorMatrix.fullMatrix(m1, 8, 45);
     IniciatorMatrix.fullMatrix(m2, 6, 45);
     g  = form2.getGraph1();
     g1 = form2.getGraph2();
     d  = new Sheme1(g, 10, 10);
     d1 = new Sheme1(g1, 10, 10);
     m1.setDrawer(d);
     m2.setDrawer(d1);
     m1.draw();
     m2.draw();
 }
Esempio n. 6
0
 private void button8_Click(object sender, EventArgs e)
 {
     ManagComm.getInstance().remComm();
 }