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. WPF Best Practice

WPF Best Practice

Scheduled Pinned Locked Moved WPF
csharpwpftutorialdiscussion
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.
  • M Offline
    M Offline
    mark_w_
    wrote on last edited by
    #1

    I am writing a WPF app, and want to have the app minimise to the system tray, the only examples of how to do this involve adding a reference to System.Window.Forms, is adding this reference bad practice or accepted as needed to be done to get some functionality. Thanks Mark

    G 1 Reply Last reply
    0
    • M mark_w_

      I am writing a WPF app, and want to have the app minimise to the system tray, the only examples of how to do this involve adding a reference to System.Window.Forms, is adding this reference bad practice or accepted as needed to be done to get some functionality. Thanks Mark

      G Offline
      G Offline
      Gideon Engelberth
      wrote on last edited by
      #2

      I see no reason to treat this as a bad practice. I have done this exact thing once, and I reference Windows.Forms all the time to get the File Dialogs (I just like the old ones better).

      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