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

  • Home
  • SEARCH
  • 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 6206299
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T05:25:35+00:00 2026-05-24T05:25:35+00:00

I am developing a clock Timer. It is working fine however I am having

  • 0

I am developing a clock Timer. It is working fine however I am having a issue when the form which is normally small to sit in the corner of the screen out of the way is maximised. Is there a way when it is maximised that I can move the location of the Activity (where all the info is enetered) – I can move that start pause and stop/reset button and I can also move the labels which countdown the time and make them a lot bigger on the maximised display. I have two images – background small and background large which are changing fine on the maximise – I used the code below too hook into the size change event – however the commented out is not working – it does not let be hard code the X,Y co-ordinates of where i would like the activity on maximise…is there something I am missing?

Many Thanks – Colly.

    private void CountDownTimer_SizeChanged(object sender, EventArgs e)
    {
        Image Max = new Bitmap(@"C:\Users\colinmck\Desktop\Timer\CountDownTimer\IgnitionTeamLRG.bmp");
        Image Min = new Bitmap(@"C:\Users\colinmck\Desktop\Timer\CountDownTimer\IgnitionTeamSML.bmp");
        if (WindowState == FormWindowState.Maximized)
        {

            BackgroundImage = Max;
            //Not Working!!!!!!!!!!!!!
            //Activity.Location.X = 60;
            //Activity.Location.Y = 65;


        }
        else
        {
            BackgroundImage = Min;
        }
    }
  • 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-24T05:25:36+00:00Added an answer on May 24, 2026 at 5:25 am

    Location.X and Location.Y are read only properties. You should try…

    Activity.Location = new Point(60, 65);
    

    Perhaps also take a look into the Anchor property for auto resizing of controls: http://www.tutorialized.com/view/tutorial/C-Resizing-controls-with-form-Anchor-property/52689

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

Sidebar

Related Questions

I am developing Android Application. In which i am having list view with text
I am developing Alarm Clock. I want to compare a time now and setTime.
I am working on developing a drupal site right now. I have created a
I am working for a developing firm and am doing a major redesign on
I am developing an iPhone app for some sweet undergrad research I've been working
I am developing an application in which I have to show the selected time
he, i am new to android platform. Now i am developing a small application
I am developing in app where I am using an activity in which I'm
I am having a spot of bother with a code I am developing to
I am developing a app in android .... which need a code snippet to

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.