Results 1 to 3 of 3

Thread: [RESOLVED] help with Var across Forms

  1. #1

    Thread Starter
    Fanatic Member Crash893's Avatar
    Join Date
    Dec 2005
    Posts
    930

    Resolved [RESOLVED] help with Var across Forms

    I know this is probably going to be simple and im still googleing it but i thought i would ask just incase i dont find anything

    I have to forms

    form1 and frm_sum


    In form1 i have

    Code:
       BillPass25.Frm_sum objFrm = new BillPass25.Frm_sum();
                    // shows in modal
                    // objFrm.ShowDialog(); 
                    objFrm.Show(); // shows form in normal mode

    in frm_sum under form load

    What should i put to access the a variable called "writepath"

    lbl_location.text = ???

  2. #2

  3. #3

    Thread Starter
    Fanatic Member Crash893's Avatar
    Join Date
    Dec 2005
    Posts
    930

    Re: help with Var across Forms

    form1 now = =

    public static string Writepath = string.Empty;

    but i still cant find it in the frm_sum

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width