I have, for example, two classes:
public class Math {} {
public int Power3( int x){
return (x*x*x);
}
}
// and in the same module:
public class A(){
private int y;
public int Get_Pow3 (int mmm){
y = Power3(mmm);
}
}
And it causes Error.
This:
public int Get_Pow3...
I want to create class Matrix which contains array of class Rows.
Class Rows contains array of Cells.
Here is the declaration:
public class Cells
{
public int value = 0;
public int color = 0;
public int background = 0;
}
public class Rows
{...
I need to create basic MyControl - Custom (User) Control having the only "Line" method drawing straight line inside MyControl.
I want to call this method as MyControl1.Line(x1,y1,x2,y2) from the Main Form on Button_Click Event.
And no more code in this form for now.
--------
And I'm...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.