xml with control createinfo
-
Hi Again I found info that uses an xml file to makes controls. [TaskbarItemInfo Class (System.Windows.Shell) | Microsoft Docs](https://docs.microsoft.com/en-us/dotnet/api/system.windows.shell.taskbariteminfo?view=netframework-4.5) However where do i put these files? How do I create them? add > file > xml and change the text. I can do that but how to completly implement those files? I'm working with default windows vb.net applications Jan
-
Hi Again I found info that uses an xml file to makes controls. [TaskbarItemInfo Class (System.Windows.Shell) | Microsoft Docs](https://docs.microsoft.com/en-us/dotnet/api/system.windows.shell.taskbariteminfo?view=netframework-4.5) However where do i put these files? How do I create them? add > file > xml and change the text. I can do that but how to completly implement those files? I'm working with default windows vb.net applications Jan
-
Hi Again I found info that uses an xml file to makes controls. [TaskbarItemInfo Class (System.Windows.Shell) | Microsoft Docs](https://docs.microsoft.com/en-us/dotnet/api/system.windows.shell.taskbariteminfo?view=netframework-4.5) However where do i put these files? How do I create them? add > file > xml and change the text. I can do that but how to completly implement those files? I'm working with default windows vb.net applications Jan
If by "default", you mean a Windows Forms application, the code you found will not work. That is XAML code, which is used in WPF applications and controls.
Asking questions is a skill CodeProject Forum Guidelines Google: C# How to debug code Seriously, go read these articles.
Dave Kreskowiak -
If by "default", you mean a Windows Forms application, the code you found will not work. That is XAML code, which is used in WPF applications and controls.
Asking questions is a skill CodeProject Forum Guidelines Google: C# How to debug code Seriously, go read these articles.
Dave KreskowiakYes I did mean Windows Form Application :) So When I see code like that I can create controls like described in de xaml and take over the code and adapt where needed? Any advances for windows forms over wpf? in any direction? Found already this [Difference between WPF and WinForms - GeeksforGeeks](https://www.geeksforgeeks.org/difference-between-wpf-and-winforms/) Jan
-
Yes I did mean Windows Form Application :) So When I see code like that I can create controls like described in de xaml and take over the code and adapt where needed? Any advances for windows forms over wpf? in any direction? Found already this [Difference between WPF and WinForms - GeeksforGeeks](https://www.geeksforgeeks.org/difference-between-wpf-and-winforms/) Jan
-
Yes I did mean Windows Form Application :) So When I see code like that I can create controls like described in de xaml and take over the code and adapt where needed? Any advances for windows forms over wpf? in any direction? Found already this [Difference between WPF and WinForms - GeeksforGeeks](https://www.geeksforgeeks.org/difference-between-wpf-and-winforms/) Jan
You cannot adapt that code to work in Windows Forms, at all. If there any benefit to using Windows Forms over WPF? Sure, the learning curve for Windows Forms is much easier compared to WPF. The advantage WPF has over Windows Forms is incredible power to create a UI over what is possible in Windows Forms.
Asking questions is a skill CodeProject Forum Guidelines Google: C# How to debug code Seriously, go read these articles.
Dave Kreskowiak -
You cannot adapt that code to work in Windows Forms, at all. If there any benefit to using Windows Forms over WPF? Sure, the learning curve for Windows Forms is much easier compared to WPF. The advantage WPF has over Windows Forms is incredible power to create a UI over what is possible in Windows Forms.
Asking questions is a skill CodeProject Forum Guidelines Google: C# How to debug code Seriously, go read these articles.
Dave Kreskowiak