How to change textbox location in C#

1 Answer

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

        private void button1_Click(object sender, EventArgs e)
        {
            textBox1.Location = new Point(300, 200);
        }
    }
}




/*
 * run:
 *
 * 
 */


 



answered Aug 5, 2023 by avibootz

Related questions

1 answer 244 views
2 answers 255 views
255 views asked Sep 26, 2023 by avibootz
1 answer 200 views
200 views asked Aug 1, 2023 by avibootz
1 answer 251 views
1 answer 252 views
252 views asked Aug 26, 2023 by avibootz
2 answers 251 views
1 answer 332 views
...