Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8259795
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T02:56:43+00:00 2026-06-08T02:56:43+00:00

My program is designed to change and save user settings. The program consists of

  • 0

My program is designed to change and save user settings. The program consists of many usercontrols. I need to show message to the user to save the settings before closing the application when it was produced at least one unsaved changing.
There are too many controls and it will be inefficiently to define an event for each control.I don’t sure that it is only one way to solve my problem. Any advice please..

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T02:56:45+00:00Added an answer on June 8, 2026 at 2:56 am

    There aren’t really any options that can do what you are asking. If your controls are bound to an object, you can use the object to see if it has any changes, assuming the object implements INotifyPropertyChanged.

    Another method would be be programatically add a handler (for the “changing” event such as TextChanged for a TextBox) to each control that maps to a single sub that sets a flag.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have rewritten an old program and designed a new database for it. I
Is there a well-designed method that can run my ruby program from anywhere? I
I'm designing a WPF program that will use a DLL-plugin architecture. The host application
I have a program in java with several Jpanels designed; with certain font and
I have an application that I've developed in .NET 4.0/C#. It's designed to be
I have a program designed in VB.net for a wafer probing system. The software
I am working on a program in Java designed to be used on a
Hi so I'm working on a program that is designed to take a set
I have a program designed as an MVC-pattern, where my model extends AbstractListModel. When
I have a program in C++ that is designed to run a simulation for

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.