User Profile

Collapse

Profile Sidebar

Collapse
Traveler33
Traveler33
Last Activity: May 22 '07, 05:29 AM
Joined: May 18 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Traveler33
    started a topic How to detect controls that overlap each other?
    in .NET

    How to detect controls that overlap each other?

    When a custom control moves, how to detect when it encounter or overlap with another control?

    Platform: Windows XP sp2
    Language: C#.net express 2005
    See more | Go to post

  • Traveler33
    replied to Lay a control on a custom control
    in .NET
    I figured out what happened for this matter: Althought I added the TextBox in .Net GUI, it did not automatically add a line of this.controls.a dd(myTextBox); since I don't have a design.cs file. So I have to manually that line of codes.
    However, now I have a new problem: I want the TextBox to be invisible until the user click my custom control.

    I added click event handler for the custom control:

    public class...
    See more | Go to post

    Leave a comment:


  • Traveler33
    started a topic Lay a control on a custom control
    in .NET

    Lay a control on a custom control

    I created a custom control which inherited from the control class, I defined new properties and methods and wrote codes in Onpaint() event. I added this control in my project. Now I can use this in design time as well as run time.
    However,when I added some existing .Net controls such as a TextBox onto my custom control, the TextBox did not show up on the windows form. What else I have to do?

    Platform: Windows XP SP2...
    See more | Go to post
No activity results to display
Show More
Working...