Joined: 02 Jun 2010 Posts: 107 Location: Canton, Ohio
Posted: Thu Jun 03, 2010 1:07 pm Post subject: Can some one help me pass data
I have searched for a while but i'm stuck.... i'm trying to pass data from form2 to form1 for a trainer... i don't how to get passed the protection level error.... here is code i'm using
Code:
public partial class Form2 : Form
{
Form1 Frm1;
public Form2()
{
InitializeComponent();
Find the declaration. If there is no access modifier in front of it, put the word public in front of the declaration. If there is one, then change it. _________________
Since you are new at Visual C#, just go to Form1 and select your ShockwaveFlash Object so that it displays a list of properties for the control. Go down to modifier, and select public.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum