C# Tutorial - Drag and Drop controls | FoxLearn

Поділитися
Вставка
  • Опубліковано 27 сер 2024
  • Drag and Drop controls at runtime in C# Windows Forms Application. The C# Basics beginner course is a free C# Tutorial Series that helps beginning programmers learn the basics of the C# Programming Language. This is the best way to Learn C# for beginners
    Website: foxlearn.com
    c# - drag and drop winform controls
    c# - Drag and Drop one control to another control in winform
    c# drag and drop controls at runtime
    drag and drop controls in c# windows application
    drag and drop button in c# windows forms
    c# drag and drop files
    c# listbox drag and drop
    c# drag and drop image
    c# listview drag and drop

КОМЕНТАРІ • 28

  • @RatedDartz
    @RatedDartz 7 років тому +5

    Was expecting a more complicated code for this hahahaha Anyway, thanks for the video!

    • @foxlearn
      @foxlearn  7 років тому +3

      Thank you so much :)

  • @TheMurderPig
    @TheMurderPig 6 років тому +1

    Really thx, easy, fast, you made my day almost free xD

  • @philipm1896
    @philipm1896 7 років тому +1

    didnt even know this was possible thanks

  • @SaulHernandez-vh2rw
    @SaulHernandez-vh2rw 4 роки тому +1

    Do you know how to highlight the drop area of one of this controls? So lets say that while I am dragging a button and when I enter my mouse that is grabbing the button, and I enter a panel, that this panel will change colors

  • @scriptz6920
    @scriptz6920 6 років тому

    Omg thank you i tried it with VB it works!!!

  • @goldahong4392
    @goldahong4392 6 років тому

    Thank you for this tutorial! I have a panel control containing a label. When I click the label, the panel control does not move. However, when I click and move the panel control, it moves. I would be very appreciated if you could guide on how to do a workaround for a panel control containing a label.

  • @kienhoanginh1281
    @kienhoanginh1281 Рік тому

    perfect, thank u

  • @brainman3905
    @brainman3905 2 роки тому

    It works when controls are in panel, grid or tablelayoutpanel?

  • @AdmiraIity
    @AdmiraIity 7 років тому +1

    This is awesome and easy to use, thank you soo much!
    But is there any possability to pipe the new position point of my control into one of my own functions, so I can save it into my settings.txt?
    A autosave function into the user.settings would also be an option, though I prefere the first one.

    • @AdmiraIity
      @AdmiraIity 7 років тому

      Never mind I just realized I can simply fetch the position of my image button inside of a _FormClosing() event !

    • @foxlearn
      @foxlearn  7 років тому

      Hi, You need to capture position all your control, you can save to user setting, you can call save method in from_closing event, thanks

  • @MarcoLopez-sl5qz
    @MarcoLopez-sl5qz 6 років тому +1

    Hi, I get the next Error: The name 'ControlExtension' does not exist in the current context Not sure what's wrong.

    • @sathiyaraman-m
      @sathiyaraman-m 6 років тому +1

      Make sure that you have added the following line
      using.ControlExtension;
      Then, you rebuild your project. Have a great day

  • @aartibhise7776
    @aartibhise7776 2 роки тому

    nice

  • @shaikashra8443
    @shaikashra8443 6 років тому

    Nuget packages does not work in my visual studio 2012 ultimate. Doesn't even update

  • @aday0123
    @aday0123 6 років тому

    how to detect when the two controls collide with each other?

  • @suzansuzan2779
    @suzansuzan2779 3 роки тому

    after restarting the program the elements do not stay where I brought them :(

    • @skidunionlol3622
      @skidunionlol3622 2 роки тому

      thats just how basic c# works lol, unless you use php

  • @ardaaydin3213
    @ardaaydin3213 6 років тому

    ıs there a package to make them resizeable?

  • @notd1sky641
    @notd1sky641 3 роки тому

    i cant find the extension :(

    • @foxlearn
      @foxlearn  3 роки тому

      Try to find on nuget

  • @manuelmartised1991
    @manuelmartised1991 7 років тому

    friend, you make a meter cpu and ram, please

    • @foxlearn
      @foxlearn  7 років тому

      Ok. Thank you for your suggestion. I'll make soon

  • @ratneshsinha9567
    @ratneshsinha9567 Рік тому

    ye paras gorasiya dimaag kharab karke rakha hai