本文整理汇总了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();
}
示例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();
}
示例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();
}
示例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();
}
示例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();
}
示例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();
}