Use the source code to develop WinForms applications.
Utilisez le code source pour développer des applications WinForms.
In a WinForms application, you would be responsible for writing code that could disable user interface elements when the action was not available.
Dans une application WinForms, vous devriez rédiger du code pour désactiver les éléments de l'interface lorsqu'une action n'est pas disponible.
You simply don't get this kind of flexibility out of the standard WinForms controls, which is why there's a big market for rather simple implementations of controls like buttons with images and so on.
Vous n'avez tout simplement pas ce genre de flexibilité en dehors des contrôles WinForms standards, ce qui explique le fait qu'il y ait un grand marché pour des implémentations de contrôles assez simple comme les boutons avec images et autres contrôles semblables.
The drawback to this flexibility is that sometimes you will have to work harder to achieve something that was very easy with WinForms, because it was created for just the scenario you need it for.
L'inconvénient de cette flexibilité est que parfois vous aurez a travailler plus difficilement pour réaliser quelque chose qui serait très facile avec WinForms, parce que ça a été créé pour le cas dont vous avez besoins.
Each of these actions needs to perform what is typically the exact same piece of code, so in a WinForms application, you would have to define an event for each of them and then call a common function.
Chacune de ces actions doit réaliser ce qui se trouve être exactement le même bout de code. Du coup dans une application WinForms, vous devriez définir un événement pour chacune d'elles et ensuite appeler une fonction commune.
Plugin developers will greatly benefit from having the source code for the effects, and for some WinForms UI controls.
Les développeurs de plugins gagnerait grandement à disposer du code source des effets, et de certains commandes relatives à l'interface WinForms.
Canvas A simple panel, which mimics the WinForms way of doing things.
Canvas Un panel assez simple, qui reproduit la façon de faire des WinForms.
For a monolithic project, and the compilation of which results in a user-executed assembly (such as a WinForms application, or WPF), it is possible to make most classes private.
Pour un projet monolithique, et dont la compilation résulte en un assembly exécuté par l'utilisateur (par exemple une application WinForms, ou WPF), il est possible de rendre privées la plupart des classes.
If you have never worked with WinForms before, and especially if WPF is your very first GUI framework, you may skip this chapter, but if you're interested in the differences then read on.
Si vous n'avez jamais travaillé avec WinForms avant, et plus spécifiquement si WPF est votre tout premier framework GUI, vous pouvez sauter ce chapitre, mais si vous êtes intéressés par les différences alors lisez-le.
The following is a completely subjective list of the key advantages for WPF and WinForms.
Ce qui suit est une liste totalement subjective des principaux intérêts de WPF et WinForms.
WinForms (mature, but won't run on Mac, and is not being advanced any further)
WinForms (mature, mais ne passe pas sur Mac, ne beneficie plus d'aucune avancée)
But as I changed the visual platform from WinForms to XAML, I will have to recode.
Mais comme j'ai changé la plate-forme visuelle de WinForms vers XAML, me faudra recoder.
If you have previously worked with the TreeView control in WinForms, you might think of the TreeView control as one that's easy to use but hard to customize.
Si vous avez déjà travaillé avec la vue arborescente dans WinForms, vous pouvez penser que le contrôle de cette vue est facile à utiliser mais difficile à personnaliser.