C# Tutorial - Drag and Drop controls | FoxLearn

แชร์
ฝัง
  • เผยแพร่เมื่อ 28 ธ.ค. 2024

ความคิดเห็น • 29

  • @GhostFox95
    @GhostFox95 6 ปีที่แล้ว +1

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

  • @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

  • @brainman3905
    @brainman3905 2 ปีที่แล้ว

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

  • @RatedDartz
    @RatedDartz 8 ปีที่แล้ว +5

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

    • @foxlearn
      @foxlearn  8 ปีที่แล้ว +3

      Thank you so much :)

  • @philipm1896
    @philipm1896 8 ปีที่แล้ว +1

    didnt even know this was possible thanks

    • @foxlearn
      @foxlearn  8 ปีที่แล้ว +1

      Thank you :)

  • @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.

  • @AdmiraIity
    @AdmiraIity 8 ปีที่แล้ว +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 8 ปีที่แล้ว

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

    • @foxlearn
      @foxlearn  8 ปีที่แล้ว

      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

  • @scriptz6920
    @scriptz6920 6 ปีที่แล้ว

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

  • @MarcoLopez-sl5qz
    @MarcoLopez-sl5qz 7 ปีที่แล้ว +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

  • @kienhoanginh1281
    @kienhoanginh1281 ปีที่แล้ว

    perfect, thank u

  • @aday0123
    @aday0123 6 ปีที่แล้ว

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

  • @aartibhise7776
    @aartibhise7776 2 ปีที่แล้ว

    nice

  • @shaikashra8443
    @shaikashra8443 7 ปีที่แล้ว

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

  • @suzansuzan2779
    @suzansuzan2779 3 ปีที่แล้ว

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

    • @skidunionlol3622
      @skidunionlol3622 3 ปีที่แล้ว

      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

  • @thedtubeteam7981
    @thedtubeteam7981 หลายเดือนก่อน

    Ok, that's drag, now what about drop?

  • @manuelmartised1991
    @manuelmartised1991 8 ปีที่แล้ว

    friend, you make a meter cpu and ram, please

    • @foxlearn
      @foxlearn  8 ปีที่แล้ว

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

  • @ratneshsinha9567
    @ratneshsinha9567 ปีที่แล้ว

    ye paras gorasiya dimaag kharab karke rakha hai