티스토리 뷰

프로그래밍/C#

C# Tutorial - Drag & Drop controls

뽀로로친구에디 2018. 12. 18. 16:09

C# Tutorial - Drag & Drop controls


namespace DragAndDrop

{

    public partial class Form1 : Form

    {

        public Form1()

        {

            InitializeComponent();

        }


        private void Form1_Load(object sender, EventArgs e)

        {

            ControlExtension.Draggable(button1, true);

            ControlExtension.Draggable(button2, true);

            ControlExtension.Draggable(textBox1, true);

            ControlExtension.Draggable(comboBox1, true);

            ControlExtension.Draggable(checkBox1, true);

        }

    }

}



댓글
최근에 달린 댓글
글 보관함
«   2025/02   »
1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28
Total
Today
Yesterday
    뽀로로친구에디
    최근에 올라온 글