Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. How to access one form to another? [modified]

How to access one form to another? [modified]

Scheduled Pinned Locked Moved C#
questiontutorial
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    Saikek
    wrote on last edited by
    #1

    Hello Dear Friends !!! I have a window with a button, which calls other window. There i call function public void ShowOneInListView(ListView L, string N, string M, string S) { ListViewItem item = new ListViewItem(N); item.SubItems.Add(M); item.SubItems.Add(S); item.ForeColor = Color.Violet; L.Items.Add(item); } which uses the listview(L) from another form. How can i access that listview, or that form ? -- modified at 5:58 Sunday 1st April, 2007

    One nation - underground

    S 1 Reply Last reply
    0
    • S Saikek

      Hello Dear Friends !!! I have a window with a button, which calls other window. There i call function public void ShowOneInListView(ListView L, string N, string M, string S) { ListViewItem item = new ListViewItem(N); item.SubItems.Add(M); item.SubItems.Add(S); item.ForeColor = Color.Violet; L.Items.Add(item); } which uses the listview(L) from another form. How can i access that listview, or that form ? -- modified at 5:58 Sunday 1st April, 2007

      One nation - underground

      S Offline
      S Offline
      Stefan Troschuetz
      wrote on last edited by
      #2

      Passing Values between Forms in .NET 1.x with C# and VB.NET examples[^]


      "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook

      www.troschuetz.de

      S 1 Reply Last reply
      0
      • S Stefan Troschuetz

        Passing Values between Forms in .NET 1.x with C# and VB.NET examples[^]


        "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook

        www.troschuetz.de

        S Offline
        S Offline
        Saikek
        wrote on last edited by
        #3

        Thanks !!!!!!!!!!!!!!!!!

        One nation - underground

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups