Page 1 of 1

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

Posted: Fri 11 Jan 2008 22:04
by ashlar64
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

Posted: Fri 11 Jan 2008 22:39
by ashlar64
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....

Posted: Mon 14 Jan 2008 14:00
by Alexey.mdr
Currently XAML designer does not support WinForms components hosting.
You can use windows form designer instead.

Posted: Mon 14 Jan 2008 20:41
by ashlar64
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.

Posted: Tue 15 Jan 2008 14:01
by Alexey.mdr
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