Aviewer is a formclass, headfrm is of that type (Aviewer headfrm)
"Alex Yakhnin [MVP]" <(E-Mail Removed)> schreef in bericht
news:(E-Mail Removed)...
> Hi Jeroen,
>
> What is Aviewer? Are you sure you're in the right newsgroup?
>
> --
> Alex Yakhnin .NET CF MVP
> www.intelliprog.com | www.opennetcf.org
>
> "Jeroen Ceuppens" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > What does this mean?
> >
> > that fault occurs on
> > this.textBoxH.Text = this.headfrm.H.ToString();
> >
> > this.textBoxW.Text = this.headfrm.W.ToString();
> >
> > headfrm is a passed object of a form with public int W,D
> >
> >
> >
> > some more code
> >
> > public class ChangeSurface : System.Windows.Forms.Form
> >
> > {
> >
> > private System.Windows.Forms.Button buttonUpdate;
> >
> > private System.Windows.Forms.TextBox textBoxH;
> >
> > private System.Windows.Forms.Label label1;
> >
> > private System.Windows.Forms.TextBox textBoxW;
> >
> > public Aviewer headfrm;
> >
> >
> > public ChangeSurface(Aviewer headform)
> >
> > {
> >
> > //
> >
> > // Required for Windows Form Designer support
> >
> > //
> >
> > this.headfrm=headform;
> >
> > InitializeComponent();
> >
> > this.textBoxH.Text = this.headfrm.H.ToString();
> >
> > this.textBoxW.Text = this.headfrm.W.ToString();
> >
> > //
> >
> > // TODO: Add any constructor code after InitializeComponent call
> >
> > //
> >
> > }
> >
> >
> >
> > .........
> >
> >
> >
> > can anybody help me out?
> >
> >
> >
> > Thx
> >
> > JC
> >
> >
>
>