当前位置: 首页>>代码示例>>C#>>正文


C# IMatrix.draw方法代码示例

本文整理汇总了C#中IMatrix.draw方法的典型用法代码示例。如果您正苦于以下问题:C# IMatrix.draw方法的具体用法?C# IMatrix.draw怎么用?C# IMatrix.draw使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在IMatrix的用法示例。


在下文中一共展示了IMatrix.draw方法的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: Execute

 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();
 }
开发者ID:DariaRoschina,项目名称:MatrixShablon,代码行数:14,代码来源:CommHideDec.cs

示例2: Execute

 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();
 }
开发者ID:DariaRoschina,项目名称:MatrixShablon,代码行数:14,代码来源:CommUnDec.cs

示例3: Execute

 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();
 }
开发者ID:DariaRoschina,项目名称:MatrixShablon,代码行数:16,代码来源:CommGen.cs

示例4: button1_Click

 private void button1_Click(object sender, EventArgs e)
 {
     CleanMatrix();
        // new CommGen(this).Execute();
     m1 = new SimpleMatrix(3, 4);
     m2 = new DisperseMatrix(5, 3);
     IniciatorMatrix.fullMatrix(m1, 8, 45);
     IniciatorMatrix.fullMatrix(m2, 6, 45);
     Graphics g = Graphics.FromHwnd(panel1.Handle);
     Graphics g1 = Graphics.FromHwnd(panel2.Handle);
     d = new Sheme1(g, 10, 10);
     d1 = new Sheme1(g1, 10, 10);
     m1.setDrawer(d);
     m2.setDrawer(d1);
     m1.draw();
     m2.draw();
 }
开发者ID:DariaRoschina,项目名称:MatrixShablon,代码行数:17,代码来源:Form2.cs

示例5: button3_Click

 private void button3_Click(object sender, EventArgs e)
 {
     CleanMatrix();
     Graphics g = Graphics.FromHwnd(panel1.Handle);
     Graphics g1 = Graphics.FromHwnd(panel2.Handle);
     d = new Sheme4(g, 10, 10);
     d1 = new Sheme4(g1, 10, 10);
     m1 = m1.GetComponent();
     m2 = m2.GetComponent();
     m1.setDrawer(d);
     m2.setDrawer(d1);
     m1.draw();
     m2.draw();
 }
开发者ID:DariaRoschina,项目名称:MatrixShablon,代码行数:14,代码来源:Form2.cs

示例6: button2_Click

        private void button2_Click(object sender, EventArgs e)
        {
            CleanMatrix();
            Graphics g = Graphics.FromHwnd(panel1.Handle);
            Graphics g1 = Graphics.FromHwnd(panel2.Handle);

            d = new Sheme4(g, 10, 10);
            d1 = new Sheme4(g1, 10, 10);
            m1 = new HideDecorator(m1, 1, 2);
            m2 = new HideDecorator(m2, 1, 2);
            m1.setDrawer(d);
            m2.setDrawer(d1);
            m1.draw();
            m2.draw();
        }
开发者ID:DariaRoschina,项目名称:MatrixShablon,代码行数:15,代码来源:Form2.cs


注:本文中的IMatrix.draw方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。