How do you place the MySql components on the wpf toolbox?

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for MySQL
Post Reply
ashlar64
Posts: 75
Joined: Thu 04 May 2006 18:56

How do you place the MySql components on the wpf toolbox?

Post by ashlar64 » Fri 11 Jan 2008 22:04

Hi I just installed the latest version of MyDirect.Net on my computer. The components appear on the toolbox for the normal forms. But when on the wpf toolbox they are not there?

When I right click on the toolbox and Choose Items...I can find them and they have already been checked off.

Any suggestions?

---Dave

ashlar64
Posts: 75
Joined: Thu 04 May 2006 18:56

Post by ashlar64 » Fri 11 Jan 2008 22:39

Right-click on the "*.aspx" file in Solution Explorer and choose "View Designer Component" menu item. (To see "Solution Explorer" press Ctrl+W,S)

I am trying this.....
but I don't see any files that have .aspx in them....

Alexey.mdr
Posts: 729
Joined: Thu 13 Dec 2007 10:24

Post by Alexey.mdr » Mon 14 Jan 2008 14:00

Currently XAML designer does not support WinForms components hosting.
You can use windows form designer instead.

ashlar64
Posts: 75
Joined: Thu 04 May 2006 18:56

Post by ashlar64 » Mon 14 Jan 2008 20:41

Thanks for the response.

I am curious you make it sound like they eventually will? Did you find if they will or not?

Do you eventually plan on Design Time support for your components for WPF?


When you said....
"You can use windows form designer instead."

Do you mean put them on a regular Windows Form and then just Hide the form and then use the components off the hidden form? I am kinda toying with this idea.

Alexey.mdr
Posts: 729
Joined: Thu 13 Dec 2007 10:24

Post by Alexey.mdr » Tue 15 Jan 2008 14:01

Microsoft WPF solution doesn't make emphasis on the application-database interaction.
The design-time features, like in WinForms, are not fully represented in WPF.
Currently we are making a research in this direction.

There is a topic “How to: Bind to an ADO.NET Data Source” in Microsoft documentation, which shows how to bind a ListBox to a DataSet. Following this sample you can do the same with MyDirect .NET. Here is a link for Microsoft Document Explorer:
ms-help://MS.VSCC.v90/MS.MSDNQTR.v90.en/wpf_conceptual/html/a70c6d7b-7b38-4fdf-b655-4804db7c8315.htm

Post Reply