C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Communities   Interview   Jobs   Projects   Offshore Development    
Silverlight Tutorials | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Revenue Sharing |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...

New Feature: Community Sites: Create your own .NET community website and start earning from Google AdSense ! It's Free !




Loading Windows User Control in WPF


Posted Date: 14 Aug 2008      Total Responses: 2

Posted By: Anbarasan       Member Level: Bronze     Points: 1


Hi All,

I am new to WPF. i juz try to load Windows User Control (not WPF User Control)
in my WPF application. I did the assembly referance and imported the namespace and assembly in the xmlns. But i am not able to add the control in the application window.

Thanks in Advance
Anbarasan




Responses

Author: Aravind    19 Aug 2008Member Level: GoldRating:     Points: 3
have you included this namespace in your cs file?
using System.Windows.Forms;

then you may need to use this interface like

public partial class myClassName : UserControl
{
....
....
}



Author: Anbarasan    18 Sep 2008Member Level: BronzeRating:     Points: 2
Hi I have got it. i have loaded controls using Windows.Forms.Integration.ElementHost. Any way thanks for your reply.

Thank You




Post Reply
You must Sign In to post a response.
Next : Removing items from a listbox
Previous : ( Urgent ) C#Code for Camera or Object Zooming in 3D WPF
Return to Discussion Forum
Post New Message
Category: WPF

Related Messages



dotNet Slackers   BizTalk Adaptors    Web Design

doors in nj

Contact Us    Privacy Policy    Terms Of Use