Open new form to get date

Ask questions about creating Graphical User Interfaces (GUI) in PowerShell and using WinForms controls.
Forum rules
Do not post any licensing information in this forum.

Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
Post Reply
User avatar
Chris.Ediger
Posts: 42
Meble kuchenne na zamówienie - na wymiar - Wrocław
Joined: Tue Oct 24, 2017 9:33 am

Open new form to get date

Post by Chris.Ediger »

I need to get date info when a certain item is selected from a combo box. Is there a way to spawn a new form that has the DateTimePicker control on it then take the chosen date and use it in the original form?

User avatar
brittneyr
Site Admin
Posts: 368
Joined: Thu Jun 01, 2017 7:20 am

Re: Open new form to get date

Post by brittneyr »

[Topic moved by moderator to PowerShell GUIs forum]
Brittney Ryn
SAPIEN Technologies, Inc.

jvierra
Posts: 14231
Joined: Tue May 22, 2007 9:57 am
Contact:

Re: Open new form to get date

Post by jvierra »

Create a multi-form project and call a child form when the item is selected. It works like any other child form in a multi form project.

Post Reply