Announcement

Collapse
No announcement yet.

Translation

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Translation

    Hello , can someone translate the 4. line in code into vb.net ?

    class MyUserControlDesigner : ControlDesigner {

    public override void Initialize(IComponent comp) {

    base.Initialize(comp);

    MyUserControl uc = (MyUserControl)comp;

    EnableDesignMode(uc.MyChildPanel, “MyChildPanel”);

    }

    }
    Zuletzt editiert von Hans-Joerg.Seiler; 15.06.2008, 21:19.

  • #2
    Hi,

    Try this one:

    Dim MyUserControl uc = CType(comp, MyUserControl)
    *-- robert.oh. --*

    Comment

    Working...
    X