How to set label location on a form in C#

1 Answer

0 votes
namespace WinFormsApp1
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            label1.Location = new Point(250, 110);
        }
    }
}




/*
 * run:
 *
 *
 * 
 */

 



answered Aug 26, 2023 by avibootz

Related questions

1 answer 143 views
1 answer 151 views
1 answer 147 views
1 answer 273 views
1 answer 143 views
1 answer 129 views
129 views asked Aug 22, 2023 by avibootz
1 answer 115 views
115 views asked Aug 21, 2023 by avibootz
...