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 153 views
2 answers 148 views
148 views asked Sep 26, 2023 by avibootz
1 answer 117 views
117 views asked Aug 1, 2023 by avibootz
1 answer 150 views
1 answer 153 views
153 views asked Aug 26, 2023 by avibootz
2 answers 143 views
1 answer 240 views
...