Forum > Coding >

[Question] What's the difference between WinForms and WDF?

Posts: 250

Threads: 111

Joined: Jun, 2018

Reputation: 5

Posted

From what I've heard, I should go for WDF instead of WinForms. However, I don't know what the difference is between the two.

Any information would be helpful such as if the syntax is different or how much easier it is to use.

  • 0

Exploits I own: Synapse, Electron

Scripts I've made: Aimbot GUI, Draco Admin

Scripts I'm working on: More game ESPs

Posts: 124

Threads: 1

Joined: May, 2020

Reputation: 10

Replied

First of all its "WPF" (Windows Presentation Foundation) and not "WDF"

 

Now here's the differences between them

 

- Windows Form :

+ Winforms controls have issues regarding dynamic loading, localization (Different versions for different languages) and their ability to be adjustable for people with disablities (Magnification of the button font)

+ Winforms have no real notion of animations which means in winforms you can use C++ and GDI+ or DirectX directly or use a timer control, etc... The outcome is that with winforms the animations is quite difficult and clunky

+ In Winforms colours and in general, the ability to create custom themes for your Forms / Buttons, etc.. is quite difficult

 

- Windows Presentation Foundation :

+ WPF uses xaml, xaml is bult on top of the WPF API, xaml is an XML type of language and is a familiar paradigm for graphic designers

+ WPF provides a new navigational project type which is navigate back and forth, similar to a browser

+ WPF default layout is flowing, WPF can reshape, resize and reposition controls relative to other controls (Very similar to HTML)

+ Animations in WPF feature Storyboards like timelines

+ Better control and usage of text styles, better printing, silverlight applications

+ With WPF you can scheme an application with the use of styles and templates

 

Regard,

> Rosery Team | Usagi

  • 0

Programmer (noun.)

A machine that turns coffee into code.

OwO What's This

Wabz

Winning.js

Posts: 1956

Threads: 143

Joined: Apr, 2020

Reputation: 27

Replied

@Forgotten_Dev Very biased.

I agree that WPF is much better than Winforms, but winforms has some good points.

 

1. Easy UI making. You spend less time coding the UI and more time coding the program.

2. What is in VS is exactly how the app willl look. In WPF, there might be some slight (sometimes big) differences between how your app looks on VS and how it looks IRL.

3. Better for beginners. It is overral easier to make a functionning app with winforms than WPF. Even though Winforms responsive sucks and that winforms animation sucks, it's way easier because you don't code in XAML. (basically point 1)

  • 0

My new discord is Wabz#1337 with ID 777154062789509130

davidTube

not inactive

noticed

Posts: 1628

Threads: 83

Joined: Dec, 2018

Reputation: 54

Replied

@Wabz for me wpf is easier than winforms lol

  • 0

Added

  • 0

Posts: 124

Threads: 1

Joined: May, 2020

Reputation: 10

Replied

@Wabz Wrong, i'm just listing what both of them can do there and of course it's easier for beginners

 

I don't really use WPF for RE

  • 0

Programmer (noun.)

A machine that turns coffee into code.

OwO What's This

Hectique

Hectique

Posts: 1076

Threads: 155

Joined: Nov, 2019

Reputation: 14

Replied

@davidTube Evil post count OWO

  • 0

a former active and known member of the WRD community, but im kinda just a meme now

Users viewing this thread:

( Members: 0, Guests: 1, Total: 1 )