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. WPF
  4. Building a GUI in WPF

Building a GUI in WPF

Scheduled Pinned Locked Moved WPF
helpquestioncsharpwpfdesign
2 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.
  • C Offline
    C Offline
    columbos14927
    wrote on last edited by
    #1

    Hello, I have a general question: I'm building a WPF application. I have a main window, in the window i have some constant header and footer and between them there is an area with changing content(work area). During application lifetime different controls created inside the work area and the controls creates small windows. I ran into a problem when i wanted to send an event from one of the windows to some control,the problem was that the window didn't have a reference to the control. So i started to think maybe i did some bad design work and there is some way to create and manage my multiply controls and windows so the interaction between them will be easier. Any one can help me with this one? Thanks

    W 1 Reply Last reply
    0
    • C columbos14927

      Hello, I have a general question: I'm building a WPF application. I have a main window, in the window i have some constant header and footer and between them there is an area with changing content(work area). During application lifetime different controls created inside the work area and the controls creates small windows. I ran into a problem when i wanted to send an event from one of the windows to some control,the problem was that the window didn't have a reference to the control. So i started to think maybe i did some bad design work and there is some way to create and manage my multiply controls and windows so the interaction between them will be easier. Any one can help me with this one? Thanks

      W Offline
      W Offline
      Wayne Gaylard
      wrote on last edited by
      #2

      What you basically need is a Mediator[^] that can act as a go between. Reading Sacha's article in the link I provided will be a good start. Good Luck!

      When I was a coder, we worked on algorithms. Today, we memorize APIs for countless libraries — those libraries have the algorithms - Eric Allman

      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