About 634,000 results
Open links in new tab
  1. c# - How can I save application settings in a Windows Forms …

    The Application Settings feature of Windows Forms makes it easy to create, store, and maintain custom application and user preferences on the client computer. With Windows Forms application settings, …

  2. How do I properly exit a C# application? - Stack Overflow

    I tried Application.Exit but it still calls all the child windows and alerts. I don't know how to use Environment.Exit and which integer to put into it either. Also, whenever my forms call the …

  3. Simplest way to have a configuration file in a Windows Forms C

    Every time I search on Google about it I get results about web.config, but I'm writing a Windows Forms application. I figured out that I need to use the System.Configuration namespace, but the …

  4. c# - Write to Windows Application Event Log without event source ...

    Sep 8, 2014 · Is there a way to write to this event log: Or at least, some other Windows default log, where I don't have to register an event source?

  5. c# - How do I pass command-line arguments to a WinForms …

    I have two different WinForms applications, AppA & AppB. Both are running .NET 2.0. In AppA I want to open AppB, but I need to pass command-line arguments to it. How do I consume the …

  6. How to Fix C# WinForms Application Not Loading correctly on …

    Mar 27, 2024 · I have a C# Windows Forms application that was written and originally tested on Windows 10. The application needs to be able to open on any given monitor (set via a config file), …

  7. Changing the default icon in a Windows Forms application

    I need to change the icon in the application I am working on. But simply browsing for other icons from the project property tab -> Application -> Icon, it is not getting the icons stored on the des...

  8. c# - How can I make a .NET Windows Forms application that only runs …

    What do I need to do to make a Windows Forms application to be able to run in the System Tray? Not an application that can be minimized to the tray, but an application that will be only exist in th...

  9. c# - How to communicate with a windows service? - Stack Overflow

    I want to create a windows service that validates data and access it from another windows application, but I'm new to services and I'm not sure how to start. So, while the service is running, a w...

  10. c# - What is the best way to store user settings for a .NET application ...

    I have a .NET 2.0 Windows Forms application. Where is the best place the store user settings (considering Windows guidelines)? Some people pointed to Application.LocalUserAppDataPath. …