How to set TextBox location using WinForms 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(45, 90);
        }
    }
}




/*
run:
 

  
*/

 



answered Jan 6, 2024 by avibootz

Related questions

1 answer 153 views
1 answer 146 views
1 answer 146 views
1 answer 159 views
1 answer 153 views
1 answer 141 views
1 answer 129 views
...