, Visual C#


- 19


Result(2, 4) = 0

Result(3, 1) = A(3, 1) * B(1, 1) + A(3, 2) * B(2, 1) _

+ A(3, 3) * B(3, 1)

Result(3, 2) = A(3, 1) * B(1, 2) + A(3, 2) * B(2, 2) _

+ A(3, 3) * B(3, 2)

Result(3, 3) = A(3, 1) * B(1, 3) + A(3, 2) * B(2, 3) _

+ A(3, 3) * B(3, 3)

Result(3, 4) = 0

Result(4, 1) = A(4, 1) * B(1, 1) + A(4, 2) * B(2, 1) _

+ A(4, 3) * B(3, 1) + B(4, 1)

Result(4, 2) = A(4, 1) * B(1, 2) + A(4, 2) * B(2, 2) _

+ A(4, 3) * B(3, 2) + B(4, 2)

Result(4, 3) = A(4, 1) * B(1, 3) + A(4, 2) * B(2, 3) _

+ A(4, 3) * B(3, 3) + B(4, 3)

Result(4, 4) = 1

End Sub

34.4. PictureBox.

Private Sub PrintDocument1_PrintPage( _

ByVal sender As System.Object, _

ByVal e As System.Drawing.Printing.PrintPageEventArgs) _

Handles PrintDocument1.PrintPage

 

e.Graphics.DrawImage(PictureBox1.Image, 0, 0)

End Sub