locked
C# convert Vb to C# RRS feed

  • Question

  • Hi how do i convert this to c#

    Dim rect As New Rectangle(Min(m_X1, m_X2), Min(m_Y1, m_Y2), Abs(m_X1 - m_X2), Abs(m_Y1 - m_Y2))


    Dim bm As Bitmap = DirectCast(m_bmDesktop.Clone(rect, m_bmDesktop.PixelFormat), Bitmap)

    Thanks in advance.

     

     

     

     

    Saturday, March 19, 2011 10:34 PM

Answers

All replies