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 6800545
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T18:58:56+00:00 2026-05-26T18:58:56+00:00

i currently have a form that has several check boxes, once all the boxes

  • 0

i currently have a form that has several check boxes, once all the boxes are checked or left empty, it sends it to the database the state of the check boxes
i want to add, if a box is not checked, when you check it, it should ask for confirmation window “you sure you wanna check this”
any help please?

this is the current code

            public IMeditor(IMui IMui, IMuser U, string User)
    {
        InitializeComponent();
        this.IMui = IMui;
        imu = U;
        if (imu.UID == 0)
        {
            Add.Text = "Add";
            imu.name = user;
        }
        else
            Add.Text = "Update";
        AuthChat.Checked = imu.AuthChat == 1;
        AuthTac1.Checked = imu.AuthTac1 == 1;
        AuthTac2.Checked = imu.AuthTac2 == 1;
        AuthTac3.Checked = imu.AuthTac3 == 1;
        AuthTac4.Checked = imu.AuthTac4 == 1;
        AuthTac5.Checked = imu.AuthTac5 == 1;
        AuthTac6.Checked = imu.AuthTac6 == 1;
        AuthTac7.Checked = imu.AuthTac7 == 1;
        AuthTac8.Checked = imu.AuthTac8 == 1;
        AuthTac9.Checked = imu.AuthTac9 == 1;
        AuthTac10.Checked = imu.AuthTac10 == 1;

        switch (imu.Transport.ToLower()) {
            case "aim":   Transport.SelectedIndex = 0; break;
            case "gtalk": Transport.SelectedIndex = 1; break;
            case "msn":   Transport.SelectedIndex = 2; break;
            case "yahoo": Transport.SelectedIndex = 3; break;
        }
    }
  • 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-05-26T18:58:57+00:00Added an answer on May 26, 2026 at 6:58 pm
    public IMeditor(IMui IMui, IMuser U, string User)
        {
            InitializeComponent();
            this.IMui = IMui;
            imu = U;
            if (imu.UID == 0)
            {
                Add.Text = "Add";
                imu.name = user;
            }
            else
                Add.Text = "Update";
            AuthChat.Checked = imu.AuthChat == 1;
            AuthTac1.Checked = imu.AuthTac1 == 1;
            AuthTac2.Checked = imu.AuthTac2 == 1;
            AuthTac3.Checked = imu.AuthTac3 == 1;
            AuthTac4.Checked = imu.AuthTac4 == 1;
            AuthTac5.Checked = imu.AuthTac5 == 1;
            AuthTac6.Checked = imu.AuthTac6 == 1;
            AuthTac7.Checked = imu.AuthTac7 == 1;
            AuthTac8.Checked = imu.AuthTac8 == 1;
            AuthTac9.Checked = imu.AuthTac9 == 1;
            AuthTac10.Checked = imu.AuthTac10 == 1;
    
            switch (imu.Transport.ToLower()) {
                case "aim":   Transport.SelectedIndex = 0; break;
                case "gtalk": Transport.SelectedIndex = 1; break;
                case "msn":   Transport.SelectedIndex = 2; break;
                case "yahoo": Transport.SelectedIndex = 3; break;
            }
    
             AuthChat.Click += new EventHandler(ClickHandler);
    
    
        }
    
     void ClickHandler(Object obj, EventArgs args)
            { 
    if (obj == AuthChat && AuthChat.CheckState == CheckState.Checked)
                {
                    DialogResult result = MessageBox.Show("Do you want to change?", "are you sure?", MessageBoxButtons.YesNo);        
    
                    if (result == DialogResult.No)
                    {
                        AuthChat.Checked = false;
                    }
                }
            }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I currently have form that checks if a user has unsubmitted changes when they
I currently have a web form aspx page that calls RegisterClientScriptBlock. This sends down
I have a form with a table that has two input boxes, a select
I have a form with several fields that has a jquery autosave function that
I currently have a simple form that when you click the save button will
I currently have a PHP form that uses AJAX to connect to MySQL and
I have a package that has several components in it that would benefit greatly
I have a Struts (1.3x) ActionForm that has several String and boolean properties/fields, but
I have a site that lists several upcoming events, and each event has a
I have a page with a table on it that has several thousand rows

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.