S
shachar
hi all.
i'm writing a simple board game and i have 3 classes:
1)MyGameForm - a vb form
2)BoardGame - class
3)Cell - class
MyGameForm Contains BoardGame.
BoardGame Contains Cell.
on the MyGameForm Form i have a picturebox with the
pictur of the board, and another picturebox (pic1)that
moves when the player clicks on the board.
on the click event i want to call the "DrawCell" method
of the Cell class, and move the pic1 to a certain
cordinates.
BUT - how can i move controls(pic1) on MyGameForm from
Cell?
i'm writing a simple board game and i have 3 classes:
1)MyGameForm - a vb form
2)BoardGame - class
3)Cell - class
MyGameForm Contains BoardGame.
BoardGame Contains Cell.
on the MyGameForm Form i have a picturebox with the
pictur of the board, and another picturebox (pic1)that
moves when the player clicks on the board.
on the click event i want to call the "DrawCell" method
of the Cell class, and move the pic1 to a certain
cordinates.
BUT - how can i move controls(pic1) on MyGameForm from
Cell?