How do I pass a struct from a class to a winform
<p>I tried to do something like this:</p>

<pre><code>        m_mystruct = (Form1.mystruct)m_myclass.mystruct;
</code></pre>

<p>where both structs have same definition.</p>

<p>C# doesn't want to do the cast.</p>

<p>Update: instead of why, I modify my question </p>

<p>How do I pass a struct from a class to a winform ?</p>
