Ive got a form (we'll call it Form1), which has a button that opens up another little input form (Form2). Form2 contains 4 inputs, i want to return those from Form2 back to Form1.
How do i do that? Ive tried creating an overloaded ShowDialog() method with a return value, but that caused a System.StackOverflowException in mscorlib - always nice.
Am i complicating something simple? Because it feels like i am...
You are clueless. The updates are done in the background so the next time you open Edge the updates are applied automatically. There is no need to close all your tabs. Just keep browsing like you normally do. Clearly you don't use Edge and are just one of those haters that complain for the sake of complaining.
Microsoft is busy. Lots of changes to be released imminently for Windows server or soon. Also, lots happening for next version as well.
Third party virus scanning software is being moved out of Kernel mode to avoid repeat of Crowdstrike incident.
Windows Protected Mode and Windows Ready Print no longer require third party print drivers to be installed.
New storage stack being developed. New NVME drivers now available for Windows Server 2025 to improve local NVME drive performance by 60+ percent. NVME-Of of fabric being worked on for next release to improve network access to NVME drives.
ReFs (next file system) now has ability to boot and will become default file system in next release of Windows Server. ReFs improves on NTFS in several areas including resiliency and reliability and scalability.
New update stack is being worked on to unify Windows updates, and updates for drivers and first party/3rd party application software.
A stricter and more robust third-party driver certification program (ODI) is being worked on to improve performance, thermals, battery life, and reliability on modern Windows hardware by tightening how OEMs and IHVs (Intel, AMD, Qualcomm, NVIDIA, etc.) build and ship drivers.
There is a tone more but too numerous to mention.
Now disable that stupid OneDrive backup request when Windows starts please. So unbelievably frustrating to only have “remind me later” instead of “no and never ask me again”
Question
$phinX
Ive got a form (we'll call it Form1), which has a button that opens up another little input form (Form2). Form2 contains 4 inputs, i want to return those from Form2 back to Form1.
How do i do that? Ive tried creating an overloaded ShowDialog() method with a return value, but that caused a System.StackOverflowException in mscorlib - always nice.
Am i complicating something simple? Because it feels like i am...
So, how do i return a value from the form?
Link to comment
https://www.neowin.net/forum/topic/347559-c-return-a-value-from-a-form/Share on other sites
19 answers to this question
Recommended Posts